diff --git a/bun.lock b/bun.lock
index 6933eb2..4cd02f5 100644
--- a/bun.lock
+++ b/bun.lock
@@ -8,6 +8,7 @@
"@astrojs/react": "^4.2.0",
"@astrojs/tailwind": "5.1.4",
"@iconify-json/heroicons": "^1.2.2",
+ "@iconify/react": "^5.2.0",
"@types/highlight.js": "^10.1.0",
"@types/js-yaml": "^4.0.9",
"@types/react": "^19.0.8",
@@ -165,6 +166,8 @@
"@iconify-json/heroicons": ["@iconify-json/heroicons@1.2.2", "", { "dependencies": { "@iconify/types": "*" } }, "sha512-qoW4pXr5kTTL6juEjgTs83OJIwpePu7q1tdtKVEdj+i0zyyVHgg/dd9grsXJQnpTpBt6/VwNjrXBvFjRsKPENg=="],
+ "@iconify/react": ["@iconify/react@5.2.0", "", { "dependencies": { "@iconify/types": "^2.0.0" }, "peerDependencies": { "react": ">=16" } }, "sha512-7Sdjrqq3fkkQNks9SY3adGC37NQTHsBJL2PRKlQd455PoDi9s+Es9AUTY+vGLFOYs5yO9w9yCE42pmxCwG26WA=="],
+
"@iconify/tools": ["@iconify/tools@4.0.7", "", { "dependencies": { "@iconify/types": "^2.0.0", "@iconify/utils": "^2.1.32", "@types/tar": "^6.1.13", "axios": "^1.7.7", "cheerio": "1.0.0", "domhandler": "^5.0.3", "extract-zip": "^2.0.1", "local-pkg": "^0.5.0", "pathe": "^1.1.2", "svgo": "^3.3.2", "tar": "^6.2.1" } }, "sha512-zOJxKIfZn96ZRGGvIWzDRLD9vb2CsxjcLuM+QIdvwWbv6SWhm49gECzUnd4d2P0sq9sfodT7yCNobWK8nvavxQ=="],
"@iconify/types": ["@iconify/types@2.0.0", "", {}, "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg=="],
diff --git a/package.json b/package.json
index 8b308ff..8514762 100644
--- a/package.json
+++ b/package.json
@@ -15,6 +15,7 @@
"@astrojs/react": "^4.2.0",
"@astrojs/tailwind": "5.1.4",
"@iconify-json/heroicons": "^1.2.2",
+ "@iconify/react": "^5.2.0",
"@types/highlight.js": "^10.1.0",
"@types/js-yaml": "^4.0.9",
"@types/react": "^19.0.8",
diff --git a/src/components/dashboard/EventsSection/EventCheckIn.tsx b/src/components/dashboard/EventsSection/EventCheckIn.tsx
index c323a09..77d2217 100644
--- a/src/components/dashboard/EventsSection/EventCheckIn.tsx
+++ b/src/components/dashboard/EventsSection/EventCheckIn.tsx
@@ -3,6 +3,7 @@ import { Get } from "../../../scripts/pocketbase/Get";
import { Authentication } from "../../../scripts/pocketbase/Authentication";
import { Update } from "../../../scripts/pocketbase/Update";
import { SendLog } from "../../../scripts/pocketbase/SendLog";
+import { Icon } from "@iconify/react";
interface Event {
id: string;
@@ -65,12 +66,12 @@ const createToast = (
toast.innerHTML = `
- ${type === "success"
- ? '
'
+
'
- : ''
- }
+ ? "mdi:alert-circle-outline"
+ : "mdi:alert-outline"
+ }">
${message}
diff --git a/src/components/dashboard/Officer_EventManagement/Attendees.tsx b/src/components/dashboard/Officer_EventManagement/Attendees.tsx
index 1b436d3..4be3b4c 100644
--- a/src/components/dashboard/Officer_EventManagement/Attendees.tsx
+++ b/src/components/dashboard/Officer_EventManagement/Attendees.tsx
@@ -2,6 +2,7 @@ import { useEffect, useState, useMemo, useCallback } from 'react';
import { Get } from '../../../scripts/pocketbase/Get';
import { Authentication } from '../../../scripts/pocketbase/Authentication';
import { SendLog } from '../../../scripts/pocketbase/SendLog';
+import { Icon } from "@iconify/react";
// Cache for storing user data
const userCache = new Map
-
+
{error}
);
@@ -393,9 +392,7 @@ export default function Attendees() {
if (!attendeesList || attendeesList.length === 0) {
return (
);
@@ -409,9 +406,7 @@ export default function Attendees() {
diff --git a/src/components/dashboard/Officer_EventManagement/EventEditor.tsx b/src/components/dashboard/Officer_EventManagement/EventEditor.tsx
index 1c0340d..37d7301 100644
--- a/src/components/dashboard/Officer_EventManagement/EventEditor.tsx
+++ b/src/components/dashboard/Officer_EventManagement/EventEditor.tsx
@@ -1,4 +1,5 @@
import React, { useState, useEffect, useCallback, useMemo, memo } from "react";
+import { Icon } from "@iconify/react";
import { Get } from "../../../scripts/pocketbase/Get";
import { Authentication } from "../../../scripts/pocketbase/Authentication";
import { Update } from "../../../scripts/pocketbase/Update";
@@ -239,9 +240,7 @@ const EventForm = memo(({
setSelectedFiles(updatedFiles);
}}
>
-
+
@@ -267,10 +266,7 @@ const EventForm = memo(({
}
}}
>
-
+
{filesToDelete.has(filename) ? (
@@ -283,7 +279,7 @@ const EventForm = memo(({
setFilesToDelete(newFilesToDelete);
}}
>
- Undo
+
) : (
)}
@@ -510,9 +504,7 @@ const LoadingSpinner = memo(() => (
const ErrorDisplay = memo(({ error, onRetry }: { error: string; onRetry: () => void }) => (
{error}
@@ -342,9 +341,7 @@ export default function FilePreview({ url: initialUrl = '', filename: initialFil
onClick={handleDownload}
className="btn btn-sm btn-ghost gap-2 whitespace-nowrap"
>
-
+
Download
@@ -375,9 +372,7 @@ export default function FilePreview({ url: initialUrl = '', filename: initialFil
onClick={handleDownload}
className="btn btn-sm btn-ghost gap-2 whitespace-nowrap"
>
-
+
Download
@@ -422,9 +417,7 @@ export default function FilePreview({ url: initialUrl = '', filename: initialFil
onClick={handleDownload}
className="btn btn-sm btn-ghost gap-2 whitespace-nowrap"
>
-
+
Download
@@ -451,9 +444,7 @@ export default function FilePreview({ url: initialUrl = '', filename: initialFil
{error && (
Preview Unavailable
@@ -463,9 +454,7 @@ export default function FilePreview({ url: initialUrl = '', filename: initialFil
onClick={handleDownload}
className="btn btn-warning btn-sm gap-2 mt-4"
>
-
+
Download File Instead
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index b7c940b..0418365 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -6,23 +6,26 @@ import InView from "../components/core/InView.astro";
-
-
-
-
-
-
IEEEUCSD
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
IEEEUCSD
+
+
+
+
+
+
+
+
+
+
+
+