diff --git a/src/components/AddItem.jsx b/src/components/AddItem.jsx index f53c307..3b90bca 100644 --- a/src/components/AddItem.jsx +++ b/src/components/AddItem.jsx @@ -68,56 +68,46 @@ export function AddItem({ data, listPath }) { }; return ( -
-
+
+ {/* Item Name Section */} -
- - - - +
+ +
{/* Urgency Section */} -
- - - - +
+ +
- diff --git a/src/components/AddList.jsx b/src/components/AddList.jsx index 9002093..2dbfdee 100644 --- a/src/components/AddList.jsx +++ b/src/components/AddList.jsx @@ -24,27 +24,26 @@ export function AddList({ setListPath, userId, userEmail }) { }; return ( - <> - - - setListName(e.target.value)} - placeholder="Enter the name of your new list" - required - /> - - +
); } diff --git a/src/components/ListItem.css b/src/components/ListItem.css deleted file mode 100644 index 53a71f6..0000000 --- a/src/components/ListItem.css +++ /dev/null @@ -1,14 +0,0 @@ -.list-item { - background-color: #ffe5cf; - border: 2px solid #e5e7eb; - border-color: #ff885b; - margin: 5px; - transition: - background-color 0.3s, - box-shadow 0.3s; -} - -.list-item:hover { - background-color: #ff885b; - box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); -} diff --git a/src/components/ListItem.jsx b/src/components/ListItem.jsx index 8581c8f..36cf259 100644 --- a/src/components/ListItem.jsx +++ b/src/components/ListItem.jsx @@ -1,5 +1,4 @@ import { useState, useEffect } from 'react'; -import './ListItem.css'; import { FaTrashCan, FaCartShopping } from 'react-icons/fa6'; export function ListItem({ @@ -42,24 +41,27 @@ export function ListItem({ }; return ( -
+
-