1
1
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:
2024-07-31 11:41:39 +02:00
parent ceeeb2f9c5
commit b5c50728de
72 changed files with 122 additions and 114 deletions

View File

@ -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 {}

View File

@ -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"

View File

@ -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"

View File

@ -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>

View File

@ -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>