feat(example page): create initial 4 cards (#21)

* feat(example page): add new examples section in the navbar

* feat(example page): initial layout of the new page

* feat(example page): create initial 4 workflows

* style(example page): center title

* style(example page): remove comment

* fix(example page): add hyperlink for txt2img card
This commit is contained in:
Emmanuel Morales
2024-02-09 11:15:30 +08:00
committed by GitHub
parent 1939ff4153
commit 65492a108c
7 changed files with 105 additions and 2 deletions
+6 -2
View File
@@ -40,6 +40,10 @@ export function NavbarMenu({
name: "API Keys",
path: "/api-keys",
},
{
name: "Examples",
path: "/examples"
}
];
return (
@@ -48,9 +52,9 @@ export function NavbarMenu({
{isDesktop && (
<Tabs
defaultValue={pathname}
className="w-[300px] flex pointer-events-auto"
className="w-fit flex pointer-events-auto"
>
<TabsList className="grid w-full grid-cols-3">
<TabsList className="w-full">
{pages.map((page) => (
<TabsTrigger
key={page.name}