Skip to content

Commit

Permalink
feat: create Hero component
Browse files Browse the repository at this point in the history
  • Loading branch information
Fariz Rizaldy committed Jan 13, 2020
1 parent 5e689f5 commit d0e7513
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/components/Hero.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<style>
div {
width: 100%;
}
@media screen and (min-width: 60em) {
div {
width: 60%;
}
}
</style>

<div>
<slot />
</div>

0 comments on commit d0e7513

Please sign in to comment.