Skip to content

Commit

Permalink
fix: add /getting-started to docs links
Browse files Browse the repository at this point in the history
  • Loading branch information
EverStarck authored Oct 9, 2024
1 parent 378ee99 commit ae423c5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/docs/app/(home)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function Footer(): React.ReactElement {
<div className="mt-10 grid grid-cols-2 items-start gap-10 sm:mt-0">
<div className="flex w-[160px] flex-col justify-center gap-4">
<p className="text-sm">Product</p>
<FooterLink href="/docs">Documentation</FooterLink>
<FooterLink href="/docs/getting-started">Documentation</FooterLink>
<FooterLink href="/examples">Examples</FooterLink>
<FooterLink href="/blog">Blog</FooterLink>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/app/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function HomePage() {

<div className="mb-8 flex justify-center gap-2">
<Button asChild>
<Link href="/docs">Get Started</Link>
<Link href="/docs/getting-started">Get Started</Link>
</Button>
</div>
<div className="mx-auto flex w-full max-w-screen-xl flex-col">
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/app/(home)/shadcn-ui/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function HomePage() {

<div className="mb-8 flex justify-center gap-2">
<Button asChild>
<Link href="/docs">Get Started</Link>
<Link href="/docs/getting-started">Get Started</Link>
</Button>
</div>
<div className="mx-auto flex w-full max-w-screen-xl flex-col">
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/app/docs/layout.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const baseOptions: HomeLayoutProps = {
links: [
{
text: "Documentation",
url: "/docs",
url: "/docs/getting-started",
icon: <BookIcon />,
active: "nested-url",
},
Expand Down

0 comments on commit ae423c5

Please sign in to comment.