Skip to content

Commit

Permalink
✨ added nonprofite route fixed data storage
Browse files Browse the repository at this point in the history
  • Loading branch information
parchinski committed Nov 5, 2024
1 parent dfa59c8 commit a222da3
Show file tree
Hide file tree
Showing 8 changed files with 721 additions and 481 deletions.
58 changes: 0 additions & 58 deletions app/lib/cardData.ts

This file was deleted.

302 changes: 0 additions & 302 deletions app/lib/constitutionData.ts

This file was deleted.

117 changes: 0 additions & 117 deletions app/lib/faqData.tsx

This file was deleted.

60 changes: 59 additions & 1 deletion app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,65 @@ import {
import HackerBg from '@/components/ui/hacker-bg';
import BackgroundGrid from '@/components/ui/grid-bg';
import ImageCarousel from '@/components/image-carousel';
import { INDEX_CARD_DATA } from '@/lib/cardData';

const INDEX_CARD_DATA = [
{
id: 'meetings',
title: 'Meetings',
description:
'We hold meetings during the fall and spring semesters. Topics range from current events to security software tools and even hardware. Often special guests from various businesses and organizations will present on advanced special topics like reverse engineering and exploitation.',
buttonText: 'View Our Calendar',
imageUrls: [
'meetings0.webp',
'meetings1.webp',
'meetings2.webp',
'meetings3.webp',
],
link: '/calendar',
},
{
id: 'cyber-teams',
title: 'Cyber Teams',
description:
"One component of the club involves applying defensive security strategies in order to rigorously protect computers from being compromised. Our competition teams are dedicated to learning the 'ins and outs' of administering and hardening systems to defend against some of today's leading threats.",
buttonText: 'About CCDC',
imageUrls: [
'cyber-teams0.webp',
'cyber-teams1.webp',
'cyber-teams2.webp',
'cyber-teams3.webp',
],
link: '/ccdc',
},
{
id: 'cyber-games',
title: 'Cyber Games',
description:
'A second component of the club involves learning how attackers leverage exploits and gain control of systems. At our CTF competitions, students have the opportunity to research, explore, and exploit vulnerabilities. Through collaborating on thought-provoking games and challenges, club members are able to learn the skills necessary to becoming a security professional.',
buttonText: 'About CTFs',
imageUrls: [
'cyber-games0.webp',
'cyber-games1.webp',
'cyber-games2.webp',
'cyber-games3.webp',
],
link: '/ctf',
},
{
id: 'membership',
title: 'Membership',
description:
"If you like breaking stuff, problem solving, hacker-talk, or even just expressing your true 1337ness, then you definitely want to get involved. It is so neat to be around people with the same interests. It is at our meetings, competitions, and special events that we encourage you to unleash your inner nerd. Joining is a breeze. Don't skip out.",
buttonText: 'Join Now',
imageUrls: [
'membership0.webp',
'membership1.webp',
'membership2.webp',
'membership3.webp',
],
link: 'https://join.hackucf.org/',
},
];

function ScrollArrow({ onClick }: { onClick: () => void }) {
return (
Expand Down
2 changes: 1 addition & 1 deletion app/routes/about-us.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import { Link } from '@remix-run/react';

import { Button } from '@/components/ui/button';

// data deemed to small for own file
const NAV_LINKS = [
{ id: 'competitions', name: 'Competitions', href: '/competitions' },
{ id: 'ctf', name: 'Capture The Flag Competitions', href: '/ctf' },
{ id: 'ccdc', name: 'CCDC Competition', href: '/ccdc' },
{ id: 'faq', name: 'FAQ', href: '/faq' },
{ id: 'constitution', name: 'Constitution', href: '/constitution' },
{ id: 'nonprofit', name: 'Nonprofit', href: '/nonprofit' },
];

const PARTNER_LINKS = [
Expand Down
Loading

0 comments on commit a222da3

Please sign in to comment.