feat: initial commit
This commit is contained in:
commit
662a249ad3
192 changed files with 24641 additions and 0 deletions
17
src/pages/index.astro
Normal file
17
src/pages/index.astro
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
import Layout from "@layouts/Layout.astro";
|
||||
import Intro from "@components/home/Intro.astro";
|
||||
import RecentActivity from "@components/home/RecentActivity.astro";
|
||||
import RecentPosts from "@components/home/RecentPosts.astro";
|
||||
import { fetchGlobalData } from "@utils/data/global/index.js";
|
||||
|
||||
export const prerender = true;
|
||||
|
||||
const { globals } = await fetchGlobalData(Astro);
|
||||
---
|
||||
|
||||
<Layout>
|
||||
<Intro intro={globals.intro} />
|
||||
<RecentActivity />
|
||||
<RecentPosts />
|
||||
</Layout>
|
Reference in a new issue