diff --git a/docs/app/(home)/sections/Navbar/Navbar.module.css b/docs/app/(home)/sections/Navbar/Navbar.module.css index 9978c3a58..61625def5 100644 --- a/docs/app/(home)/sections/Navbar/Navbar.module.css +++ b/docs/app/(home)/sections/Navbar/Navbar.module.css @@ -3,7 +3,7 @@ top: 0; z-index: 50; width: 100%; - padding: 0.75rem 2rem; + padding: 0.75rem 1rem; background: #fff; transition: border-color 0.2s ease; } @@ -180,6 +180,10 @@ } @media (min-width: 1024px) { + .nav { + padding: 0.75rem 2rem; + } + .desktopTabs, .desktopGithub { display: flex; diff --git a/docs/app/blog/[slug]/page.tsx b/docs/app/blog/[slug]/page.tsx index e0122576f..24eb99d99 100644 --- a/docs/app/blog/[slug]/page.tsx +++ b/docs/app/blog/[slug]/page.tsx @@ -1,3 +1,4 @@ +import { PillLink } from "@/app/(home)/components/Button/Button"; import { blog } from "@/lib/source"; import { getMDXComponents } from "@/mdx-components"; import { TOCProvider, TOCScrollArea } from "fumadocs-ui/components/toc/index"; @@ -5,6 +6,14 @@ import { TOCItems } from "fumadocs-ui/components/toc/default"; import type { Metadata } from "next"; import { notFound } from "next/navigation"; +function BlogGithubIcon() { + return ( + + ); +} + export default async function BlogPostPage(props: { params: Promise<{ slug: string }>; }) { @@ -16,7 +25,7 @@ export default async function BlogPostPage(props: { return ( -
+
diff --git a/docs/app/blog/components/BlogNavbar.tsx b/docs/app/blog/components/BlogNavbar.tsx index 9a8360916..e677dcfb6 100644 --- a/docs/app/blog/components/BlogNavbar.tsx +++ b/docs/app/blog/components/BlogNavbar.tsx @@ -161,7 +161,7 @@ export function BlogNavbar() { return (