Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update data for each Team Tile on the Quiz Page #1148

Merged
merged 6 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 14 additions & 50 deletions src/lib/public/quiz/responses/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { TeamMatch } from '$lib/public/quiz/questions/types';
export interface TeamReport {
blurb: string;
blurbRecommend: string;
recommendations: Array<{ title: string; link: string }>;
workshopPictures: string[];
}

Expand All @@ -15,79 +14,44 @@ export const REPORTS: Record<Exclude<TeamMatch, TeamMatch.TEAMLESS>, TeamReport>
[TeamMatch.AI]: {
blurb:
'acmAI is focused on introducing Artificial Intelligence and Machine Learning in a beginner friendly way. Workshops are project based and are centered around interactivity. We have a keen eye for problem solving and solution-based programming.',
blurbRecommend:
'AI events are coming soon this semester, in the mean time keep an eye out for those and futher resources listed on this page. Addionally, becoming actively involved in our #ai-chat on the Discord will surely help in the long-run.',
recommendations: [],
workshopPictures: [],
blurbRecommend: 'Check out #🦾ai-resources in our Discord server for more resources.',
workshopPictures: ['/assets/ai-workshop.jpg'],
},
[TeamMatch.DEV]: {
blurb:
'acmDev aims to have weekly meetings to work on projects as a way to improve our members’ skills at working in groups as well as introduce them to new technologies to make their ideas into software.',
blurbRecommend:
'The Dev hosts weekly project workshops this semester that go over various practices and ideas, more info about those can be found on our socials. However, below will be some resources which the Dev team recommends to kick off your project career.',
recommendations: [
{
title: 'Svelte Basics',
link: 'https://svelte.dev/tutorial/basics',
},
],
blurbRecommend: 'Check out #🌐dev-resources in our Discord server for more resources.',
workshopPictures: ['/assets/dev-workshop.jpg'],
},
[TeamMatch.DESIGN]: {
blurb:
'acmDesign is all about exposing you to the elements of UI/UX. We go over good practices to follow when starting a project, interesting frontend tips, and show that anyone can design.',
blurbRecommend:
"Figma is everyone's friend when it comes to designing, but sometimes it's hard to translate that onto code. That's why it is important to get a really good understanding of HTML, CSS, and Javascript. Below are some recommended resources for your journey.",
recommendations: [
{
title: "Kevin Powell's neat css tricks",
link: 'https://www.youtube.com/kepowob',
},
{
title: "The Net Ninja's beginner playlists",
link: 'https://www.youtube.com/c/TheNetNinja',
},
{
title: 'W3Schools CSS',
link: 'https://www.w3schools.com/w3css/',
},
{
title: 'MDN Resources',
link: 'https://developer.mozilla.org/en-US/',
},
],
workshopPictures: ['/assets/design-workshop.jpg', '/assets/quiz/figma-collage.png'],
blurbRecommend: 'Check out #🎨design-resources in our Discord server for more resources.',
workshopPictures: ['/assets/design-workshop.jpg'],
},
[TeamMatch.ALGO]: {
blurb:
"acmAlgo focuses on data structures, algorithms, and technical interview prep. School doesn't give us everything we need and Algo is here to fill in the holes!",
blurbRecommend:
'Attending our events is half the battle, practice is what takes it to the next level. We recommend practicing on LeetCode and getting a good grip on the famous "The Grind 75" questions.',
recommendations: [],
blurbRecommend: 'Check out #📑algo-resources in our Discord server for more resources.',
workshopPictures: ['/assets/algo-workshop.jpg'],
},
[TeamMatch.OSS]: {
blurb:
"Our Open Source Software team is all about contributing to open source projects. We're here to help you get started with your first PR and to guide you through the process of contributing to a project.",
"acmOSS team is all about contributing to open source projects. We're here to help you get started with your first PR and to guide you through the process of contributing to a project.",
blurbRecommend:
'Get involved in our weekly meetings and start contributing to our projects. Below are some resources to help you get started with open source.',
recommendations: [],
workshopPictures: [],
'Check out #💖announcements under Open Source Software Team in our Discord server for more resources.',
workshopPictures: ['/assets/oss-workshop.jpg'],
},
[TeamMatch.GAMEDEV]: {
blurb:
"acmGameDev is all about creating games and learning about the game development process. We're here to help you get started with game development and to guide you through the process of creating your first game.",
blurbRecommend:
'Get involved in our weekly meetings and start creating your own games. Below are some resources to help you get started with game development.',
recommendations: [],
workshopPictures: [],
blurbRecommend: 'Check out #🖇gamedev-resources in our Discord server for more resources.',
workshopPictures: ['/assets/gamedev-workshop.jpg'],
},
[TeamMatch.ICPC]: {
blurb:
'The International Collegiate Programming Contest (ICPC) team is all about competitive programming. We compete in regional and international contests and help our members improve their problem-solving skills.',
blurbRecommend:
'Get involved in our weekly meetings and start practicing for competitive programming contests. Below are some resources to help you get started with competitive programming.',
recommendations: [],
workshopPictures: [],
'acmICPC (The International Collegiate Programming Contest) team is all about competitive programming. We compete in regional and international contests and help our members improve their problem-solving skills.',
blurbRecommend: 'Check out #💪icpc-resources in our Discord server for more resources.',
workshopPictures: ['/assets/icpc-workshop.jpg'],
},
};
54 changes: 6 additions & 48 deletions src/routes/(site)/quiz/more-info.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,43 +20,17 @@
{:else}
<h1>{team.title} <span>Team</span></h1>
<p>{report.blurb}</p>
{#if team.title === 'AI'}
<div>
<h2 class="large-screen-display">Stay Tuned for Events</h2>
<h2 class="mobile-screen-display">Coming Soon</h2>
<img src={team.logoSrc} alt="img" />
</div>
{:else}
<h2 class="large-screen-display">Previous Projects and Workshops</h2>
<h2 class="mobile-screen-display">Previous Events</h2>
<div class="image-layout">
{#each report.workshopPictures as picture (picture)}
<img src={picture} alt={picture} class="team-pictures" />
{/each}
</div>
{/if}
<div class="image-layout">
{#each report.workshopPictures as picture (picture)}
<img src={picture} alt={picture} class="team-pictures" />
{/each}
</div>
<h2>Get Started Now</h2>
<h4>{report.blurbRecommend}</h4>
<ul>
{#each report.recommendations as recommendation (recommendation)}
<li>
<a href={recommendation.link} target="_blank" rel="noopener noreferrer"
>{recommendation.title}</a
>
</li>
{/each}
</ul>
{/if}
</section>

<style lang="scss">
.large-screen-display {
display: block;
}
.mobile-screen-display {
display: none;
}

.container {
--quiz-bg: rgba(102, 102, 102, 0.274);
width: 450px;
Expand All @@ -70,7 +44,7 @@
}

h1 {
font-size: 64px;
font-size: 50px;
color: var(--team-color);
}

Expand Down Expand Up @@ -128,23 +102,7 @@
border: var(--team-color) 3px solid;
}

ul {
list-style: none;
font-style: italic;
font-weight: 600;
}

a {
color: var(--team-color);
}

@media screen and (max-width: 740px) {
.large-screen-display {
display: none;
}
.mobile-screen-display {
display: block;
}
.container {
width: 325px;
}
Expand Down
Binary file added static/assets/ai-workshop.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/assets/algo-workshop.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/assets/design-workshop.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/assets/dev-workshop.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/gamedev-workshop.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/icpc-workshop.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/oss-workshop.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading