diff --git a/app/[locale]/(blog)/article/[...slug]/page.tsx b/app/[locale]/(blog)/article/[...slug]/page.tsx index b8b70b8..830ddf6 100644 --- a/app/[locale]/(blog)/article/[...slug]/page.tsx +++ b/app/[locale]/(blog)/article/[...slug]/page.tsx @@ -106,7 +106,6 @@ export default async function Page({ params }: { params: { slug: string[]; local return (
diff --git a/app/[locale]/(blog)/project/page.tsx b/app/[locale]/(blog)/project/page.tsx index 1ca058f..93c132c 100644 --- a/app/[locale]/(blog)/project/page.tsx +++ b/app/[locale]/(blog)/project/page.tsx @@ -28,7 +28,7 @@ export default async function Home({ searchParams }: Props) { const subpost = posts.slice((page - 1) * env.POST_PAGE_SIZES, page * env.POST_PAGE_SIZES); return ( - + Project diff --git a/app/[locale]/(lobby)/page.tsx b/app/[locale]/(lobby)/page.tsx index 93fa9c9..bd823cf 100644 --- a/app/[locale]/(lobby)/page.tsx +++ b/app/[locale]/(lobby)/page.tsx @@ -36,11 +36,7 @@ export default async function Home({ searchParams }: Props) { {t("Description")} - + {/* */} {page == 1 && } diff --git a/app/[locale]/tags/[tag]/page.tsx b/app/[locale]/tags/[tag]/page.tsx index 584babd..3058dca 100644 --- a/app/[locale]/tags/[tag]/page.tsx +++ b/app/[locale]/tags/[tag]/page.tsx @@ -11,6 +11,7 @@ import { env } from "@/env.mjs"; import { PostPagination } from "@/components/pagination"; import { PostRowsLayout } from "@/components/layouts/list-post-row"; import { CacheQueryDatabase } from "@/app/notion/api/cache-wrapper"; +import { Separator } from "@/components/ui/separator"; // import { PostCardLayout } from "@/components/layouts/list-postcard"; export const revalidate = env.REVALIDATE_PAGES; // revalidate the data interval @@ -52,7 +53,8 @@ export default async function Home({ params, searchParams }: Props) { {tag} - + + {total > env.POST_PAGE_SIZES ? ( ) : null} diff --git a/app/notion/_components/callout.tsx b/app/notion/_components/callout.tsx index a2e491e..9a4a8e2 100644 --- a/app/notion/_components/callout.tsx +++ b/app/notion/_components/callout.tsx @@ -18,10 +18,7 @@ export function CalloutRender({ block, className, level = 1 }: CalloutBlockProps return (
{icon && }
diff --git a/app/notion/_components/quote.tsx b/app/notion/_components/quote.tsx index f3a297b..438e8c0 100644 --- a/app/notion/_components/quote.tsx +++ b/app/notion/_components/quote.tsx @@ -16,7 +16,7 @@ export function QuoteRender({ block, level = 1, className }: QuoteBlockProps) { } = block; return ( -
+
{children && children.map((child: any) => )} diff --git a/app/notion/_components/to-do.tsx b/app/notion/_components/to-do.tsx index 1728537..bc54be7 100644 --- a/app/notion/_components/to-do.tsx +++ b/app/notion/_components/to-do.tsx @@ -20,7 +20,7 @@ export function TodoRender({ block, className, level = 0 }: TodoProps) {