Skip to content

Commit

Permalink
updated hero image, fixed code quality nits
Browse files Browse the repository at this point in the history
- I left the tier 1 and tier 2 css commented because it was throwing errors at me when I uncommented them
- Navbar home href is '/#'
  • Loading branch information
moonitini committed Oct 9, 2024
1 parent 692859f commit 6b63045
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 41 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/Button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<script lang="ts">
type TiltRange = 'left' | 'right' | 'none';
type ButtonBackgroundColors = 'blue' | 'pink' | 'gold' | 'green';
type ButtonBackgroundColors = 'blue' | 'pink' | 'gold' | 'lime';
export let tilt: TiltRange;
export let backgroundColor: ButtonBackgroundColors;
Expand Down Expand Up @@ -62,7 +62,7 @@
.bg-gold {
background-color: $gold;
}
.bg-green {
.bg-lime {
background-color: $lime;
}
Expand Down
1 change: 0 additions & 1 deletion src/lib/components/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<style lang="scss">
h2 {
font-family: 'Lilita One', sans-serif;
// color: $text-pink;
color: $text-green;
font-size: 3.5rem;
font-weight: 400;
Expand Down
8 changes: 4 additions & 4 deletions src/lib/components/sections/HeroSection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
<div class="content">
<!-- [BEGIN] Organizer application links -->
<!-- TODO: Add application links -->
<!-- [END] Organizer application links -->

<!-- [BEGIN] Hackathon application links -->
<!-- <Button
<!-- <Button
tilt="left"
backgroundColor="lime"
href="https://docs.google.com/forms/d/e/1FAIpQLSdqOgPcH2zSmEZerORxW13PubusZdtMttMavNi4oybVytdHVg/viewform?usp=sf_link"
target="_blank">Apply to be an Organizer!</Button
> -->
<!-- [END] Organizer application links -->

<!-- [BEGIN] Hackathon application links -->
<!-- <Button
tilt="left"
backgroundColor="blue"
Expand Down
8 changes: 4 additions & 4 deletions src/lib/components/sections/Keynote.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import Header from '../Header.svelte';
</script>

<!-- <section id="keynote">
<section id="keynote">
<Header>Keynote</Header>
<div class="keynote-wrapper">
<div class="image">
Expand All @@ -26,9 +26,9 @@
</p>
</div>
</div>
</section> -->
</section>

<!-- <style lang="scss">
<style lang="scss">
.keynote-wrapper {
display: flex;
justify-content: center;
Expand Down Expand Up @@ -82,4 +82,4 @@
}
}
}
</style> -->
</style>
38 changes: 19 additions & 19 deletions src/lib/components/sections/Schedule.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,33 @@
import Header from '../Header.svelte';
</script>

<!-- <section id="schedule">
<section id="schedule">
<Header>Schedule</Header>
<p>Take a look at the schedule for the hackathon this weekend! Get excited for the workshops, socials, and food!</p>
<div class="schedule">
<div><img src="images/schedule1.png" alt="Saturday schedule" /></div>
<div><img src="images/schedule2.png" alt="Sunday schedule" /></div>
</div>
</section> -->
</section>

<style lang="scss">
// .schedule {
// margin-top: 3em;
// display: flex;
// position: relative;
// gap: 4em 3em;
.schedule {
margin-top: 3em;
display: flex;
position: relative;
gap: 4em 3em;
// @include respond-to('small') {
// flex-direction: column;
// }
@include respond-to('small') {
flex-direction: column;
}
// div {
// flex: 1;
// img {
// border-radius: 1.2em;
// border: $brown 3px solid;
// width: 100%;
// }
// }
// }
div {
flex: 1;
img {
border-radius: 1.2em;
border: $brown 3px solid;
width: 100%;
}
}
}
</style>
2 changes: 1 addition & 1 deletion src/lib/components/sections/Sponsors.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<div class="thank-you-message">
<p>
A huge thank you to all our sponsors and contributors! If you're interested in sponsoring
AthenaHacks 2024, please contact us at <a href="mailto:[email protected]"
AthenaHacks 2025, please contact us at <a href="mailto:[email protected]"
>[email protected]</a
>
</p>
Expand Down
4 changes: 0 additions & 4 deletions src/lib/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ $blue: #BFE2FF;
$dark-blue: #93DDFC;
$brown: #401E0A;
$light-brown: #5A3019;
// $pink: #FFB5CB;
$pink-hover: #ff83a8;
// $green: #C6EDC5;
$earth-green: #A3CB8F;
$purple: #5F4DD2;
$gold: #FFCB77;
Expand All @@ -18,8 +16,6 @@ $dark-brown: #85382A;
$green: #62C34F;

$text-gray: #322E39;
// $text-pink: #F30075;
$text-pink: #EE98A3;
// $text-green: #4F5F10;
$text-green: #2B310B;
$text-brown: #85382A;
6 changes: 0 additions & 6 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@
width: 30%;
height: auto;
}
// p {
// font-family: 'Lilita One', sans-serif;
// color: $brown;
// font-size: 2rem;
// }
}
}
}
Expand Down
Binary file modified static/images/hero-section-leaf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6b63045

Please sign in to comment.