Skip to content

Commit

Permalink
add screenshot to list.jsx and adding explaination for new user how t…
Browse files Browse the repository at this point in the history
…o add an item
  • Loading branch information
BikeMouse committed Feb 28, 2024
1 parent 6d43ebf commit 2fd2299
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Binary file added src/pictures/addFirstItem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 8 additions & 2 deletions src/views/List.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import SearchList from '../components/SearchList';
import { useParams, useNavigate } from 'react-router-dom';
import './List.css';
import addItem from '../../public/img/AddItem.gif';
import addFirstItem from '../pictures/addFirstItem.png';

export function List({ data, lists }) {
const [newList, setNewList] = useState([]);
Expand All @@ -24,9 +25,14 @@ export function List({ data, lists }) {
<p>Well done! You have created your very first list!</p>
<p>
You can now add some items and specify when you need to purchase
them.
them. In the box for "Add item" you put the item you need to
purchase and then select how soon you need it on "When do I need it"
</p>
<img className="addItemGif" src={addItem} alt="add item example" />
<img
className="addItemPNG"
src={addFirstItem}
alt="add item example"
/>

<button id="addFirstItem" onClick={() => navigate('/manage-list')}>
Start adding items!
Expand Down

0 comments on commit 2fd2299

Please sign in to comment.