From e8d24bb48c414f31608b0e9116cc5ec78570174d Mon Sep 17 00:00:00 2001
From: Chom <112128328+tomasohCHOM@users.noreply.github.com>
Date: Tue, 17 Sep 2024 17:06:48 -0700
Subject: [PATCH] Responsive website :)
---
src/components/Navbar.astro | 14 ++++++++++++--
src/layouts/Layout.astro | 2 +-
src/pages/index.astro | 26 +++++++++++++++++++++++---
src/pages/sp24.astro | 3 +--
4 files changed, 37 insertions(+), 8 deletions(-)
diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro
index 9b828bb..e608b1f 100644
--- a/src/components/Navbar.astro
+++ b/src/components/Navbar.astro
@@ -15,7 +15,7 @@ import { Image } from "astro:assets";
width={32}
height={32}
/>
- acmcsufoss
+ acmcsufoss
@@ -26,7 +26,7 @@ import { Image } from "astro:assets";
width={32}
height={32}
/>
- acmCSUF
+ acmCSUF
@@ -55,4 +55,14 @@ import { Image } from "astro:assets";
justify-content: center;
gap: 0.25rem;
}
+
+ .desktop {
+ display: none;
+ }
+
+ @media screen and (min-width: 640px) {
+ .desktop {
+ display: inline;
+ }
+ }
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 1f67905..89adcd7 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -50,7 +50,7 @@ const { title } = Astro.props;
--ff-custom: "Fira Code", "monospace";
--color-primary: #212121;
- --color-secondary: #313332;
+ --color-secondary: #2f2f2f;
--color-contrast: #f5f5f5;
--color-oss-team: #11d4b1;
diff --git a/src/pages/index.astro b/src/pages/index.astro
index bc2f79e..c6641ce 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -9,7 +9,12 @@ import Layout from "../layouts/Layout.astro";
FIRST CONTRIBUTIONS
- Open Source Software Team | ACM at CSUF
+
+
+ Open Source Software Team
+
+ ACM at CSUF
+
Fall 2024 Contributors
@@ -21,12 +26,17 @@ import Layout from "../layouts/Layout.astro";
diff --git a/src/pages/sp24.astro b/src/pages/sp24.astro
index d22bda0..62b07d2 100644
--- a/src/pages/sp24.astro
+++ b/src/pages/sp24.astro
@@ -78,8 +78,7 @@ const contributors: MarkdownEntry[] = Object.values(