Skip to content

Commit e1c0a26

Browse files
committed
Fixed missing modules and dependencies
1 parent f5a39c7 commit e1c0a26

File tree

16 files changed

+262
-203
lines changed

16 files changed

+262
-203
lines changed

src/components/Index/TeamMember.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
1111
const { open } = getContext('simple-modal');
1212
const openAboutInfo = () => open(TeamMemberModal, { name, portraitSrc, description });
13-
console.log(portraitSrc)
13+
console.log(portraitSrc);
1414
</script>
1515

1616
<!-- TODO: Dialog Popup -->
Lines changed: 41 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,54 @@
11
<script>
2-
export let title, description, name, picture, winners, icon;
3-
function shortdesc(desc){
4-
return desc.length > 80 ? desc.slice(0,80) + '...' : desc;
5-
}
6-
console.log(picture)
2+
export let title, description, name, picture, winners, icon;
3+
function shortdesc(desc) {
4+
return desc.length > 80 ? desc.slice(0, 80) + '...' : desc;
5+
}
6+
console.log(picture);
77
</script>
88

9-
<div class="relative p-6 bg-blueberry-200 text-blackberry-800 rounded-2xl min-h-[40vh] overflow-hidden flex flex-col justify-between group transition-all duration-1000 ease-in-out hover:min-h-[60vh]">
10-
<div class="z-10">
11-
<h1 class="font-bold text-2xl">{title}: <span class="font-semibold text-2xl text-blueberry-600">{name}</span></h1>
12-
</div>
9+
<div
10+
class="relative p-6 bg-blueberry-200 text-blackberry-800 rounded-2xl min-h-[40vh] overflow-hidden flex flex-col justify-between group transition-all duration-1000 ease-in-out hover:min-h-[60vh]"
11+
>
12+
<div class="z-10">
13+
<h1 class="font-bold text-2xl">
14+
{title}: <span class="font-semibold text-2xl text-blueberry-600">{name}</span>
15+
</h1>
16+
</div>
1317

14-
{#if picture !== 'na'}
15-
<div
16-
class="absolute inset-0 bg-center bg-cover opacity-10 transition-opacity duration-1000 ease-in-out group-hover:opacity-5"
17-
style="background-image: url({picture});"
18-
></div>
19-
{/if}
18+
{#if picture !== 'na'}
19+
<div
20+
class="absolute inset-0 bg-center bg-cover opacity-10 transition-opacity duration-1000 ease-in-out group-hover:opacity-5"
21+
style="background-image: url({picture});"
22+
/>
23+
{/if}
2024

21-
<div class="z-10 w-[50%] h-[50%] flex justify-center items-center my-5 transition-all duration-1000 ease-in-out group-hover:h-[30%] group-hover:opacity-50">
22-
<svelte:component this={icon} class="text-blueberry-600 w-[100%] h-auto" />
23-
</div>
25+
<div
26+
class="z-10 w-[50%] h-[50%] flex justify-center items-center my-5 transition-all duration-1000 ease-in-out group-hover:h-[30%] group-hover:opacity-50"
27+
>
28+
<svelte:component this={icon} class="text-blueberry-600 w-[100%] h-auto" />
29+
</div>
2430

25-
<div class="z-20 bg-blueberry-200 transition-all duration-1000 ease-in-out max-h-0 group-hover:max-h-[1000px] overflow-hidden">
26-
<p class="mt-2 transform translate-y-full transition-transform duration-1000 ease-in-out group-hover:translate-y-0"><strong>Winners:</strong> {winners}</p>
27-
<p class="mt-2 transform translate-y-full transition-transform duration-1000 ease-in-out group-hover:translate-y-0"><strong>Description:</strong> {description}</p>
28-
</div>
31+
<div
32+
class="z-20 bg-blueberry-200 transition-all duration-1000 ease-in-out max-h-0 group-hover:max-h-[1000px] overflow-hidden"
33+
>
34+
<p
35+
class="mt-2 transform translate-y-full transition-transform duration-1000 ease-in-out group-hover:translate-y-0"
36+
>
37+
<strong>Winners:</strong>
38+
{winners}
39+
</p>
40+
<p
41+
class="mt-2 transform translate-y-full transition-transform duration-1000 ease-in-out group-hover:translate-y-0"
42+
>
43+
<strong>Description:</strong>
44+
{description}
45+
</p>
46+
</div>
2947
</div>
3048

3149
<style>
3250
/* Ensures that the winners and description are initially hidden */
3351
.hidden {
3452
display: none;
3553
}
36-
</style>
54+
</style>

src/eventdata/FAQComponents/FAQDeadline.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
<p>
66
Registration for participants, volunteers, mentors, judges, workshop hosts, and photographers
7-
opens on
7+
opens on
88
<strong>January 27th</strong> .
99
</p>
1010

1111
<p class="mt-2">
12-
Registration for participants closes on
12+
Registration for participants closes on
1313
<strong>February 10th</strong> — will be a hard deadline; we do not accept submissions after this time.
1414
</p>
1515
<p class="mt-2">

src/eventdata/FAQComponents/FAQPrizes.svelte

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
<p>HackTJ hosts prizes for the best projects in the following categories: Best Overall Hack, Best AI/ML Hack, Best Web Hack, Best Mobile Hack, Best Beginner Hack, Best Biomedical Hack, Best Finance Hack, Best Sustainability Hack, Best Cyber Technology Hack, Best Lifestyle Hack, Best Quantum Hack
1+
<p>
2+
HackTJ hosts prizes for the best projects in the following categories: Best Overall Hack, Best
3+
AI/ML Hack, Best Web Hack, Best Mobile Hack, Best Beginner Hack, Best Biomedical Hack, Best
4+
Finance Hack, Best Sustainability Hack, Best Cyber Technology Hack, Best Lifestyle Hack, Best
5+
Quantum Hack
26
</p>
37

48
<p>

src/eventdata/FAQComponents/FAQRegister.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
<ol class="list-decimal">
66
<li>
7-
On <strong>January 27th</strong>, a button will appear at
8-
the top of this site. Click it.
7+
On <strong>January 27th</strong>, a button will appear at the top of this site. Click it.
98
</li>
109
<li class="mt-2">You will be redirected to a page where you can click the appropriate form.</li>
1110
<li class="mt-2">

src/eventdata/faq.js

Lines changed: 65 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,68 @@
11
import { FAQCodeOfConduct, FAQDeadline, FAQPrizes, FAQRegister, FAQWhen } from './FAQComponents';
22

33
export default [
4-
{
5-
category: "About HackTJ",
6-
questions: [
7-
{
8-
question: 'What is HackTJ?',
9-
answer: 'HackTJ is a student-run hackathon where you will have 24 hours to learn how to code and/or work with your friends to make your idea come to life.'
10-
},
11-
{
12-
question: 'When is HackTJ?',
13-
answerComponent: FAQWhen
14-
},
15-
{
16-
question: "Isn't hacking illegal?",
17-
answer: 'In the context of a hackathon, "hacking" is to build a real application over the length of the event. It\'s important to not confuse this with illegal hacking, which is gaining unauthorized access to a computer.'
18-
},
19-
{
20-
question: 'Is there a code of conduct?',
21-
answerComponent: FAQCodeOfConduct
22-
}
23-
]
24-
},
25-
{
26-
category: "Registration",
27-
questions: [
28-
{
29-
question: 'How do I register?',
30-
answerComponent: FAQRegister
31-
},
32-
{
33-
question: 'Is there a deadline?',
34-
answerComponent: FAQDeadline
35-
},
36-
{
37-
question: 'How are ticket decisions made?',
38-
answer: 'Tickets decisions are made based on a variety of factors, including the registration time. Sign up quickly to increase the chance that you are given a HackTJ 12.0 ticket!'
39-
},
40-
{
41-
question: 'Is there any cost?',
42-
answer: 'Nope! Thanks to our sponsors, HackTJ is completely free!'
43-
}
44-
]
45-
},
46-
{
47-
category: "Prizes and Eligibility",
48-
questions: [
49-
{
50-
question: 'What prizes can I win?',
51-
answerComponent: FAQPrizes
52-
},
53-
{
54-
question: 'Who can attend?',
55-
answer: "HackTJ is open to all current high school students attending Fairfax County Public Schools. If you're not a high school student but would like to attend, consider coming as a judge, mentor, or volunteer."
56-
},
57-
{
58-
question: 'Do I need a team?',
59-
answer: "If you already have a team of 2-4 people you want to work with, that's awesome! If not don't worry because we'll have an opportunity for people to join a team if they need one."
60-
}
61-
]
62-
}
63-
];
4+
{
5+
category: 'About HackTJ',
6+
questions: [
7+
{
8+
question: 'What is HackTJ?',
9+
answer:
10+
'HackTJ is a student-run hackathon where you will have 24 hours to learn how to code and/or work with your friends to make your idea come to life.'
11+
},
12+
{
13+
question: 'When is HackTJ?',
14+
answerComponent: FAQWhen
15+
},
16+
{
17+
question: "Isn't hacking illegal?",
18+
answer:
19+
'In the context of a hackathon, "hacking" is to build a real application over the length of the event. It\'s important to not confuse this with illegal hacking, which is gaining unauthorized access to a computer.'
20+
},
21+
{
22+
question: 'Is there a code of conduct?',
23+
answerComponent: FAQCodeOfConduct
24+
}
25+
]
26+
},
27+
{
28+
category: 'Registration',
29+
questions: [
30+
{
31+
question: 'How do I register?',
32+
answerComponent: FAQRegister
33+
},
34+
{
35+
question: 'Is there a deadline?',
36+
answerComponent: FAQDeadline
37+
},
38+
{
39+
question: 'How are ticket decisions made?',
40+
answer:
41+
'Tickets decisions are made based on a variety of factors, including the registration time. Sign up quickly to increase the chance that you are given a HackTJ 12.0 ticket!'
42+
},
43+
{
44+
question: 'Is there any cost?',
45+
answer: 'Nope! Thanks to our sponsors, HackTJ is completely free!'
46+
}
47+
]
48+
},
49+
{
50+
category: 'Prizes and Eligibility',
51+
questions: [
52+
{
53+
question: 'What prizes can I win?',
54+
answerComponent: FAQPrizes
55+
},
56+
{
57+
question: 'Who can attend?',
58+
answer:
59+
"HackTJ is open to all current high school students attending Fairfax County Public Schools. If you're not a high school student but would like to attend, consider coming as a judge, mentor, or volunteer."
60+
},
61+
{
62+
question: 'Do I need a team?',
63+
answer:
64+
"If you already have a team of 2-4 people you want to work with, that's awesome! If not don't worry because we'll have an opportunity for people to join a team if they need one."
65+
}
66+
]
67+
}
68+
];

src/eventdata/sponsors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const sponsorData = [
102102
goldTierData,
103103
silverTierData,
104104
bronzeTierData,
105-
prizeTierData,
105+
prizeTierData
106106
];
107107

108108
export default sponsorData;

src/eventdata/teamMembers.js

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ let teamMembers = [
5050
class: '2025',
5151
years: 1,
5252
director: false,
53-
description: 'Leah, a senior at TJHSST, is pumped for her first year on the team after competing on HackTJ 11.0. She loves applying computer science for real-world applications, particularly in creating assistive technology. In her free time, she’s either drawing or doom-scrolling reels.',
53+
description:
54+
'Leah, a senior at TJHSST, is pumped for her first year on the team after competing on HackTJ 11.0. She loves applying computer science for real-world applications, particularly in creating assistive technology. In her free time, she’s either drawing or doom-scrolling reels.',
5455
portraitSrc: `${base}/teamportraits/Leah.jpg`,
5556
order: 5
5657
},
@@ -59,7 +60,8 @@ let teamMembers = [
5960
class: '2025',
6061
years: 1,
6162
director: false,
62-
description: 'Megan is a senior at TJHSST and this is her first year on the team after competing in HackTJ 11.0. She’s fascinated with bioastronautics, the study of advancing human life in space, along with space policy. Outside of HackTJ, she serves as Student Representative to the Fairfax County School Board and is actively involved in TSA and Techstravaganza. In her free time, you can find her with her dog, spending time with her friends, or watching a comfort show on Netflix.',
63+
description:
64+
'Megan is a senior at TJHSST and this is her first year on the team after competing in HackTJ 11.0. She’s fascinated with bioastronautics, the study of advancing human life in space, along with space policy. Outside of HackTJ, she serves as Student Representative to the Fairfax County School Board and is actively involved in TSA and Techstravaganza. In her free time, you can find her with her dog, spending time with her friends, or watching a comfort show on Netflix.',
6365
portraitSrc: `${base}/teamportraits/Megan.jpeg`,
6466
order: 6
6567
},
@@ -96,7 +98,8 @@ let teamMembers = [
9698
class: '2026',
9799
years: 1,
98100
director: false,
99-
description: 'Hashmita is a junior at TJHSST, and she is excited for her first year on the team. She enjoys using her computer science knowledge to solve competitive programming problems and create apps that can help tackle real-world issues. Outside of HackTJ, she is involved in TSA and the Computer Team. In her free time, she enjoys playing basketball, baking, watching TV (especially Suits), and listening to music.',
101+
description:
102+
'Hashmita is a junior at TJHSST, and she is excited for her first year on the team. She enjoys using her computer science knowledge to solve competitive programming problems and create apps that can help tackle real-world issues. Outside of HackTJ, she is involved in TSA and the Computer Team. In her free time, she enjoys playing basketball, baking, watching TV (especially Suits), and listening to music.',
100103
portraitSrc: `${base}/teamportraits/Hashmita.jpg`,
101104
order: 10
102105
},
@@ -105,7 +108,8 @@ let teamMembers = [
105108
class: '2027',
106109
years: 1,
107110
director: false,
108-
description: 'Dhanvin is a sophomore at TJHSST and is excited for his first year on the team after competing in HackTJ 11.0. He is interested in the intersection of machine learning and bioengineering, particularly in improving accessibility to real-world applications such as neurological diseases. Outside of HackTJ, he is a member of the Assistive Technology Club and serves as an officer and programmer for the FTC robotics team, Robot Uprising. In his free time, he enjoys playing basketball and badminton.',
111+
description:
112+
'Dhanvin is a sophomore at TJHSST and is excited for his first year on the team after competing in HackTJ 11.0. He is interested in the intersection of machine learning and bioengineering, particularly in improving accessibility to real-world applications such as neurological diseases. Outside of HackTJ, he is a member of the Assistive Technology Club and serves as an officer and programmer for the FTC robotics team, Robot Uprising. In his free time, he enjoys playing basketball and badminton.',
109113
portraitSrc: `${base}/teamportraits/Dhanvin.jpg`,
110114
order: 11
111115
},
@@ -114,7 +118,8 @@ let teamMembers = [
114118
class: '2027',
115119
years: 1,
116120
director: false,
117-
description: 'Shaurya is a sophomore at TJHSST, and he is excited for his first year on the team after competing in HackTJ 11.0. He is interested in the application of machine learning and gen AI in creating solutions for human flourishing, as well as competitive programming and math. Outside of HackTJ, he is a dedicated member of Varsity Math Team and Computer Team. In his free time, he enjoys playing cricket with friends, spending time with family, and biking.',
121+
description:
122+
'Shaurya is a sophomore at TJHSST, and he is excited for his first year on the team after competing in HackTJ 11.0. He is interested in the application of machine learning and gen AI in creating solutions for human flourishing, as well as competitive programming and math. Outside of HackTJ, he is a dedicated member of Varsity Math Team and Computer Team. In his free time, he enjoys playing cricket with friends, spending time with family, and biking.',
118123
portraitSrc: `${base}/teamportraits/Shaurya.jpg`,
119124
order: 12
120125
},
@@ -123,7 +128,8 @@ let teamMembers = [
123128
class: '2027',
124129
years: 1,
125130
director: false,
126-
description: 'Sanya is a sophomore at TJHSST, and she is excited for her first year on the team after competing in HackTJ 11.0. She is fascinated by the intersection of computer science, particularly artificial intelligence, and its transformative applications in business and engineering. Outside of HackTJ, she is a dedicated member of TSA and Namaste Club. In her free time, she enjoys watching TV, going to the gym, listening to music, and flying planes.',
131+
description:
132+
'Sanya is a sophomore at TJHSST, and she is excited for her first year on the team after competing in HackTJ 11.0. She is fascinated by the intersection of computer science, particularly artificial intelligence, and its transformative applications in business and engineering. Outside of HackTJ, she is a dedicated member of TSA and Namaste Club. In her free time, she enjoys watching TV, going to the gym, listening to music, and flying planes.',
127133
portraitSrc: `${base}/teamportraits/Sanya.jpg`,
128134
order: 13
129135
},
@@ -132,7 +138,8 @@ let teamMembers = [
132138
class: '2027',
133139
years: 1,
134140
director: false,
135-
description: 'Sidh is a sophomore at TJHSST and is thrilled for his first year on the team after competing in HackTJ 11.0. He is interested in the applications of machine learning, particularly generative AI, in combating pressing real-world problems like climate change. Outside of HackTJ, he is a member of the Science Olympiad team and an officer and lecturer at Computer Vision club. In his free time, he enjoys hiking on scenic trails all throughout Virginia and exploring the outdoors.',
141+
description:
142+
'Sidh is a sophomore at TJHSST and is thrilled for his first year on the team after competing in HackTJ 11.0. He is interested in the applications of machine learning, particularly generative AI, in combating pressing real-world problems like climate change. Outside of HackTJ, he is a member of the Science Olympiad team and an officer and lecturer at Computer Vision club. In his free time, he enjoys hiking on scenic trails all throughout Virginia and exploring the outdoors.',
136143
portraitSrc: `${base}/teamportraits/Sidh.jpg`,
137144
order: 14
138145
},
@@ -159,4 +166,4 @@ let teamMembers = [
159166
teamMembers = teamMembers.filter((member) => !member.hidden);
160167
teamMembers.sort((a, b) => a.order - b.order);
161168

162-
export default teamMembers;
169+
export default teamMembers;

0 commit comments

Comments
 (0)