refactor: change routing to astro
This commit is contained in:
15
src/pages/index.astro
Normal file
15
src/pages/index.astro
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
import Layout from '../layouts/Layout.astro'
|
||||
import '../styles/globals.css'
|
||||
import { Header } from '../components/Header'
|
||||
import { Footer } from '../components/Footer'
|
||||
import { HomePage } from '../views/HomePage'
|
||||
---
|
||||
|
||||
<Layout>
|
||||
<div class="min-h-screen bg-white w-full overflow-x-hidden">
|
||||
<Header client:load />
|
||||
<HomePage client:load />
|
||||
<Footer client:load />
|
||||
</div>
|
||||
</Layout>
|
||||
Reference in New Issue
Block a user