diff --git a/apps/www/app/(app)/examples/layout.tsx b/apps/www/app/(app)/examples/layout.tsx index d1fa73afc6d..931bce8b034 100644 --- a/apps/www/app/(app)/examples/layout.tsx +++ b/apps/www/app/(app)/examples/layout.tsx @@ -1,6 +1,7 @@ import { Metadata } from "next" import Link from "next/link" +import { siteConfig } from "@/config/site" import { Announcement } from "@/components/announcement" import { ExamplesNav } from "@/components/examples-nav" import { @@ -25,20 +26,23 @@ export default function ExamplesLayout({ children }: ExamplesLayoutProps) {
- - Check out some examples - - Examples + Build your component library - Dashboard, cards, authentication. Some examples built using the - components. Use this as a guide to build your own. + Beautifully designed components that you can copy and paste into your + apps. Made with Tailwind CSS. Open source. diff --git a/apps/www/components/examples-nav.tsx b/apps/www/components/examples-nav.tsx index 75fa28eafb6..6f38c7cae46 100644 --- a/apps/www/components/examples-nav.tsx +++ b/apps/www/components/examples-nav.tsx @@ -59,7 +59,7 @@ export function ExamplesNav({ className, ...props }: ExamplesNavProps) {
- {examples.map((example, index) => ( + {examples.map((example) => ( - + {siteConfig.name} @@ -23,7 +23,7 @@ export function MainNav() { href="/docs" className={cn( "transition-colors hover:text-foreground/80", - pathname === "/docs" ? "text-foreground" : "text-foreground/60" + pathname === "/docs" ? "text-foreground" : "text-foreground/80" )} > Docs @@ -35,7 +35,7 @@ export function MainNav() { pathname?.startsWith("/docs/components") && !pathname?.startsWith("/docs/component/chart") ? "text-foreground" - : "text-foreground/60" + : "text-foreground/80" )} > Components @@ -46,7 +46,7 @@ export function MainNav() { "transition-colors hover:text-foreground/80", pathname?.startsWith("/blocks") ? "text-foreground" - : "text-foreground/60" + : "text-foreground/80" )} > Blocks @@ -58,7 +58,7 @@ export function MainNav() { pathname?.startsWith("/docs/component/chart") || pathname?.startsWith("/charts") ? "text-foreground" - : "text-foreground/60" + : "text-foreground/80" )} > Charts @@ -69,29 +69,18 @@ export function MainNav() { "transition-colors hover:text-foreground/80", pathname?.startsWith("/themes") ? "text-foreground" - : "text-foreground/60" + : "text-foreground/80" )} > Themes - - Examples - Colors diff --git a/apps/www/config/docs.ts b/apps/www/config/docs.ts index 62ae2f818b6..2b9ab00179f 100644 --- a/apps/www/config/docs.ts +++ b/apps/www/config/docs.ts @@ -32,10 +32,6 @@ export const docsConfig: DocsConfig = { title: "Themes", href: "/themes", }, - { - title: "Examples", - href: "/examples", - }, { title: "Colors", href: "/colors",