Updated index page

This commit is contained in:
Patrick Alvin Alcala 2025-08-26 16:23:59 +08:00
parent d0652e52a5
commit bb876895a3

View file

@ -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>