From 4feddb47f18a043f89c38b32ef851f4fe00fda9b Mon Sep 17 00:00:00 2001 From: Jason Antwi-Appah Date: Sat, 29 Jun 2024 15:04:21 -0500 Subject: [PATCH] Update about page content + misc style fixes --- src/components/home/division.astro | 2 - src/components/navbar.tsx | 68 +++++++---------------- src/data.ts | 87 +++++++++++++++++++++++++----- src/layouts/markdown.astro | 73 ++++++++++++++++++------- src/pages/about.md | 73 ++++++++++++++++--------- src/pages/index.astro | 1 - 6 files changed, 195 insertions(+), 109 deletions(-) diff --git a/src/components/home/division.astro b/src/components/home/division.astro index 1b15869..ff2c69b 100644 --- a/src/components/home/division.astro +++ b/src/components/home/division.astro @@ -1,6 +1,4 @@ --- -// TODO: figure out whats wrong with the impulse picture - interface Props { backgroundImg: string backgroundPosition: string diff --git a/src/components/navbar.tsx b/src/components/navbar.tsx index f2caf22..3419d7c 100644 --- a/src/components/navbar.tsx +++ b/src/components/navbar.tsx @@ -1,6 +1,6 @@ import { Bars3Icon } from '@heroicons/react/24/solid' import { useEffect, useRef } from 'react' -import { HOME_LINK, discordInvite, instagramURL, mainNavLinks } from '../data' +import { HOME_LINK, discordInvite, mainNavLinks } from '../data' import useMedia from '../utils/useMediaQuery' const menuBg = 'var(--text-dark)' @@ -8,6 +8,7 @@ const gradBg = 'linear-gradient(180deg, rgba(0, 0, 0, 0.67) 0%, rgba(0, 0, 0, 0. const styles = ` .nav-links > a:any-link { color: var(--text); + filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.3)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.4)); } .menubar { @@ -31,8 +32,10 @@ const styles = ` display: none; }` function Navbar() { - const mobile = useMedia('(max-width: 800px)', true) + const mobile = useMedia('(max-width: 900px)', true) const detailsRef = useRef(null) + + // this effect handles closing the navbar overlay when switching between pages useEffect(() => { const listener = () => { if (!mobile || !detailsRef.current) { @@ -55,40 +58,6 @@ function Navbar() { zIndex: 100, }} > -
-

- This site is currently in progress! Feel free to browse around, and - check out our - - {' '} - Discord - - {' '} - and - - {' '} - Instagram - - {' '} - for club updates! -

-
+ + - + diff --git a/src/pages/about.md b/src/pages/about.md index 8126fe9..4eefe26 100644 --- a/src/pages/about.md +++ b/src/pages/about.md @@ -3,42 +3,63 @@ layout: ../layouts/markdown.astro title: About subtitle: More about the club and its history --- +# Who we are +Comet Robotics at UT Dallas is a student organization with the goal of promoting robotics at UT Dallas and in the surrounding area through outreach, projects and workshops. We compete with colleges and universities across the globe in combat robotics competitions, and programs like VEX U and University Rover Challenge. -# Our Mission -Comet Robotics, a student-led organization at the University of Texas at Dallas, is a group of students who are passionate about robotics and engineering. We design, build, and compete with robots in various competitions. Our goal is to provide students with the opportunity to learn and apply engineering concepts in a hands-on environment. We welcome students from all backgrounds and experience levels to join us in our mission to promote STEM education and robotics in our community. +With membership open to all students regardless of major or prior experience in robotics, we provide students with the opportunity to collaborate and compete with like-minded individuals to gain experience and refine their knowledge of designing, building, and programming robots. As an organization, we aim to build and sustain an engaged body of students hoping to expand upon their coursework and gain real-world experience, developing skills in project management, leadership, teamwork, and much more. - +# History - +guides to copy writing (more business oriented but still has some good principles) +- https://stripe.com/guides/atlas/landing-page-copy +- https://unbounce.com/landing-page-copywriting/ +--> \ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index fa7734f..60b2836 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -5,7 +5,6 @@ import Summary from '../components/home/summary.astro' import Division from '../components/home/division.astro' import Join from '../components/join.astro' --- -