-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
172 additions
and
171 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
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,26 +1,26 @@ | ||
--- | ||
import NavBar from "./Navbar"; | ||
import Hero from "./Hero.astro"; | ||
import NavBar from './Navbar'; | ||
import Hero from './Hero.astro'; | ||
--- | ||
|
||
<header> | ||
<NavBar | ||
links={[ | ||
{ name: "About", url: "#about" }, | ||
{ name: "Non Profits", url: "#nonprofits" }, | ||
{ name: "Schedule", url: "#schedule" }, | ||
{ name: "FAQ", url: "#faq" } | ||
]} | ||
client:load | ||
/> | ||
<Hero /> | ||
<NavBar | ||
links={[ | ||
{ name: 'About', url: '#about' }, | ||
{ name: 'Non Profits', url: '#nonprofits' }, | ||
{ name: 'Schedule', url: '#schedule' }, | ||
{ name: 'FAQ', url: '#faq' }, | ||
]} | ||
client:load | ||
/> | ||
<Hero /> | ||
</header> | ||
|
||
<style> | ||
header { | ||
min-height: 100svh; | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
header { | ||
min-height: 100svh; | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
</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 |
---|---|---|
@@ -1,68 +1,67 @@ | ||
<div class="container"> | ||
<main> | ||
<div> | ||
<h3 class="gray">Cal Hacks x Blueprint</h3> | ||
<h1>Hack the Bay</h1> | ||
<div class="spacer"></div> | ||
</div> | ||
<div> | ||
<h2>February 25, 2024</h2> | ||
<p class="gray"> | ||
Pauley Ballroom @ University of California, Berkeley | ||
</p> | ||
<p class="spacer"> | ||
We are connecting a community of leaders, creators, and change | ||
makers to tackle social challenges. | ||
</p> | ||
<h4 class="spacer"> | ||
Registration is opening soon — stay tuned! In the meantime, | ||
follow @calblueprint and @calhacks on Instagram for updates. | ||
</h4> | ||
</div> | ||
</main> | ||
<aside></aside> | ||
<main> | ||
<div> | ||
<h3 class="gray">Cal Hacks x Blueprint</h3> | ||
<h1>Hack the Bay</h1> | ||
<div class="spacer"></div> | ||
</div> | ||
<div> | ||
<h2>February 25, 2024</h2> | ||
<p class="gray">Pauley Ballroom @ University of California, Berkeley</p> | ||
<p class="spacer"> | ||
We are connecting a community of leaders, creators, and change makers to | ||
tackle social challenges. | ||
</p> | ||
<h4 class="spacer"> | ||
Registration is opening soon — stay tuned! In the meantime, follow | ||
@calblueprint and @calhacks on Instagram for updates. | ||
</h4> | ||
</div> | ||
</main> | ||
<aside></aside> | ||
</div> | ||
|
||
<style lang="scss"> | ||
@use "../styles/breakpoints" as breakpoints; | ||
@use '../styles/breakpoints' as breakpoints; | ||
@use '../styles/colors' as colors; | ||
|
||
.container { | ||
display: flex; | ||
flex-grow: 1; | ||
width: 100%; | ||
padding-left: 1rem; | ||
position: relative; | ||
.container { | ||
display: flex; | ||
flex-grow: 1; | ||
width: 100%; | ||
padding-left: 1rem; | ||
position: relative; | ||
|
||
@media (min-width: breakpoints.$laptop) { | ||
padding: 0 5rem 5rem 5rem; | ||
} | ||
@media (min-width: breakpoints.$laptop) { | ||
padding: 0 5rem 5rem 5rem; | ||
} | ||
} | ||
|
||
main { | ||
margin: auto 0; | ||
main { | ||
margin: auto 0; | ||
|
||
div:last-child { | ||
width: 60%; | ||
} | ||
div:last-child { | ||
width: 60%; | ||
} | ||
} | ||
|
||
.gray { | ||
color: var(--col-gray); | ||
} | ||
.gray { | ||
color: colors.$gray; | ||
} | ||
|
||
div.spacer { | ||
height: 0.5rem; | ||
div.spacer { | ||
height: 0.5rem; | ||
|
||
@media (min-width: 500px) { | ||
visibility: hidden; | ||
} | ||
@media (min-width: breakpoints.$phone) { | ||
visibility: hidden; | ||
} | ||
} | ||
|
||
p.spacer { | ||
margin-top: 1.5rem; | ||
} | ||
p.spacer { | ||
margin-top: 1.5rem; | ||
} | ||
|
||
h4.spacer { | ||
margin-top: 4rem; | ||
} | ||
h4.spacer { | ||
margin-top: 4rem; | ||
} | ||
</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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<main> | ||
<slot /> | ||
<slot /> | ||
</main> | ||
|
||
<style> | ||
main { | ||
min-height: 100svh; | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
main { | ||
min-height: 100svh; | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
</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 |
---|---|---|
@@ -1,102 +1,102 @@ | ||
--- | ||
import "@fontsource-variable/lexend-deca"; | ||
import '@fontsource-variable/lexend-deca'; | ||
interface Props { | ||
title: string; | ||
title: string; | ||
} | ||
const { title } = Astro.props; | ||
--- | ||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="description" content="Astro description" /> | ||
<meta name="viewport" content="width=device-width" /> | ||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" /> | ||
<meta name="generator" content={Astro.generator} /> | ||
<title>{title}</title> | ||
</head> | ||
<body> | ||
<slot /> | ||
</body> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="description" content="Astro description" /> | ||
<meta name="viewport" content="width=device-width" /> | ||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" /> | ||
<meta name="generator" content={Astro.generator} /> | ||
<title>{title}</title> | ||
</head> | ||
<body> | ||
<slot /> | ||
</body> | ||
</html> | ||
|
||
<style is:global lang="scss"> | ||
@use "../styles/breakpoints.scss" as breakpoints; | ||
@use "../styles/colors.scss" as colors; | ||
|
||
html { | ||
font-family: "Lexend Deca Variable", system-ui, sans-serif; | ||
background: colors.$background; | ||
} | ||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
/* text styles */ | ||
@use '../styles/breakpoints.scss' as breakpoints; | ||
@use '../styles/colors.scss' as colors; | ||
|
||
html { | ||
font-family: 'Lexend Deca Variable', system-ui, sans-serif; | ||
background: colors.$background; | ||
} | ||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
/* text styles */ | ||
h1 { | ||
font-size: 3rem; | ||
line-height: 1; | ||
font-weight: 700; | ||
} | ||
|
||
h2 { | ||
font-size: 0.875rem; | ||
font-weight: 500; | ||
line-height: 1.25; | ||
} | ||
|
||
h3 { | ||
font-size: 0.75rem; | ||
font-weight: 300; | ||
line-height: 1; | ||
} | ||
|
||
h4, | ||
p { | ||
font-size: 0.75rem; | ||
font-weight: 300; | ||
} | ||
|
||
a { | ||
color: inherit; | ||
text-decoration: none; | ||
} | ||
|
||
button { | ||
background: none; | ||
border: none; | ||
} | ||
|
||
/* large screens */ | ||
@media (min-width: breakpoints.$tablet) { | ||
h1 { | ||
font-size: 3rem; | ||
line-height: 1; | ||
font-weight: 700; | ||
font-size: 6rem; | ||
} | ||
|
||
h2 { | ||
font-size: 0.875rem; | ||
font-weight: 500; | ||
line-height: 1.25; | ||
font-size: 2.25rem; | ||
line-height: 2.5rem; | ||
} | ||
|
||
h3 { | ||
font-size: 0.75rem; | ||
font-weight: 300; | ||
line-height: 1; | ||
font-size: 1.5rem; | ||
line-height: 2rem; | ||
} | ||
|
||
h4, | ||
p { | ||
font-size: 0.75rem; | ||
font-weight: 300; | ||
h4 { | ||
font-size: 1.25rem; | ||
line-height: 1.75rem; | ||
} | ||
|
||
a { | ||
color: inherit; | ||
text-decoration: none; | ||
} | ||
|
||
button { | ||
background: none; | ||
border: none; | ||
} | ||
|
||
/* large screens */ | ||
@media (min-width: breakpoints.$tablet) { | ||
h1 { | ||
font-size: 6rem; | ||
} | ||
|
||
h2 { | ||
font-size: 2.25rem; | ||
line-height: 2.5rem; | ||
} | ||
|
||
h3 { | ||
font-size: 1.5rem; | ||
line-height: 2rem; | ||
} | ||
|
||
h4 { | ||
font-size: 1.25rem; | ||
line-height: 1.75rem; | ||
} | ||
|
||
p { | ||
font-size: 1.125rem; | ||
line-height: 1.75rem; | ||
} | ||
p { | ||
font-size: 1.125rem; | ||
line-height: 1.75rem; | ||
} | ||
} | ||
</style> |
Oops, something went wrong.