From 6b15049b0b9f154b04223e6349a1fff5043a591f Mon Sep 17 00:00:00 2001 From: Rosemary Ai Date: Sat, 4 Oct 2025 14:31:17 +1000 Subject: [PATCH 1/2] Move events and publications sections to top of home page --- pages/index.tsx | 84 ++++++++++++++++---------------- styles/Home.module.css | 4 +- styles/HomeEventsCard.module.css | 2 +- 3 files changed, 45 insertions(+), 45 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index 512d2d9..003e7ce 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -109,48 +109,6 @@ const Home = ({ {/* End of Description */} - {/* Start of Quotes */} -
-

HEAR FROM US

-
- -
-
- {/* End of Quotes */} - {/* Start of Statistics */} -
- banner -
-
-
- 74 -

Team Members

-
-
- 32 -

Sponsors

-
-
- 3507 -

Facebook Followers

-
-
-
-
- {/* End of Statistics */} {/* Start of What we've been up to */}
{/* End of Publications */} + {/* Start of Statistics */} +
+ banner +
+
+
+ 74 +

Team Members

+
+
+ 32 +

Sponsors

+
+
+ 3507 +

Facebook Followers

+
+
+
+
+ {/* End of Statistics */} + {/* Start of Quotes */} +
+

HEAR FROM US

+
+ +
+
+ {/* End of Quotes */} {/* Start of Sponsors & Affliations */}
Date: Mon, 6 Oct 2025 21:02:12 +1100 Subject: [PATCH 2/2] add style for dark mode --- styles/Home.module.css | 13 ++++++++----- styles/HomeEventsCard.module.css | 7 +++++++ 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/styles/Home.module.css b/styles/Home.module.css index de82050..d30311b 100644 --- a/styles/Home.module.css +++ b/styles/Home.module.css @@ -625,13 +625,9 @@ div .headline { /*---Dark mode---*/ @media (prefers-color-scheme: dark) { - .publications { - background-color: #323235; - } - .pubBtn { border: 1.5px solid var(--red); - background-color: #323235; + background-color: #202124; } .pubBtn:hover { @@ -676,6 +672,13 @@ div .headline { margin: 0 auto; } +/*---Dark mode---*/ +@media (prefers-color-scheme: dark) { + .beenUpTo { + background-color: #323235; + } +} + /*-----------------------------Responsive Mobile Design--------------------------*/ @media only screen and (max-width: 1200px) { .number { diff --git a/styles/HomeEventsCard.module.css b/styles/HomeEventsCard.module.css index a0ff297..c479cd5 100644 --- a/styles/HomeEventsCard.module.css +++ b/styles/HomeEventsCard.module.css @@ -83,6 +83,13 @@ background-color: #D64745; } +/*---Dark mode---*/ +@media (prefers-color-scheme: dark) { + .card { + background-color: #ccc; + } +} + /* ------------ Responsive mobile design ------------ */ @media only screen and (max-width: 850px) { .card {