mirror of
https://github.com/shadcn-ui/taxonomy
synced 2026-05-24 09:48:32 +00:00
Merge 68980f7fbb into 298a8857c7
This commit is contained in:
commit
b69cdf7398
3 changed files with 5355 additions and 4048 deletions
|
|
@ -4,7 +4,7 @@ import { env } from "@/env.mjs"
|
|||
import { siteConfig } from "@/config/site"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { buttonVariants } from "@/components/ui/button"
|
||||
|
||||
import { Icons } from "@/components/icons"
|
||||
async function getGitHubStars(): Promise<string | null> {
|
||||
try {
|
||||
const response = await fetch(
|
||||
|
|
@ -41,10 +41,10 @@ export default async function IndexPage() {
|
|||
<div className="container flex max-w-[64rem] flex-col items-center gap-4 text-center">
|
||||
<Link
|
||||
href={siteConfig.links.twitter}
|
||||
className="rounded-2xl bg-muted px-4 py-1.5 text-sm font-medium"
|
||||
className="rounded-2xl flex gap-2 bg-muted px-4 py-1.5 text-sm font-medium"
|
||||
target="_blank"
|
||||
>
|
||||
Follow along on Twitter
|
||||
<span>Follow along on Twitter</span> <Icons.twitter />
|
||||
</Link>
|
||||
<h1 className="font-heading text-3xl sm:text-5xl md:text-6xl lg:text-7xl">
|
||||
An example app built using Next.js 13 server components.
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ export function MainNav({ items, children }: MainNavProps) {
|
|||
const [showMobileMenu, setShowMobileMenu] = React.useState<boolean>(false)
|
||||
|
||||
return (
|
||||
<div className="flex gap-6 md:gap-10">
|
||||
<div className="flex gap-6 md:gap-10">
|
||||
<Link href="/" className="hidden items-center space-x-2 md:flex">
|
||||
<Icons.logo />
|
||||
<span className="hidden font-bold sm:inline-block">
|
||||
|
|
|
|||
9395
pnpm-lock.yaml
9395
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue