From ceaaf4203b8e5572bf36d6ee6d92a4c43d513fc9 Mon Sep 17 00:00:00 2001 From: Avent Chiu Date: Thu, 2 Nov 2023 11:50:44 -0700 Subject: [PATCH] Update links and meta tags --- assets/faq.json | 8 -------- src/components/events/events.js | 2 +- src/components/faq/faq.js | 15 +++++++++++++++ src/components/footer.js | 6 +++--- src/pages/_app.js | 13 +++++++++++++ src/styles/components/Faq.module.css | 5 +++++ src/styles/globals.css | 4 ++++ 7 files changed, 41 insertions(+), 12 deletions(-) diff --git a/assets/faq.json b/assets/faq.json index 5d0f2e6..3ef1142 100644 --- a/assets/faq.json +++ b/assets/faq.json @@ -14,13 +14,5 @@ { "title": "What if I lack web dev experience?", "content": "Many ICS clubs will be hosting workshops throughout the week to assist participants get started with web development." - }, - { - "title": "What are the rules?", - "content": "Please refer to the WebJam Rules and Code of Conduct for more information." - }, - { - "title": "My question isn't here!", - "content": "Unanswered question? Email us at icssc@uci.edu." } ] \ No newline at end of file diff --git a/src/components/events/events.js b/src/components/events/events.js index d585def..ff495f7 100644 --- a/src/components/events/events.js +++ b/src/components/events/events.js @@ -80,7 +80,7 @@ export default function EventsSection() { {event.title}
- {`${event.time} • ${event.club && event.club + "• " } ${event.location}`} + {`${event.time} • ${event.club && event.club + " • " } ${event.location}`}
diff --git a/src/components/faq/faq.js b/src/components/faq/faq.js index e9be445..7adf880 100644 --- a/src/components/faq/faq.js +++ b/src/components/faq/faq.js @@ -20,6 +20,21 @@ export default function FAQSection() {
FAQ
{faq_data.map((element, index) => )} + {/* Hardcoding some FAQ tabs to include clickable URLs */} +
+ + +
+

Please refer to the WebJam Rules and Code of Conduct for more information.

+
+
+
+ + +
+

Unanswered question? Email us at icssc@uci.edu.

+
+
) diff --git a/src/components/footer.js b/src/components/footer.js index 1c68c83..263c31e 100644 --- a/src/components/footer.js +++ b/src/components/footer.js @@ -16,17 +16,17 @@ const MEDIA_LINKS = [ }, { id: 2, - link: "https://www.facebook.com/ICSStudentCouncil/", + link: "https://www.instagram.com/icssc.uci/", icon: , }, { id: 3, - link: "https://www.facebook.com/ICSStudentCouncil/", + link: "https://discord.gg/c4t5dGcM9S", icon: , }, { id: 4, - link: "https://www.facebook.com/ICSStudentCouncil/", + link: "https://github.com/icssc", icon: , }, { diff --git a/src/pages/_app.js b/src/pages/_app.js index cf01e4c..4b18508 100644 --- a/src/pages/_app.js +++ b/src/pages/_app.js @@ -8,8 +8,21 @@ export default function MyApp({ Component, pageProps }) { return ( <> + + + WebJam 2023 + + {/* Open Graph and Twitter Card Meta Tags for Social Sharing */} + + + + + + + + diff --git a/src/styles/components/Faq.module.css b/src/styles/components/Faq.module.css index 907bb5f..c2ecd56 100644 --- a/src/styles/components/Faq.module.css +++ b/src/styles/components/Faq.module.css @@ -58,6 +58,11 @@ https://codepen.io/raubaca/pen/PZzpVe background-color: aliceblue; } + +.tab__content a { + text-decoration: underline; +} + .tab__close { justify-content: flex-end; padding: 0.5rem 1rem; diff --git a/src/styles/globals.css b/src/styles/globals.css index ac0aa80..439d47b 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -34,4 +34,8 @@ main { background: #F0FC97; position: relative; z-index: 10; +} + +#footer { + margin-top: 0px; } \ No newline at end of file