From 576d2d4aff0bdae65a30d7b103b342f1e59f0e9b Mon Sep 17 00:00:00 2001 From: Filip Niklas <118931755+Firgrep@users.noreply.github.com> Date: Tue, 23 Jul 2024 09:46:18 +0200 Subject: [PATCH] fix: link to symposia --- src/components/Footer.tsx | 156 +++++++++++++++++++++++++------------- src/pages/_meta.json | 2 +- 2 files changed, 103 insertions(+), 55 deletions(-) diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 90b06e5a..97e633ac 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -7,7 +7,8 @@ import LogoOwl from "./LogoOwl"; import { clearCookies } from "@/util/clearCookies"; import Button from "@/components/Button"; -const footerLinkClasses = "text-sm text-gray-600 dark:text-gray-400 no-underline hover:text-gray-800 hover:dark:text-gray-200 transition"; +const footerLinkClasses = + "text-sm text-gray-600 dark:text-gray-400 no-underline hover:text-gray-800 hover:dark:text-gray-200 transition"; function FooterLink({ href, children }: { href: string; children: ReactNode }) { if (href.startsWith("http")) { @@ -31,7 +32,7 @@ function FooterHeader({ children }: { children: ReactNode }) { const navigation = { general: [ { name: "Blog", href: "/blog" }, - { name: "Symposia", href: "/" }, + { name: "Symposia", href: "https://symposia.systemphil.com" }, { name: "Acknowledgements", href: "/acknowledgements" }, ], hegel: [ @@ -43,37 +44,40 @@ const navigation = { { name: "Reference", href: "/kant/reference" }, ], company: [ - { name: "Team", href: "/team"}, + { name: "Team", href: "/team" }, { name: "Contributing", href: "/contributing" }, - { name: "Methodology", href: "/contributing/methodology", }, - { name: "Code of Conduct", href: `/contributing/code-of-conduct`, }, + { name: "Methodology", href: "/contributing/methodology" }, + { name: "Code of Conduct", href: `/contributing/code-of-conduct` }, ], legal: [ { name: "Privacy Policy", href: "/privacy" }, { name: "Terms of Use", href: "/terms" }, ], support: [ - { name: "GitHub ↗", href: "https://github.com/systemphil/", }, + { name: "GitHub ↗", href: "https://github.com/systemphil/" }, { name: "YouTube ↗", href: "https://www.youtube.com/@systemphil" }, ], }; function FooterContent() { - const handleClearCookies = () => { clearCookies(); - const dialog = document.getElementById("cookie-dialog") as HTMLDialogElement; + const dialog = document.getElementById( + "cookie-dialog" + ) as HTMLDialogElement; if (dialog) { dialog.show(); } - } + }; const handleCloseDialog = () => { - const dialog = document.getElementById("cookie-dialog") as HTMLDialogElement; + const dialog = document.getElementById( + "cookie-dialog" + ) as HTMLDialogElement; if (dialog) { dialog.close(); } - } + }; return (
- © {new Date().getFullYear()} Eru Iluvatar, Ltd. All rights reserved. + © {new Date().getFullYear()} Eru Iluvatar, Ltd. + All rights reserved.