From e5407e46541d62739af5382ff43dbf07b26fb5b9 Mon Sep 17 00:00:00 2001 From: kandles11 Date: Tue, 25 Jun 2024 23:28:58 -0500 Subject: [PATCH] begin projects page. basic layout and mapping is set up. just needs styling magic --- src/data.ts | 44 +++++++++++++++++++++++++-- src/pages/projects.astro | 66 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+), 3 deletions(-) create mode 100644 src/pages/projects.astro diff --git a/src/data.ts b/src/data.ts index 1dfaa5c..0408a11 100644 --- a/src/data.ts +++ b/src/data.ts @@ -4,9 +4,9 @@ const HOME_LINK: LinkType = { name: 'Home', href: '/' } const mainNavLinks: LinkType[] = [ HOME_LINK, - { name: "About", href: "/about" }, + { name: 'About', href: '/about' }, // { name: "Projects", href: "#" }, - { name: "Contact", href: "/links" }, + { name: 'Contact', href: '/links' }, ] const instagramURL = 'https://www.instagram.com/comet_robotics_utd/' @@ -98,4 +98,42 @@ const linksPageLinks: LinkType[] = [ }, ] -export { mainNavLinks, HOME_LINK, footerLinks, socialLinks, clubEmail, sponsorLinks, discordInvite, makerspaceMap, websiteRepo, linksPageLinks, instagramURL } +const competitiveTeams = [ + { + name: 'ChessBots', + href: '#', + }, + { + name: 'Solis Rover Project', + href: '#', + }, + { + name: 'VexU', + href: '#', + }, + { + name: 'SumoBots', + href: '#', + }, +] + +const combatTeams = [ + { + name: 'Blender', + href: '#', + }, + { + name: '3lb Impulse', + href: '#', + }, + { + name: 'Blended Donut', + href: '#', + }, + { + name: 'Proxima Centauri', + href: '#', + }, +] + +export { mainNavLinks, HOME_LINK, footerLinks, socialLinks, clubEmail, sponsorLinks, discordInvite, makerspaceMap, websiteRepo, linksPageLinks, instagramURL, competitiveTeams, combatTeams } diff --git a/src/pages/projects.astro b/src/pages/projects.astro new file mode 100644 index 0000000..e023ab1 --- /dev/null +++ b/src/pages/projects.astro @@ -0,0 +1,66 @@ +--- +import '../styles/reset.css' +import '../styles/index.css' +import '../styles/App.css' +import BaseLayout from '../layouts/base.astro' +import Join from '../components/join.astro' +import { competitiveTeams, combatTeams } from '../data' +--- + + +
+
+
+

Projects

+

Subtitle here

+
+
+

Competitive Robotics

+
+ { + competitiveTeams.map((team) => ( +
+

{team.name}

+ Click me! +
+ )) + } +
+
+ +
+

Combat Robotics

+
+ { + combatTeams.map((team) => ( +
+

{team.name}

+ Click me! +
+ )) + } +
+
+
+
+
+ +