From f52232aa0217744b9cfce9db3b49e136f38c530c Mon Sep 17 00:00:00 2001 From: shadcn Date: Tue, 25 Apr 2023 20:15:09 +0400 Subject: [PATCH] fix: fonts --- app/(marketing)/[...slug]/page.tsx | 2 +- app/(marketing)/blog/[...slug]/page.tsx | 2 +- app/(marketing)/blog/page.tsx | 2 +- app/(marketing)/page.tsx | 6 +++--- app/(marketing)/pricing/page.tsx | 2 +- components/header.tsx | 4 +--- components/mobile-nav.tsx | 2 +- components/page-header.tsx | 2 +- 8 files changed, 10 insertions(+), 12 deletions(-) diff --git a/app/(marketing)/[...slug]/page.tsx b/app/(marketing)/[...slug]/page.tsx index 6219cc1a..4a3bdb75 100644 --- a/app/(marketing)/[...slug]/page.tsx +++ b/app/(marketing)/[...slug]/page.tsx @@ -84,7 +84,7 @@ export default async function PagePage({ params }: PageProps) { return (
-

+

{page.title}

{page.description && ( diff --git a/app/(marketing)/blog/[...slug]/page.tsx b/app/(marketing)/blog/[...slug]/page.tsx index 03fa2ad9..0032ab8c 100644 --- a/app/(marketing)/blog/[...slug]/page.tsx +++ b/app/(marketing)/blog/[...slug]/page.tsx @@ -114,7 +114,7 @@ export default async function PostPage({ params }: PostPageProps) { Published on {formatDate(post.date)} )} -

+

{post.title}

{authors?.length ? ( diff --git a/app/(marketing)/blog/page.tsx b/app/(marketing)/blog/page.tsx index 8dc2df1d..38b90300 100644 --- a/app/(marketing)/blog/page.tsx +++ b/app/(marketing)/blog/page.tsx @@ -20,7 +20,7 @@ export default async function BlogPage() {
-

+

Blog

diff --git a/app/(marketing)/page.tsx b/app/(marketing)/page.tsx index 3467b033..d395c752 100644 --- a/app/(marketing)/page.tsx +++ b/app/(marketing)/page.tsx @@ -45,7 +45,7 @@ export default async function IndexPage() { > Follow along on Twitter -

+

An example app built using Next.js 13 server components.

@@ -72,7 +72,7 @@ export default async function IndexPage() { className="container space-y-6 bg-slate-50 py-8 dark:bg-transparent md:py-12 lg:py-24" >

-

+

Features

@@ -177,7 +177,7 @@ export default async function IndexPage() {

-

+

Proudly Open Source

diff --git a/app/(marketing)/pricing/page.tsx b/app/(marketing)/pricing/page.tsx index 505f14c7..15285345 100644 --- a/app/(marketing)/pricing/page.tsx +++ b/app/(marketing)/pricing/page.tsx @@ -12,7 +12,7 @@ export default function PricingPage() { return (

-

+

Simple, transparent pricing

diff --git a/components/header.tsx b/components/header.tsx index f76d3834..e8d1a436 100644 --- a/components/header.tsx +++ b/components/header.tsx @@ -12,9 +12,7 @@ export function DashboardHeader({ return (

-

- {heading} -

+

{heading}

{text &&

{text}

}
{children} diff --git a/components/mobile-nav.tsx b/components/mobile-nav.tsx index a14031ec..127816b3 100644 --- a/components/mobile-nav.tsx +++ b/components/mobile-nav.tsx @@ -21,7 +21,7 @@ export function MobileNav({ items, children }: MobileNavProps) { "fixed inset-0 top-16 z-50 grid h-[calc(100vh-4rem)] grid-flow-row auto-rows-max overflow-auto p-6 pb-32 shadow-md animate-in slide-in-from-bottom-80 md:hidden" )} > -
+
{siteConfig.name} diff --git a/components/page-header.tsx b/components/page-header.tsx index 6059ea7a..0cec4517 100644 --- a/components/page-header.tsx +++ b/components/page-header.tsx @@ -14,7 +14,7 @@ export function DocsPageHeader({ return ( <>
-

+

{heading}

{text &&

{text}

}