diff --git a/public/media/github.png b/public/media/github.png new file mode 100644 index 0000000..c61095c Binary files /dev/null and b/public/media/github.png differ diff --git a/src/app/(pages)/docs/[[...slug]]/page.tsx b/src/app/(pages)/docs/[[...slug]]/page.tsx index 7cdf974..21e6bf8 100644 --- a/src/app/(pages)/docs/[[...slug]]/page.tsx +++ b/src/app/(pages)/docs/[[...slug]]/page.tsx @@ -12,6 +12,8 @@ import { } from "@/app/components/ui/breadcrumb"; import { capitalizeFirstLetter } from "@/app/common/string-utils"; import { notFound } from "next/navigation"; +import { GithubLink } from "@/app/components/docs/github-link"; +import { cn } from "@/app/common/utils"; type DocumentationPageParams = { params: { @@ -56,33 +58,38 @@ export default function Page({ params: { slug } }: DocumentationPageParams) { } const slugParts = page.slug.split("/"); + const isHome = slugParts.length == 1; return (