mirror of
https://github.com/shadcn-ui/taxonomy
synced 2026-05-24 09:48:32 +00:00
Merge 891d6b32f8 into 298a8857c7
This commit is contained in:
commit
a68750e42a
5 changed files with 10 additions and 8 deletions
|
|
@ -12,7 +12,7 @@ export const metadata = {
|
|||
|
||||
export default function RegisterPage() {
|
||||
return (
|
||||
<div className="container grid h-screen w-screen flex-col items-center justify-center lg:max-w-none lg:grid-cols-2 lg:px-0">
|
||||
<div className="container grid h-screen w-screen flex-col items-center justify-center lg:max-w-none lg:px-0">
|
||||
<Link
|
||||
href="/login"
|
||||
className={cn(
|
||||
|
|
@ -22,7 +22,7 @@ export default function RegisterPage() {
|
|||
>
|
||||
Login
|
||||
</Link>
|
||||
<div className="hidden h-full bg-muted lg:block" />
|
||||
{/* <div className="hidden h-full bg-muted lg:block" /> */}
|
||||
<div className="lg:p-8">
|
||||
<div className="mx-auto flex w-full flex-col justify-center space-y-6 sm:w-[350px]">
|
||||
<div className="flex flex-col space-y-2 text-center">
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ export default async function DashboardLayout({
|
|||
|
||||
return (
|
||||
<div className="flex min-h-screen flex-col space-y-6">
|
||||
<header className="sticky top-0 z-40 border-b bg-background">
|
||||
<header className="container z-50 bg-background sticky top-0">
|
||||
<div className="container flex h-16 items-center justify-between py-4">
|
||||
<MainNav items={dashboardConfig.mainNav} />
|
||||
<UserAccountNav
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ interface DocsLayoutProps {
|
|||
export default function DocsLayout({ children }: DocsLayoutProps) {
|
||||
return (
|
||||
<div className="flex min-h-screen flex-col">
|
||||
<header className="sticky top-0 z-40 w-full border-b bg-background">
|
||||
<div className="container flex h-16 items-center space-x-4 sm:justify-between sm:space-x-0">
|
||||
<header className="container z-50 bg-background sticky top-0">
|
||||
<div className="container flex h-16 items-center space-x-4 sm:justify-between sm:space-x-0">
|
||||
<MainNav items={docsConfig.mainNav}>
|
||||
<DocsSidebarNav items={docsConfig.sidebarNav} />
|
||||
</MainNav>
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ export default async function MarketingLayout({
|
|||
}: MarketingLayoutProps) {
|
||||
return (
|
||||
<div className="flex min-h-screen flex-col">
|
||||
<header className="container z-40 bg-background">
|
||||
<div className="flex h-20 items-center justify-between py-6">
|
||||
<header className="container z-50 bg-background sticky top-0">
|
||||
<div className="flex h-20 items-center justify-between py-6">
|
||||
<MainNav items={marketingConfig.mainNav} />
|
||||
<nav>
|
||||
<Link
|
||||
|
|
|
|||
|
|
@ -4,6 +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 {
|
||||
|
|
@ -41,10 +42,11 @@ 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 bg-muted px-4 gap-1 py-1.5 text-sm flex justify-center items-center font-medium"
|
||||
target="_blank"
|
||||
>
|
||||
Follow along on Twitter
|
||||
<Icons.twitter className="mx-auto h-4 w-4" />
|
||||
</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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue