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 Layout from '../layouts/Layout.astro'
|
||||||
import Button from '../builtin-components/Button/Button.tsx'
|
import Button from '../builtin-components/Button/Button.tsx'
|
||||||
|
import Image from '../builtin-components/Image/Image'
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title="Home">
|
<Layout title="Home">
|
||||||
<main class="page">
|
<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" />
|
<Button label="Next Page" to="/next" />
|
||||||
</main>
|
</main>
|
||||||
</Layout>
|
|
||||||
|
|
||||||
<style lang="sass">
|
<style lang="sass">
|
||||||
.page
|
.page
|
||||||
display: flex
|
display: flex
|
||||||
flex-direction: column
|
flex-direction: column
|
||||||
text-align: center
|
flex-wrap: wrap
|
||||||
justify-content: center
|
justify-content: center
|
||||||
align-items: center
|
align-items: center
|
||||||
margin: 2rem
|
align-content: center
|
||||||
</style>
|
margin: 2rem
|
||||||
|
height: 90vh
|
||||||
|
|
||||||
|
|
||||||
|
</style>
|
||||||
|
</Layout>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue