mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-05-29 22:37:44 +02:00
refactor: components struture
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
"use client"
|
||||
|
||||
import Giscus from "@giscus/react"
|
||||
import { useTheme } from "@repo/ui/Header/SwitchTheme"
|
||||
import { useTheme } from "@repo/ui/Layout/Header/SwitchTheme"
|
||||
|
||||
interface BlogPostCommentsProps {}
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { getISODate } from "@repo/utils/dates"
|
||||
import "katex/dist/katex.min.css"
|
||||
|
||||
import { Typography } from "@repo/ui/design/Typography"
|
||||
import { MainLayout } from "@repo/ui/MainLayout"
|
||||
import { Typography } from "@repo/ui/Design/Typography"
|
||||
import { MainLayout } from "@repo/ui/Layout/MainLayout"
|
||||
import type { BlogPost } from "./BlogPost"
|
||||
import { BlogPostContent } from "./BlogPostContent"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Link } from "@repo/i18n/navigation"
|
||||
import { Section, SectionContent } from "@repo/ui/design/Section"
|
||||
import { Typography } from "@repo/ui/design/Typography"
|
||||
import { Typography } from "@repo/ui/Design/Typography"
|
||||
import { Section, SectionContent } from "@repo/ui/Layout/Section"
|
||||
import { getISODate } from "@repo/utils/dates"
|
||||
import type { BlogPost } from "./BlogPost"
|
||||
|
||||
|
@ -4,7 +4,7 @@ import { BLOG_POST_MOCK } from "../BlogPost"
|
||||
import { BlogPostUI as BlogPostUIComponent } from "../BlogPostUI"
|
||||
|
||||
const meta = {
|
||||
title: "Feature/Blog/BlogPostUI",
|
||||
title: "Blog/BlogPostUI",
|
||||
component: BlogPostUIComponent,
|
||||
} satisfies Meta<typeof BlogPostUIComponent>
|
||||
|
||||
|
@ -4,7 +4,7 @@ import { BLOG_POST_MOCK } from "../BlogPost"
|
||||
import { BlogPosts as BlogPostsComponent } from "../BlogPosts"
|
||||
|
||||
const meta = {
|
||||
title: "Feature/Blog/BlogPosts",
|
||||
title: "Blog/BlogPosts",
|
||||
component: BlogPostsComponent,
|
||||
} satisfies Meta<typeof BlogPostsComponent>
|
||||
|
||||
|
Reference in New Issue
Block a user