-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: review design with a bit of neo brutalism (#88)
* feat: review design with a bit of neo brutalism * feat: new fonts * style: over sharp * feat: hover effect * feat: review text * feat: review colors * style: footer * feat: review size and border * feat: review footer * feat: review * feat: spacing * feat: narrow menu
- Loading branch information
1 parent
a3275d5
commit 5945d4c
Showing
63 changed files
with
369 additions
and
1,610 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
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
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
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,64 @@ | ||
<script lang="ts"> | ||
import Hamburger from '$lib/components/hamburger.svelte'; | ||
import Menu from '$lib/components/menu.svelte'; | ||
let open = false; | ||
let hamburger: Hamburger; | ||
const onStateChange = ({ detail }: CustomEvent<boolean>) => (open = detail); | ||
const close = () => hamburger.close(); | ||
</script> | ||
|
||
<header> | ||
<div class="title"> | ||
<a href="/" aria-label="Go to daviddalbusco.com home page"><h3>David Dal Busco</h3></a> | ||
</div> | ||
|
||
<div class="menu"><Hamburger bind:this={hamburger} on:state={onStateChange} /></div> | ||
</header> | ||
|
||
<Menu on:close={close} {open} /> | ||
|
||
<style lang="scss"> | ||
header { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: flex-end; | ||
padding: 0 1.45rem 0 0; | ||
@media screen and (max-width: 576px) { | ||
background: black; | ||
} | ||
} | ||
.title { | ||
height: 3rem; | ||
display: flex; | ||
align-items: center; | ||
background: black; | ||
color: white; | ||
padding: 0 1.45rem 0 1.25rem; | ||
} | ||
.menu { | ||
border-left: 0.25rem solid black; | ||
padding: 0 0 0 1.45rem; | ||
} | ||
h3 { | ||
margin: 0; | ||
@media screen and (max-width: 960px) { | ||
font-size: 1rem; | ||
} | ||
} | ||
a { | ||
text-decoration: none; | ||
} | ||
</style> |
Oops, something went wrong.