From d94fcd61427200d3f5adcfa530a873fa6af530c6 Mon Sep 17 00:00:00 2001 From: Leslie Yip Date: Mon, 4 Mar 2024 00:39:44 +0800 Subject: [PATCH 1/2] KAN-20 Fix link button bug --- src/pages/home/index.css | 2 +- src/pages/home/index.tsx | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pages/home/index.css b/src/pages/home/index.css index 8224c5d..901c861 100644 --- a/src/pages/home/index.css +++ b/src/pages/home/index.css @@ -54,7 +54,7 @@ section { ; } -.section-description>button { +.section-description>*>button { @apply mt-4 px-6 diff --git a/src/pages/home/index.tsx b/src/pages/home/index.tsx index 3e9fec5..4630dfc 100644 --- a/src/pages/home/index.tsx +++ b/src/pages/home/index.tsx @@ -29,9 +29,9 @@ function Home() { There's always something new to look forward to. Keep an eye out for the latest Computing Club events!

- + + + @@ -45,9 +45,9 @@ function Home() { Set yourself up for academic success with our study planner!

- + + + From 58dcddee87c5cf8bf0c646c7eb9f2a4122a7b12f Mon Sep 17 00:00:00 2001 From: Leslie Yip Date: Mon, 4 Mar 2024 00:40:00 +0800 Subject: [PATCH 2/2] KAN-20 Add missing links --- src/layout/NavigationMenu.tsx | 2 +- src/pages/resources/index.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/layout/NavigationMenu.tsx b/src/layout/NavigationMenu.tsx index d5ced90..c93ed3f 100644 --- a/src/layout/NavigationMenu.tsx +++ b/src/layout/NavigationMenu.tsx @@ -11,7 +11,7 @@ function NavigationMenu() { 'About': '/about', 'Events': '/events', 'Resources': '/resources', - 'Photos': '/photos', + 'Photos': 'https://www.flickr.com/photos/137141057@N04/albums/', }; return ( diff --git a/src/pages/resources/index.tsx b/src/pages/resources/index.tsx index 1c3db41..9247c31 100644 --- a/src/pages/resources/index.tsx +++ b/src/pages/resources/index.tsx @@ -68,8 +68,8 @@ function Resources() { link='https://nusfastpay.nus.edu.sg/ccmerch/menu' >