Updated index page
This commit is contained in:
parent
d0652e52a5
commit
bb876895a3
1 changed files with 20 additions and 11 deletions
|
|
@ -1,21 +1,30 @@
|
|||
---
|
||||
import Layout from '../layouts/Layout.astro'
|
||||
import Button from '../builtin-components/Button/Button.tsx'
|
||||
import Image from '../builtin-components/Image/Image'
|
||||
---
|
||||
|
||||
<Layout title="Home">
|
||||
<main class="page">
|
||||
<h1>Main Page</h1>
|
||||
<!-- <section class="image"> -->
|
||||
<Image src="fwt.png" size={250} />
|
||||
<!-- </section> -->
|
||||
|
||||
<h1>Fast WebApp Template</h1>
|
||||
<Button label="Next Page" to="/next" />
|
||||
</main>
|
||||
</Layout>
|
||||
|
||||
<style lang="sass">
|
||||
.page
|
||||
display: flex
|
||||
flex-direction: column
|
||||
text-align: center
|
||||
justify-content: center
|
||||
align-items: center
|
||||
margin: 2rem
|
||||
</style>
|
||||
<style lang="sass">
|
||||
.page
|
||||
display: flex
|
||||
flex-direction: column
|
||||
flex-wrap: wrap
|
||||
justify-content: center
|
||||
align-items: center
|
||||
align-content: center
|
||||
margin: 2rem
|
||||
height: 90vh
|
||||
|
||||
|
||||
</style>
|
||||
</Layout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue