mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-09 06:55:07 +00:00
21 lines
639 B
TypeScript
21 lines
639 B
TypeScript
import Link from "next/link"
|
|
import { ArrowRightIcon } from "@radix-ui/react-icons"
|
|
|
|
import { Separator } from "@/registry/new-york/ui/separator"
|
|
|
|
export function Announcement() {
|
|
return (
|
|
<Link
|
|
href="/docs/changelog"
|
|
className="inline-flex items-center rounded-lg bg-muted px-3 py-1 text-sm font-medium"
|
|
>
|
|
🎉 <Separator className="mx-2 h-4" orientation="vertical" />{" "}
|
|
<span className="sm:hidden">New components and more.</span>
|
|
<span className="hidden sm:inline">
|
|
New components, cli updates and more.
|
|
</span>
|
|
<ArrowRightIcon className="ml-1 h-4 w-4" />
|
|
</Link>
|
|
)
|
|
}
|