Skip to content

Commit

Permalink
a bunch of changes: schedule, team pictures, mobile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbdragonfly committed Oct 12, 2024
1 parent 36e9e22 commit 6d2cf87
Show file tree
Hide file tree
Showing 9 changed files with 66 additions and 71 deletions.
Empty file modified deploy
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"tailwindcss": "^3.1.6",
"tslib": "^2.4.0",
"typescript": "^4.7.4",
"vite": "^3.0.3"
"vite": "^3.2.10"
},
"type": "module",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions src/components/Index/GoogleMap.svelte
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
<script>
<script lang="ts">
import { onMount } from 'svelte';
export let zoom = 18;
export let latlng = { lat: 38.92208058473404, lng: -77.23336741553179 }; // Cvent Location
// TODO: Styling Map
let google: any;
onMount(async () => {
let google = window.google;
let mapCanvas = document.getElementById('map-canvas');
google = window.google;
const mapCanvas = document.getElementById('map-canvas') as HTMLElement;
mapCanvas = new google.maps.Map(mapCanvas, { zoom, center: latlng });
const map = new google.maps.Map(mapCanvas, { zoom, center: latlng });
new google.maps.Marker({
map: mapCanvas,
map,
position: latlng,
animation: google.maps.Animation.DROP
});
Expand Down
60 changes: 30 additions & 30 deletions src/eventdata/schedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,102 +7,102 @@ const scheduleItems = [
title: 'Doors Open',
description:
'When you arrive at the building on the morning of HackTJ, you will enter through the main door and check in the lobby. From there, you will be directed to the elevators and your designated floor. Please make sure that ALL team members check in individually! This year, we will be implementing <b>staggered check-ins</b>, so please check your email for time assignments.',
time: dayjs('2/24/2024 09:00', timeFormat)
time: dayjs('3/08/2025 09:00', timeFormat)
},
{
title: 'Sponsor Fair',
time: dayjs('2/24/2024 09:00', timeFormat),
end: dayjs('2/24/2024 11:00', timeFormat)
time: dayjs('3/08/2025 09:00', timeFormat),
end: dayjs('3/08/2025 11:00', timeFormat)
},
{
title: 'Doors Close',
time: dayjs('2/24/2024 11:00', timeFormat)
time: dayjs('3/08/2025 11:00', timeFormat)
},
{
title: 'Opening Ceremony',
time: dayjs('2/24/2024 11:00', timeFormat),
end: dayjs('2/24/2024 11:30', timeFormat)
time: dayjs('3/08/2025 11:00', timeFormat),
end: dayjs('3/08/2025 11:30', timeFormat)
},
{
title: 'Hacking Begins',
time: dayjs('2/24/2024 11:30', timeFormat)
time: dayjs('3/08/2025 11:30', timeFormat)
},
{
title: 'Team Building',
time: dayjs('2/24/2024 11:45', timeFormat),
end: dayjs('2/24/2024 12:15', timeFormat)
time: dayjs('3/08/2025 11:45', timeFormat),
end: dayjs('3/08/2025 12:15', timeFormat)
},
{
title: 'Submit Check-In Form',
time: dayjs('2/24/2024 12:30', timeFormat)
time: dayjs('3/08/2025 12:30', timeFormat)
},
{
title: 'Resources and Q&A for Beginners',
description:
'If you are a beginner or don’t know where to start, come ask some HackTJ team members general questions about the hackathon!',
time: dayjs('2/24/2024 12:30', timeFormat),
end: dayjs('2/24/2024 13:00', timeFormat)
time: dayjs('3/08/2025 12:30', timeFormat),
end: dayjs('3/08/2025 13:00', timeFormat)
},
{
title: 'Lunch',
description: 'Salads from Panera Bread and Sandwiches from Potbelly',
time: dayjs('2/24/2024 13:00', timeFormat),
end: dayjs('2/24/2024 14:00', timeFormat)
time: dayjs('3/08/2025 13:00', timeFormat),
end: dayjs('3/08/2025 14:00', timeFormat)
},
{
title: 'Workshops',
time: dayjs('2/24/2024 14:00', timeFormat),
end: dayjs('2/24/2024 18:00', timeFormat)
time: dayjs('3/08/2025 14:00', timeFormat),
end: dayjs('3/08/2025 18:00', timeFormat)
},
{
title: 'Dinner',
description: 'Pasta from Noodles & Company',
time: dayjs('2/24/2024 19:00', timeFormat),
end: dayjs('2/24/2024 20:00', timeFormat)
time: dayjs('3/08/2025 19:00', timeFormat),
end: dayjs('3/08/2025 20:00', timeFormat)
},
{
title: 'Women in Tech Panel',
description:
'Come to hear about the experiences, education/career paths, obstacles overcome, advice, and more of women working in technical fields. All student hackers are welcome to attend.',
time: dayjs('2/24/2024 20:00', timeFormat),
end: dayjs('2/24/2024 21:00', timeFormat)
time: dayjs('3/08/2025 20:00', timeFormat),
end: dayjs('3/08/2025 21:00', timeFormat)
},
{
title: 'Submit Project Category',
time: dayjs('2/24/2024 23:30', timeFormat)
time: dayjs('3/08/2025 23:30', timeFormat)
},
// // Day 2
{
title: 'Midnight Snack',
description: 'Pizza!',
time: dayjs('2/25/2024 00:00', timeFormat)
time: dayjs('3/09/2025 00:00', timeFormat)
},
{
title: 'Breakfast',
description: 'Einstein Bros. Bagels and Blueberry Muffins',
time: dayjs('2/25/2024 06:30', timeFormat),
end: dayjs('2/25/2024 08:00', timeFormat)
time: dayjs('3/09/2025 06:30', timeFormat),
end: dayjs('3/09/2025 08:00', timeFormat)
},

{
title: 'Hacking Ends',
time: dayjs('2/25/2024 08:00', timeFormat)
time: dayjs('3/09/2025 08:00', timeFormat)
},
{
title: 'Judging',
description:
'Judges will be going around each team by room, so make sure to stay in the vicinity of your room and be ready to present during the judging period.<br /><br />If you win: we’re going to choose 3 groups to present for 3 minutes each at the closing ceremony. You can use slides if you’d like, or you can just talk to us. We will notify you if you are presenting at the ceremony around 30-45 minutes after judging ends.',
time: dayjs('2/25/2024 08:15', timeFormat),
end: dayjs('2/25/2024 11:30', timeFormat)
time: dayjs('3/09/2025 08:15', timeFormat),
end: dayjs('3/09/2025 11:30', timeFormat)
},
{
title: 'Closing Ceremony',
time: dayjs('2/25/2024 12:00', timeFormat),
end: dayjs('2/25/2024 12:30', timeFormat)
time: dayjs('3/09/2025 12:00', timeFormat),
end: dayjs('3/09/2025 12:30', timeFormat)
},
{
title: 'Hackathon Ends',
time: dayjs('2/25/2024 12:30', timeFormat)
time: dayjs('3/09/2025 12:30', timeFormat)
}
];

Expand Down
28 changes: 14 additions & 14 deletions src/eventdata/teamMembers.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let teamMembers = [
years: 3,
director: true,
description:
'Samvrit is a junior at TJHSST and this is his second year on the HackTJ team and he joined after competing in freshman year. He is passionate about the intersection of computer science and biology and likes to pursue translational projects related to infectious and neurological diseases. Along with Hack TJ, he is an avid member of clubs such as TSA, TJ Speech, and German Honor Society.Outside of school he runs a summer stem program for elementary and middle school kids. In his free time, he likes to read, play basketball, and listen to the newest rap album.',
'Samvrit is a senior at TJHSST and this is his third year on the HackTJ team and he joined after competing in freshman year. He is passionate about the intersection of computer science and biology and likes to pursue translational projects related to infectious and neurological diseases. Along with Hack TJ, he is an avid member of clubs such as TSA, TJ Speech, and German Honor Society.Outside of school he runs a summer stem program for elementary and middle school kids. In his free time, he likes to read, play basketball, and listen to the newest rap album.',
portraitSrc: `${base}/teamportraits/Samvrit.JPG`,
order: 1
},
Expand All @@ -21,7 +21,7 @@ let teamMembers = [
years: 3,
director: true,
description:
'Saanvi is a junior at TJHSST, and she’s excited for her second year on the team. She loves seeing how computer science brings to life so many ideas and ties together to other fields she loves such as biology and astronomy. Other than HackTJ, Saanvi is also involved in Astronomy Club, FPS, Red Cross YTF, and she plays field hockey and lacrosse for TJ. Outside of school, she loves to read, watch lots and lots of TV, and cook.',
'Saanvi is a senior at TJHSST, and she’s excited for her third year on the team. She loves seeing how computer science brings to life so many ideas and ties together to other fields she loves such as biology and astronomy. Other than HackTJ, Saanvi is also involved in Astronomy Club, FPS, Red Cross YTF, and she plays field hockey and lacrosse for TJ. Outside of school, she loves to read, watch lots and lots of TV, and cook.',
portraitSrc: `${base}/teamportraits/Saanvi.JPG`,
order: 2
},
Expand All @@ -31,7 +31,7 @@ let teamMembers = [
years: 3,
director: false,
description:
'Avni is a junior at TJHSST, and this is her second year on the team after competing freshman year in HackTJ 9.0! She hopes to make HackTJ a memorable experience for everyone. Avni enjoys math and computer science, especially in the fields of AI and ML. Aside from HackTJ, she is also part of the Varsity Math Team and Computer Team. In her free time, she likes to bike, read, and play card games.',
'Avni is a senior at TJHSST, and this is her third year on the team after competing freshman year in HackTJ 9.0! She hopes to make HackTJ a memorable experience for everyone. Avni enjoys math and computer science, especially in the fields of AI and ML. Aside from HackTJ, she is also part of the Varsity Math Team and Computer Team. In her free time, she likes to bike, read, and play card games.',
portraitSrc: `${base}/teamportraits/Avni.JPG`,
order: 3
},
Expand All @@ -41,7 +41,7 @@ let teamMembers = [
years: 2,
director: false,
description:
'Pratyasa is a junior at TJHSST, and this is her first year on the team after competing in sophomore year! She loves how computer science can be used to innovate and solve problems in different fields, such as medicine and biology. Outside of HackTJ, Pratyasa is involved in FPS and Red Cross YTF. In her free time, she loves to read, bake (especially cookies), and listen to music.',
'Pratyasa is a senior at TJHSST, and this is her second year on the team after competing in sophomore year! She loves how computer science can be used to innovate and solve problems in different fields, such as medicine and biology. Outside of HackTJ, Pratyasa is involved in FPS and Red Cross YTF. In her free time, she loves to read, bake (especially cookies), and listen to music.',
portraitSrc: `${base}/teamportraits/Pratyasa.JPG`,
order: 4
},
Expand All @@ -51,7 +51,7 @@ let teamMembers = [
years: 1,
director: false,
description: '',
portraitSrc: `${base}/teamportraits/Samvrit.JPG`,
portraitSrc: `${base}/teamportraits/blank.png`,
order: 5
},
{
Expand All @@ -60,7 +60,7 @@ let teamMembers = [
years: 1,
director: false,
description: '',
portraitSrc: `${base}/teamportraits/Samvrit.JPG`,
portraitSrc: `${base}/teamportraits/blank.png`,
order: 6
},
{
Expand All @@ -69,7 +69,7 @@ let teamMembers = [
years: 1,
director: false,
description: '',
portraitSrc: `${base}/teamportraits/Samvrit.JPG`,
portraitSrc: `${base}/teamportraits/blank.png`,
order: 7
},
{
Expand All @@ -78,7 +78,7 @@ let teamMembers = [
years: 2,
director: false,
description:
'Aanya is a sophomore at TJHSST, and this is her first year on the team after competing in HackTJ 10.0! She enjoys finding ways to bridge gaps between computer science and biology, solving problems that impact social good. Outside of HackTJ, she is an active participant in the Bioinformatics club, Teknos, and Coding Lady Colonials! In her free time, she enjoys baking for her friends, listening to music, and rock climbing.',
'Aanya is a junior at TJHSST, and this is her second year on the team after competing in HackTJ 10.0! She enjoys finding ways to bridge gaps between computer science and biology, solving problems that impact social good. Outside of HackTJ, she is an active participant in the Bioinformatics club, Teknos, and Coding Lady Colonials! In her free time, she enjoys baking for her friends, listening to music, and rock climbing.',
portraitSrc: `${base}/teamportraits/Aanya.JPG`,
order: 8
},
Expand All @@ -88,7 +88,7 @@ let teamMembers = [
years: 1,
director: false,
description: '',
portraitSrc: `${base}/teamportraits/Samvrit.JPG`,
portraitSrc: `${base}/teamportraits/blank.png`,
order: 9
},
{
Expand All @@ -97,7 +97,7 @@ let teamMembers = [
years: 1,
director: false,
description: '',
portraitSrc: `${base}/teamportraits/Samvrit.JPG`,
portraitSrc: `${base}/teamportraits/blank.png`,
order: 10
},
{
Expand All @@ -106,7 +106,7 @@ let teamMembers = [
years: 1,
director: false,
description: '',
portraitSrc: `${base}/teamportraits/Samvrit.JPG`,
portraitSrc: `${base}/teamportraits/blank.png`,
order: 11
},
{
Expand All @@ -115,7 +115,7 @@ let teamMembers = [
years: 1,
director: false,
description: '',
portraitSrc: `${base}/teamportraits/Samvrit.JPG`,
portraitSrc: `${base}/teamportraits/blank.png`,
order: 12
},
{
Expand All @@ -124,7 +124,7 @@ let teamMembers = [
years: 1,
director: false,
description: '',
portraitSrc: `${base}/teamportraits/Samvrit.JPG`,
portraitSrc: `${base}/teamportraits/blank.png`,
order: 13
},
{
Expand All @@ -133,7 +133,7 @@ let teamMembers = [
years: 1,
director: false,
description: '',
portraitSrc: `${base}/teamportraits/Samvrit.JPG`,
portraitSrc: `${base}/teamportraits/blank.png`,
order: 14
},
{
Expand Down
32 changes: 13 additions & 19 deletions src/routes/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Navbar from '../components/Navbar.svelte';
import CloseButton from '../components/Index/CloseButton.svelte';
// import AboutCard from '../components/Index/AboutCard.svelte';
import Modal from 'svelte-simple-modal';
import Modal from 'svelte-simple-modal'
import { event, location, registration } from '../constants';
import { sponsorData, teamMembers } from '../eventdata';
import { googleMapsKey } from '../keys/.';
Expand Down Expand Up @@ -90,24 +90,18 @@
<img alt="TJHSST Dome" src="{base}/dome.svg" class="hidden lg:flex self-end max-h-full" />
</div>
<div class="w-full absolute bottom-0 lg:w-auto lg:relative">
<svg
class="-mt-1 mb-2 md:mb-6"
viewBox="0 0 1440 61"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<rect x="-326" width="599" height="61" rx="30.5" fill="#B8F1EF" />
<path
d="M321 30.5C321 13.6553 334.655 0 351.5 0H1441V61H351.5C334.655 61 321 47.3447 321 30.5V30.5Z"
fill="#a2cef1"
/>
</svg>
<svg class="mb-6" viewBox="0 0 1440 61" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="-323" width="470" height="61" rx="30.5" fill="#F3F7F0" />
<rect x="195" width="271" height="61" rx="30.5" fill="#B8DBD9" />
<rect x="514" width="458" height="61" rx="30.5" fill="#6AB4B0" />
<rect x="1020" width="599" height="61" rx="30.5" fill="#799bb6" />
</svg>
<div class="hidden lg:block">
<svg class="-mt-1 mb-2 md:mb-6" viewBox="0 0 1440 61" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="-326" width="599" height="61" rx="30.5" fill="#B8F1EF" />
<path d="M321 30.5C321 13.6553 334.655 0 351.5 0H1441V61H351.5C334.655 61 321 47.3447 321 30.5V30.5Z" fill="#a2cef1" />
</svg>
<svg class="mb-6" viewBox="0 0 1440 61" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="-323" width="470" height="61" rx="30.5" fill="#F3F7F0" />
<rect x="195" width="271" height="61" rx="30.5" fill="#B8DBD9" />
<rect x="514" width="458" height="61" rx="30.5" fill="#6AB4B0" />
<rect x="1020" width="599" height="61" rx="30.5" fill="#799bb6" />
</svg>
</div>
</div>
</div>

Expand Down
Binary file added static/teamportraits/blank.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified switch
100644 → 100755
Empty file.

0 comments on commit 6d2cf87

Please sign in to comment.