dependabot/npm_and_yarn/tsx-4.23.15
dependabot/npm_and_yarn/astro-7.4.0
dependabot/npm_and_yarn/astrojs/mdx-7.0.8
dependabot/npm_and_yarn/astrojs/sitemap-3.7.4
dependabot/npm_and_yarn/katex-0.19.0
dependabot/npm_and_yarn/prettier-3.9.10
dependabot/npm_and_yarn/sharp-0.35.5
dependabot/npm_and_yarn/tsx-4.23.15
dependabot/npm_and_yarn/typescript-eslint-8.71.2
dependabot/npm_and_yarn/typescript-eslint/parser-8.71.2
development
main
| 1 | --- |
| 2 | import IndexLayout from '@/layouts/IndexLayout.astro' |
| 3 | import About from '@/components/pages/About.astro' |
| 4 | import PostList from '@/components/features/PostList.astro' |
| 5 | import { SITE } from '@/config' |
| 6 | import { getSortedFilteredPosts } from '@/utils/draft' |
| 7 | |
| 8 | const posts = await getSortedFilteredPosts() |
| 9 | --- |
| 10 | |
| 11 | <IndexLayout title={SITE.title} description={SITE.description}> |
| 12 | <About /> |
| 13 | <main> |
| 14 | <PostList posts={posts} /> |
| 15 | </main> |
| 16 | </IndexLayout> |