diff --git a/src/components/Message.tsx b/src/components/Message.tsx index 39ccf7e..291d09a 100644 --- a/src/components/Message.tsx +++ b/src/components/Message.tsx @@ -1,7 +1,7 @@ import axios from "axios"; import { useCallback, useEffect, useState } from "react"; import { usePathname } from "next/navigation"; -import { XMarkIcon } from "@heroicons/react/24/outline"; +import { ArrowRightIcon, XMarkIcon } from "@heroicons/react/24/outline"; const MessageType: { [key in MessageType]: { @@ -85,22 +85,7 @@ export default function Message() { href={message?.redirectUrl} className="mt-2 md:mt-0 inline-flex ml-3 items-center justify-center px-3 py-2 me-2 text-xs font-medium text-white rounded-lg bg-[#321c21] hover:bg-[#480e0c] focus:ring-4 focus:ring-red-300 dark:hover:bg-red-500 dark:bg-red-400 transition-all focus:outline-none dark:focus:ring-red-800" > - Przejdź{" "} - + Przejdź )} diff --git a/src/components/Substitutions/Content.tsx b/src/components/Substitutions/Content.tsx index e47bdc5..f946280 100644 --- a/src/components/Substitutions/Content.tsx +++ b/src/components/Substitutions/Content.tsx @@ -1,3 +1,9 @@ +import { + CheckIcon, + ClipboardIcon, + FunnelIcon, + XMarkIcon, +} from "@heroicons/react/24/outline"; import Link from "next/link"; import { useRouter } from "next/router"; import React, { useEffect, useState } from "react"; @@ -71,49 +77,16 @@ function Content({ props, checkedTeachers, checkedBranches }) { {(filtersTeachers?.length > 0 || filtersBranches?.length > 0) && ( <> - - - +

Filtry:

@@ -130,20 +103,7 @@ function Content({ props, checkedTeachers, checkedBranches }) { className="cursor-pointer justify-center inline-flex items-center transition-all px-2 py-1 mr-2 text-sm font-medium text-red-800 bg-red-100 rounded dark:bg-blue-100 dark:text-blue-800 " > Wyczyść filtry - - - + {Object.entries({ ...checkedTeachers, diff --git a/src/components/Substitutions/DropdownBranch.tsx b/src/components/Substitutions/DropdownBranch.tsx index 9950893..88b807a 100644 --- a/src/components/Substitutions/DropdownBranch.tsx +++ b/src/components/Substitutions/DropdownBranch.tsx @@ -2,6 +2,7 @@ import { useRouter } from "next/router"; import React, { useEffect, useState } from "react"; import { getQueryItems } from "@/utils/getQueryItems"; import { handleCheckboxChange } from "@/utils/handleCheckboxChange"; +import { XMarkIcon } from "@heroicons/react/24/outline"; function DropdownBranch({ props, onCheckboxChangeBranch }) { const [searchBranch, setSearchBranch] = useState(""); @@ -33,19 +34,7 @@ function DropdownBranch({ props, onCheckboxChangeBranch }) {
- +
- +
( + +); function Jumbotron({ props }) { return ( @@ -10,7 +52,7 @@ function Jumbotron({ props }) { {props?.form?.tables?.length > 0 && ( <> - - + {buttons.map((button) => ( + + ))} )}