Skip to content

Commit

Permalink
[setup] fonts, graphics, texts (#6)
Browse files Browse the repository at this point in the history
* add graphics and fonts

* setup colors

* setup global text styles

* include span text style

* add additional graphics

* update pr template
  • Loading branch information
jinkang-0 authored Jan 10, 2024
1 parent 0d2122f commit a9387c6
Show file tree
Hide file tree
Showing 33 changed files with 634 additions and 94 deletions.
5 changes: 5 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
### What's new?
[//]: # "Describe what's new in a few lines or bullet points. Feel free to add screenshots!"



#### Linear Task
[//]: # "Link the Linear task that this PR finishes for sake of organization"
Binary file added public/fonts/apercupro_bold.otf
Binary file not shown.
Binary file added public/fonts/apercupro_bold_italic.otf
Binary file not shown.
Binary file added public/fonts/apercupro_medium.otf
Binary file not shown.
Binary file added public/fonts/apercupro_medium_italic.otf
Binary file not shown.
Binary file added public/fonts/apercupro_mono_bold.ttf
Binary file not shown.
Binary file added public/fonts/apercupro_mono_light.ttf
Binary file not shown.
Binary file added public/fonts/apercupro_mono_medium.ttf
Binary file not shown.
Binary file added public/fonts/apercupro_mono_regular.ttf
Binary file not shown.
Binary file added public/fonts/apercupro_regular.otf
Binary file not shown.
Binary file added public/fonts/apercupro_regular_italic.otf
Binary file not shown.
9 changes: 2 additions & 7 deletions src/components/Hero.astro
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<div class="container">
<main>
<div>
<h3 class="gray">Cal Hacks x Blueprint</h3>
<h3>Cal Hacks x Blueprint</h3>
<h1>Hack for Impact</h1>
<div class="spacer"></div>
</div>
<div>
<h2>February 25, 2024</h2>
<p class="gray">Pauley Ballroom @ University of California, Berkeley</p>
<p>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.
Expand All @@ -23,7 +23,6 @@

<style lang="scss">
@use '../styles/breakpoints';
@use '../styles/colors';

.container {
display: flex;
Expand All @@ -45,10 +44,6 @@
}
}

.gray {
color: colors.$gray;
}

div.spacer {
height: 0.5rem;

Expand Down
1 change: 0 additions & 1 deletion src/components/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export default function NavBar({ links }: Props) {
onClick={() => setMenuVisible(!menuVisible)}
>
<svg
className="w-full h-full"
width="30"
height="30"
viewBox="0 0 30 30"
Expand Down
13 changes: 11 additions & 2 deletions src/components/Navbar/style.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
height: 1.5rem;
width: 1.5rem;
border-radius: 99999px;
background: colors.$gray;
background: colors.$accent;
z-index: 10;
}

Expand All @@ -28,12 +28,18 @@
flex-direction: column;
justify-content: space-between;
z-index: 10;
padding: 0;

@media (min-width: breakpoints.$tablet) {
visibility: hidden;
}
}

.button > svg {
width: 100%;
height: 100%;
}

.backdrop {
position: absolute;
left: 0;
Expand Down Expand Up @@ -70,7 +76,6 @@
align-items: flex-end;

background: rgba(0, 0, 0, 0.3);
color: white;
font-weight: 300;

width: 100%;
Expand All @@ -82,3 +87,7 @@
visibility: hidden;
}
}

.mobileLinks > a {
color: white;
}
8 changes: 8 additions & 0 deletions src/graphics/arrows.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
105 changes: 105 additions & 0 deletions src/graphics/bear.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions src/graphics/brand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/graphics/clouds_star_twirl_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions src/graphics/clouds_star_twirl_2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a9387c6

Please sign in to comment.