diff --git a/src/assets/Images/hero.png b/src/assets/Images/hero.png deleted file mode 100644 index f54151f..0000000 Binary files a/src/assets/Images/hero.png and /dev/null differ diff --git a/src/components/TaskModal/TaskModal.jsx b/src/components/TaskModal/TaskModal.jsx deleted file mode 100644 index 4d7a6da..0000000 --- a/src/components/TaskModal/TaskModal.jsx +++ /dev/null @@ -1,47 +0,0 @@ -import React from "react"; -import { Modal, Button } from "react-bootstrap"; -import { Link } from "react-router-dom"; -import Tags from "../Tags/Tags"; -import "./taskmodal.css"; - -const TaskModal = ({ show, handleClose, taskData, handleTaskDelete }) => { - const { status, task, due_date, tags, description, id } = taskData; - const options = { year: "numeric", month: "long", day: "numeric" }; - let taskDate = due_date.split("-"); - return ( - - - -
-

Status

-

{status === 1 ? "Completed" : "Pending"}

-
-
-

{task}

-
-
-

DUE DATE

-

{new Date(taskDate[0], taskDate[1], taskDate[2]).toLocaleDateString("en-US", options)}

-
-
-

LABELS

- {tags.length === 0 ?

None

: } -
-
-

Details

-

{description ? description : "None"}

-
-
- - Edit - - -
-
-
- ); -}; - -export default TaskModal; diff --git a/src/components/TaskModal/taskmodal.css b/src/components/TaskModal/taskmodal.css deleted file mode 100644 index 35c1831..0000000 --- a/src/components/TaskModal/taskmodal.css +++ /dev/null @@ -1,47 +0,0 @@ -.task-modal .task-item-tags { - margin-left: 0; -} - -.task-modal-title { - margin: var(--tl-spacing-md) 0; -} - -.task-modal-sub-heading { - color: #878a9e; - text-transform: uppercase; - font-weight: 600; - margin-bottom: var(--tl-spacing-xs); - font-size: 0.8rem; -} - -.task-modal-due-date p { - font-weight: 600; -} - -.task-modal-status .task-label { - width: 20%; -} - -.task-modal-spacing { - margin: var(--tl-spacing-md) 0; -} - -.task-modal-heading { - font-size: var(--tl-spacing-xl); - font-weight: 600; - margin-bottom: 0.8rem; -} - -.task-modal .task-label { - margin-bottom: 0; -} - -.task-modal-btn-container { - display: flex; - justify-content: space-between; - gap: var(--tl-spacing-md); -} - -.task-modal-link { - width: 50%; -} \ No newline at end of file