Used page component and button
This commit is contained in:
parent
970ffd1f1d
commit
a15f4947e3
2 changed files with 16 additions and 18 deletions
|
|
@ -2,17 +2,21 @@
|
|||
import Layout from '../layouts/Layout.astro'
|
||||
import Button from '../builtin-components/Button/Button.tsx'
|
||||
import Image from '../builtin-components/Image/Image'
|
||||
import Page from '../builtin-components/Page/Page'
|
||||
---
|
||||
|
||||
<Layout title="Home">
|
||||
<main class="page">
|
||||
<h1>Second Page</h1>
|
||||
<Button label="Back to Home" to="/" />
|
||||
<Page alignment='column'>
|
||||
<h1>Built-in Components</h1>
|
||||
<Button edges='rounded' label="Back to Home" to="/" />
|
||||
|
||||
<section class="image">
|
||||
<Image src="sample.png" alt="Example Image" size={400} />
|
||||
<Image src="sample.png" alt="Example Image" size={400} />
|
||||
<Image src="sample.png" alt="Example Image" size={400} />
|
||||
<Image src="sample.png" alt="Example Image" size={400} />
|
||||
</section>
|
||||
</main>
|
||||
</Page>
|
||||
</Layout>
|
||||
|
||||
<style lang="sass">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue