diff --git a/src/components/pages/About.astro b/src/components/widgets/About.astro similarity index 100% rename from src/components/pages/About.astro rename to src/components/widgets/About.astro diff --git a/src/components/features/FootnoteScroll.astro b/src/components/widgets/FootnoteScroll.astro similarity index 100% rename from src/components/features/FootnoteScroll.astro rename to src/components/widgets/FootnoteScroll.astro diff --git a/src/components/features/FormattedDate.astro b/src/components/widgets/FormattedDate.astro similarity index 100% rename from src/components/features/FormattedDate.astro rename to src/components/widgets/FormattedDate.astro diff --git a/src/components/features/PostList.astro b/src/components/widgets/PostList.astro similarity index 96% rename from src/components/features/PostList.astro rename to src/components/widgets/PostList.astro index 3340ead..463979c 100644 --- a/src/components/features/PostList.astro +++ b/src/components/widgets/PostList.astro @@ -1,5 +1,5 @@ --- -import FormattedDate from '@/components/features/FormattedDate.astro' +import FormattedDate from '@/components/widgets/FormattedDate.astro' import type { PostListProps } from '@/types' import { themeConfig } from '@/config' diff --git a/src/layouts/PostLayout.astro b/src/layouts/PostLayout.astro index d8c7429..609c714 100644 --- a/src/layouts/PostLayout.astro +++ b/src/layouts/PostLayout.astro @@ -1,8 +1,8 @@ --- import '@/styles/global.css' import type { PostLayoutProps } from '@/types' -import FormattedDate from '@/components/features/FormattedDate.astro' -import FootnoteScroll from '@/components/features/FootnoteScroll.astro' +import FormattedDate from '@/components/widgets/FormattedDate.astro' +import FootnoteScroll from '@/components/widgets/FootnoteScroll.astro' import BaseHead from '@/components/layout/BaseHead.astro' import Footer from '@/components/layout/Footer.astro' import BackButton from '@/components/ui/BackButton.astro' diff --git a/src/pages/index.astro b/src/pages/index.astro index 1dda6e5..6d184f9 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,7 +1,7 @@ --- import IndexLayout from '@/layouts/IndexLayout.astro' -import About from '@/components/pages/About.astro' -import PostList from '@/components/features/PostList.astro' +import About from '@/components/widgets/About.astro' +import PostList from '@/components/widgets/PostList.astro' import { themeConfig } from '@/config' import { getSortedFilteredPosts } from '@/utils/draft'