Skip to content

Commit

Permalink
Merge pull request #147 from uclaacm/fix/yeet-special-topics
Browse files Browse the repository at this point in the history
remove special topics from /about
  • Loading branch information
bliutech authored Jan 10, 2024
2 parents 3bb4a47 + 77b85c4 commit 0984eb9
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 18 deletions.
17 changes: 12 additions & 5 deletions data/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export interface EventType {
icon?: any;
textIcon?: string;
iconAlt?: string;
active: boolean;
}

enum EventKind {
Expand All @@ -39,38 +40,44 @@ export const eventTypes = [
name: EventKind.CyAc,
description: 'Cyber Academy is a weekly track designed to introduce you to the world of cybersecurity and help you expand your knowledge, regardless of your current skill level. Each week, we\'ll explore various cybersecurity topics in 15-20 minute talks and provide you with the opportunity to apply your learning through engaging "capture-the-flag"-style challenges. You\'ll also have the chance to collaborate with your peers in smaller groups to do some hands-on hacking! At Cyber Academy, we strive to open the door to all that cybersecurity has to offer, helping you learn and apply the foundational skills essential for success in this dynamic field.',
id: "cyber-academy",
icon: "cyber-logo-light-inverted.png"
icon: "cyber-logo-light-inverted.png",
active: true,
},
{
name: EventKind.CyLab,
description: 'ACM Cyber\'s newest offering, Cyber Lab is home to a rotating variety of quarter-long projects, planned to give you the freedom to learn something new and apply what you already know in a practical setting. With help from current officers, alumni mentors, and other members of ACM Cyber, you can create a unique product by the end of the quarter. From building your own operating system, to video game hacking, to adversarial AI, Cyber Lab has it all! Be sure to keep a lookout for our future projects and even submit ideas of your own.',
id: "cyber-lab",
icon: "test-tube.svg"
icon: "test-tube.svg",
active: true,
},
{
name: EventKind.PBR,
description: 'Psi Beta Rho (PBR) is UCLA\'s premier competitive cybersecurity team. We are a group of hackers, programmers, and security enthusiasts who love to learn and compete. Whether we are pwning a binary or attacking a site using cross-site scripting, we like to have fun! We mostly compete in Capture the Flag (CTF) competitions which are cybersecurity competitions where you tackle challenges and gain hands-on experience with solving security problems! If you are interested in getting hands-on experience with exploit development, security research, or just enjoy solving challenges then PBR is for you! We are advised by Dr. Yuan Tian.',
link: "https://pbr.uclaacm.com/",
id: "pbr",
textIcon: "ψβρ"
textIcon: "ψβρ",
active: true,
},
{
name: EventKind.LACTF,
description: 'Our largest event of the year, LA CTF is an annual cybersecurity competition with speakers, career events, challenges, and prizes, hosted right here at UCLA. Whether you are tackling your first exploit or have professional experience, there will be something just right for you! Participation and planning sessions are open to all.',
id: "lactf",
link: 'https://lac.tf',
icon: "flag.svg"
icon: "flag.svg",
active: true,
},
{
name: EventKind.Misc,
description: 'Alongside our other events, we also offer socials, member talks, speaker events, career panels, and more! Our club not only helps develop peoples\' careers but also grows the community of hacking enthusiasts!',
id: "misc",
icon: "boba.svg"
icon: "boba.svg",
active: true,
},
{
name: EventKind.Special,
description: "Cyber Special Topics explores the intersection of cybersecurity with other fields through exciting talks and demos. Each week, you\'ll be able to gain practical experience and insights that can be applied universally in the dynamic landscape of cybersecurity.",
id: "cyber-special-topics",
textIcon: "</>",
active: false,
}
];
28 changes: 15 additions & 13 deletions pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,20 @@ export default function About() {
throughout the year. Check out our main initiatives below!
</p>
<div className={styles.cyberThings}>
{eventTypes.map((event: EventType, index: number) => (
<EventInfo
key={index}
name={event.name}
description={event.description}
id={event.id}
link={event.link}
icon={event.icon}
iconAlt={event.iconAlt}
textIcon={event.textIcon}
/>
))}
{eventTypes
.filter((event) => event.active)
.map((event: EventType, index: number) => (
<EventInfo
key={index}
name={event.name}
description={event.description}
id={event.id}
link={event.link}
icon={event.icon}
iconAlt={event.iconAlt}
textIcon={event.textIcon}
/>
))}
</div>
<h2 />
</div>
Expand All @@ -63,7 +65,7 @@ function EventInfo({
icon,
iconAlt,
textIcon,
}: EventType) {
}: Omit<EventType, "active">) {
return (
<span id={id}>
<div className={styles.cyberThing}>
Expand Down

0 comments on commit 0984eb9

Please sign in to comment.