-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Code of Conduct (filled out) and Privacy Policy (placeholder) p…
…ages
- Loading branch information
1 parent
6ce236b
commit 6420b0d
Showing
10 changed files
with
325 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<svg | ||
class="arrow" | ||
fill="none" | ||
viewBox="0 0 20 16" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M19.1924 8.70711C19.5829 8.31658 19.5829 7.68343 19.1924 7.29289L12.8284 0.928933C12.4379 0.538412 11.8047 1.24551 11.4142 1.63604C11.0237 2.02656 10.3166 2.65973 10.7071 3.05025L15.6569 8L10.7071 12.9497C10.3166 13.3403 11.0237 13.9734 11.4142 14.364C11.8047 14.7545 12.4379 15.4616 12.8284 15.0711L19.1924 8.70711ZM0.100505 9.41421H17.0711V6.58579H0.100505V8V9.41421Z" | ||
fill="currentColor" | ||
> | ||
</path> | ||
</svg> | ||
|
||
<style> | ||
.arrow { | ||
height: 0.7em; | ||
transform: rotate(180deg); | ||
width: 0.7em; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
--- | ||
import SquiggleWave from "./SquiggleWave.astro"; | ||
import SquiggleLong from "~/assets/squiggle-long.svg"; | ||
import ThemeToggle from "./ThemeToggle.astro"; | ||
--- | ||
|
||
<div class="hero"> | ||
<ThemeToggle /> | ||
<div class="squiggles"> | ||
<SquiggleWave left={-5} scale={0.5} top={5} /> | ||
<SquiggleWave left={20} scale={0.5} top={5} /> | ||
<SquiggleWave left={45} scale={0.5} top={5} /> | ||
<SquiggleWave left={70} scale={0.5} top={5} /> | ||
<SquiggleWave left={95} scale={0.5} top={5} /> | ||
<SquiggleWave left={-10} scale={0.65} top={30} /> | ||
<SquiggleWave left={15} scale={0.65} top={30} /> | ||
<SquiggleWave left={40} scale={0.65} top={30} /> | ||
<SquiggleWave left={65} scale={0.65} top={30} /> | ||
<SquiggleWave left={90} scale={0.65} top={30} /> | ||
<SquiggleWave left={-15} scale={0.85} top={55} /> | ||
<SquiggleWave left={10} scale={0.85} top={55} /> | ||
<SquiggleWave left={35} scale={0.85} top={55} /> | ||
<SquiggleWave left={60} scale={0.85} top={55} /> | ||
<SquiggleWave left={85} scale={0.85} top={55} /> | ||
<SquiggleWave left={-20} scale={1} top={85} /> | ||
<SquiggleWave left={5} scale={1} top={85} /> | ||
<SquiggleWave left={30} scale={1} top={85} /> | ||
<SquiggleWave left={55} scale={1} top={85} /> | ||
<SquiggleWave left={80} scale={1} top={85} /> | ||
</div> | ||
<div class="contents"> | ||
<slot /> | ||
</div> | ||
<div | ||
class="wave-long" | ||
style={{ "background-image": `url(${SquiggleLong.src})` }} | ||
> | ||
</div> | ||
</div> | ||
|
||
<style> | ||
.hero { | ||
background: linear-gradient(180deg, #002547 0%, #156283 100%); | ||
overflow: hidden; | ||
padding: clamp(2.5rem, 7.5vw, 5rem) 2rem; | ||
position: relative; | ||
text-align: center; | ||
} | ||
|
||
.squiggles { | ||
bottom: 0; | ||
left: 0; | ||
mask-image: radial-gradient(circle at center, transparent 10%, #000 80%); | ||
position: absolute; | ||
right: 0; | ||
top: 0; | ||
user-select: none; | ||
} | ||
|
||
.squiggle { | ||
position: absolute; | ||
} | ||
|
||
.contents { | ||
align-items: center; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 2rem; | ||
position: relative; | ||
} | ||
|
||
.wave-long { | ||
width: 100%; | ||
position: absolute; | ||
bottom: -0.5rem; | ||
height: 1rem; | ||
right: 0; | ||
left: 0; | ||
} | ||
|
||
html.dark .wave-long { | ||
/* border: 10px solid #11141b; */ | ||
filter: invert(); | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
import Arrow from "~/components/Arrow.astro"; | ||
import Heading from "~/components/Heading.astro"; | ||
import Hero from "~/components/Hero.astro"; | ||
--- | ||
|
||
<Hero> | ||
<div> | ||
<Heading class="hero-heading" level="h1"><slot /></Heading> | ||
<a class="back" href="/"> | ||
<Arrow /> | ||
SquiggleConf | ||
</a> | ||
</div> | ||
</Hero> | ||
|
||
<style> | ||
.hero-heading { | ||
color: var(--colorOffWhite); | ||
font-size: var(--fontSizeHero); | ||
} | ||
|
||
.back { | ||
color: var(--colorInvertedMild); | ||
font-family: var(--fontFamilyBody); | ||
text-decoration: none; | ||
font-size: var(--fontSizeH3); | ||
text-align: left; | ||
display: block; | ||
} | ||
|
||
.code-of-conduct-contents { | ||
margin: 3.5rem var(--widthBodyPadding) 5rem; | ||
} | ||
|
||
.contents-body-text { | ||
margin: 2rem auto; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,10 @@ | ||
--- | ||
import HeroName from "./HeroName.astro"; | ||
import SquiggleWave from "./SquiggleWave.astro"; | ||
import SquiggleLong from "~/assets/squiggle-long.svg"; | ||
import AnchorButton from "./AnchorButton.astro"; | ||
import ThemeToggle from "./ThemeToggle.astro"; | ||
import Hero from "./Hero.astro"; | ||
import HeroName from "./HeroName.astro"; | ||
--- | ||
|
||
<div class="primary-hero"> | ||
<ThemeToggle /> | ||
<div class="squiggles"> | ||
<SquiggleWave left={-5} scale={0.5} top={5} /> | ||
<SquiggleWave left={20} scale={0.5} top={5} /> | ||
<SquiggleWave left={45} scale={0.5} top={5} /> | ||
<SquiggleWave left={70} scale={0.5} top={5} /> | ||
<SquiggleWave left={95} scale={0.5} top={5} /> | ||
<SquiggleWave left={-10} scale={0.65} top={30} /> | ||
<SquiggleWave left={15} scale={0.65} top={30} /> | ||
<SquiggleWave left={40} scale={0.65} top={30} /> | ||
<SquiggleWave left={65} scale={0.65} top={30} /> | ||
<SquiggleWave left={90} scale={0.65} top={30} /> | ||
<SquiggleWave left={-15} scale={0.85} top={55} /> | ||
<SquiggleWave left={10} scale={0.85} top={55} /> | ||
<SquiggleWave left={35} scale={0.85} top={55} /> | ||
<SquiggleWave left={60} scale={0.85} top={55} /> | ||
<SquiggleWave left={85} scale={0.85} top={55} /> | ||
<SquiggleWave left={-20} scale={1} top={85} /> | ||
<SquiggleWave left={5} scale={1} top={85} /> | ||
<SquiggleWave left={30} scale={1} top={85} /> | ||
<SquiggleWave left={55} scale={1} top={85} /> | ||
<SquiggleWave left={80} scale={1} top={85} /> | ||
</div> | ||
<div class="contents"> | ||
<HeroName color="inverted" level="h1" /> | ||
<AnchorButton>$350 Early Bird Tickets</AnchorButton> | ||
</div> | ||
<div | ||
class="wave-long" | ||
style={{ "background-image": `url(${SquiggleLong.src})` }} | ||
> | ||
</div> | ||
</div> | ||
|
||
<style> | ||
.primary-hero { | ||
background: linear-gradient(180deg, #002547 0%, #156283 100%); | ||
overflow: hidden; | ||
padding: clamp(2.5rem, 7.5vw, 5rem) 2rem; | ||
position: relative; | ||
text-align: center; | ||
} | ||
|
||
.squiggles { | ||
bottom: 0; | ||
left: 0; | ||
mask-image: radial-gradient(circle at center, transparent 10%, #000 80%); | ||
position: absolute; | ||
right: 0; | ||
top: 0; | ||
user-select: none; | ||
} | ||
|
||
.squiggle { | ||
position: absolute; | ||
} | ||
|
||
.contents { | ||
align-items: center; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 2rem; | ||
position: relative; | ||
} | ||
|
||
.wave-long { | ||
width: 100%; | ||
position: absolute; | ||
bottom: -0.5rem; | ||
height: 1rem; | ||
right: 0; | ||
left: 0; | ||
} | ||
|
||
html.dark .wave-long { | ||
/* border: 10px solid #11141b; */ | ||
filter: invert(); | ||
} | ||
</style> | ||
<Hero> | ||
<HeroName color="inverted" level="h1" /> | ||
<AnchorButton>$350 Early Bird Tickets</AnchorButton> | ||
</Hero> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,11 @@ | |
margin: 0; | ||
} | ||
|
||
a { | ||
color: inherit; | ||
text-decoration-thickness: 1px; | ||
} | ||
|
||
h1, | ||
h2, | ||
h3, | ||
|
Oops, something went wrong.