-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into Jacksonmills-fix/empty-interface-removal-com…
…mand-textarea-input
- Loading branch information
Showing
137 changed files
with
7,485 additions
and
2,168 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import { Metadata } from "next" | ||
|
||
import { Announcement } from "@/components/announcement" | ||
import { | ||
PageActions, | ||
PageHeader, | ||
PageHeaderDescription, | ||
PageHeaderHeading, | ||
} from "@/components/page-header" | ||
import { ThemeCustomizer } from "@/components/theme-customizer" | ||
import { ThemeWrapper } from "@/components/theme-wrapper" | ||
|
||
export const metadata: Metadata = { | ||
title: "Themes", | ||
description: "Hand-picked themes that you can copy and paste into your apps.", | ||
} | ||
|
||
export default function ThemesLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<div className="relative"> | ||
<ThemeWrapper | ||
defaultTheme="zinc" | ||
className="relative flex w-full flex-col items-start md:flex-row" | ||
> | ||
<PageHeader> | ||
<Announcement /> | ||
<PageHeaderHeading className="hidden md:block"> | ||
Add colors. Make it yours. | ||
</PageHeaderHeading> | ||
<PageHeaderHeading className="md:hidden"> | ||
Make it yours | ||
</PageHeaderHeading> | ||
<PageHeaderDescription> | ||
Hand-picked themes that you can copy and paste into your apps. | ||
</PageHeaderDescription> | ||
<PageActions> | ||
<ThemeCustomizer /> | ||
</PageActions> | ||
</PageHeader> | ||
</ThemeWrapper> | ||
<div className="container py-6"> | ||
<section id="themes" className="scroll-mt-20"> | ||
{children} | ||
</section> | ||
</div> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,7 @@ | ||
import { Metadata } from "next" | ||
|
||
import "public/registry/themes.css" | ||
import { Announcement } from "@/components/announcement" | ||
import { | ||
PageActions, | ||
PageHeader, | ||
PageHeaderDescription, | ||
PageHeaderHeading, | ||
} from "@/components/page-header" | ||
import { ThemeCustomizer } from "@/components/theme-customizer" | ||
import { ThemeWrapper } from "@/components/theme-wrapper" | ||
import { ThemesTabs } from "@/app/(app)/themes/tabs" | ||
|
||
export const metadata: Metadata = { | ||
title: "Themes", | ||
description: "Hand-picked themes that you can copy and paste into your apps.", | ||
} | ||
import "public/registry/themes.css" | ||
|
||
export default function ThemesPage() { | ||
return ( | ||
<div className="container"> | ||
<ThemeWrapper | ||
defaultTheme="zinc" | ||
className="relative flex w-full flex-col items-start md:flex-row" | ||
> | ||
<PageHeader className="w-full"> | ||
<Announcement /> | ||
<PageHeaderHeading className="hidden md:block"> | ||
Add colors. Make it yours. | ||
</PageHeaderHeading> | ||
<PageHeaderHeading className="md:hidden"> | ||
Make it yours | ||
</PageHeaderHeading> | ||
<PageHeaderDescription> | ||
Hand-picked themes that you can copy and paste into your apps. | ||
</PageHeaderDescription> | ||
<PageActions> | ||
<ThemeCustomizer /> | ||
</PageActions> | ||
</PageHeader> | ||
</ThemeWrapper> | ||
<ThemesTabs /> | ||
</div> | ||
) | ||
return <ThemesTabs /> | ||
} |
Oops, something went wrong.