Skip to content

Commit e88a6f0

Browse files
committed
fix: remove new badge in sidebar
1 parent ab3a398 commit e88a6f0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/components/layout/DocsLayout.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Link from "next/link";
22
import React from "react";
33
import Image from "next/image";
4-
import { Button, Badge, ThemeSwitch, Separator } from "@/components/ui";
4+
import { Button, ThemeSwitch, Separator } from "@/components/ui";
55
import { cn } from "@/lib/utils";
66
import { Github01Icon } from "hugeicons-react";
77

@@ -78,13 +78,10 @@ export function DocsLayout({ children, className }: DocsLayoutProps) {
7878
<ul className="space-y-2">
7979
<li>
8080
<Link
81-
className="inline-flex items-center gap-2 text-[hsl(var(--muted-foreground))] hover:text-[hsl(var(--foreground))] transition-colors"
81+
className="text-[hsl(var(--muted-foreground))] hover:text-[hsl(var(--foreground))] transition-colors"
8282
href="/flutter"
8383
>
8484
Flutter
85-
<Badge variant="default" className="text-[10px] px-1.5 py-0">
86-
New
87-
</Badge>
8885
</Link>
8986
</li>
9087
<li>

0 commit comments

Comments
 (0)