#abcd
diff --git a/Client/reasn-client/packages/ui/src/components/main/QuickFilters.tsx b/Client/reasn-client/packages/ui/src/components/main/QuickFilters.tsx
new file mode 100644
index 00000000..dca663a0
--- /dev/null
+++ b/Client/reasn-client/packages/ui/src/components/main/QuickFilters.tsx
@@ -0,0 +1,96 @@
+import clsx from "clsx";
+import React, { useState } from "react";
+import { Card, CardVariant } from "../Card";
+
+interface QuickFiltersButtonProps {
+ title: string;
+ selected?: boolean;
+ onClick: () => void;
+}
+
+export const QuickFilters = () => {
+ const [selectedFilter, setSelectedFilter] = useState("Today");
+
+ return (
+
+
+ setSelectedFilter("Today")}
+ selected={selectedFilter === "Today"}
+ />
+ setSelectedFilter("Tommorow")}
+ selected={selectedFilter === "Tommorow"}
+ />
+ setSelectedFilter("In Progress")}
+ selected={selectedFilter === "In Progress"}
+ />
+ setSelectedFilter("This Week")}
+ selected={selectedFilter === "This Week"}
+ />
+ setSelectedFilter("Wro")}
+ selected={selectedFilter === "Wro"}
+ />
+ setSelectedFilter("Krk")}
+ selected={selectedFilter === "Krk"}
+ />
+ setSelectedFilter("Remote")}
+ selected={selectedFilter === "Remote"}
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+};
+
+export const QuickFilterButton = (props: QuickFiltersButtonProps) => {
+ const { title, onClick, selected } = props;
+ return (
+
+
+
+ );
+};
diff --git a/Client/reasn-client/packages/ui/src/index.tsx b/Client/reasn-client/packages/ui/src/index.tsx
index 59314924..01ce4111 100644
--- a/Client/reasn-client/packages/ui/src/index.tsx
+++ b/Client/reasn-client/packages/ui/src/index.tsx
@@ -1,3 +1,4 @@
export { Button, type ButtonProps } from "./button";
export { Card, type CardProps, CardVariant } from "./components/Card";
export { HeroSection } from "./components/main/HeroSection";
+export { QuickFilters } from "./components/main/QuickFilters";
diff --git a/Client/reasn-client/yarn.lock b/Client/reasn-client/yarn.lock
index 7a051d7d..78c8ffd3 100644
--- a/Client/reasn-client/yarn.lock
+++ b/Client/reasn-client/yarn.lock
@@ -6776,6 +6776,13 @@ __metadata:
languageName: node
linkType: hard
+"clsx@npm:^2.1.1":
+ version: 2.1.1
+ resolution: "clsx@npm:2.1.1"
+ checksum: 10c0/c4c8eb865f8c82baab07e71bfa8897c73454881c4f99d6bc81585aecd7c441746c1399d08363dc096c550cceaf97bd4ce1e8854e1771e9998d9f94c4fe075839
+ languageName: node
+ linkType: hard
+
"co@npm:^4.6.0":
version: 4.6.0
resolution: "co@npm:4.6.0"
@@ -14749,6 +14756,7 @@ __metadata:
"@types/jest": "npm:^29.5.12"
"@types/node": "npm:^20.12.11"
autoprefixer: "npm:^10.4.19"
+ clsx: "npm:^2.1.1"
husky: "npm:^9.0.11"
jest: "npm:^29.7.0"
jest-fetch-mock: "npm:^3.0.3"
diff --git a/Server/ReasnAPI/ReasnAPI/Models/Enums/UserRole.cs b/Server/ReasnAPI/ReasnAPI/Models/Enums/UserRole.cs
index 5967afa9..edb13736 100644
--- a/Server/ReasnAPI/ReasnAPI/Models/Enums/UserRole.cs
+++ b/Server/ReasnAPI/ReasnAPI/Models/Enums/UserRole.cs
@@ -9,7 +9,7 @@ public enum UserRole
[PgName("Organizer")]
Organizer,
-
+
[PgName("Admin")]
Admin
}
\ No newline at end of file