-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4232f64
commit 8304c64
Showing
11 changed files
with
872 additions
and
1,861 deletions.
There are no files selected for viewing
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
1,326 changes: 0 additions & 1,326 deletions
1,326
apps/web/src/app/(dash)/t/[tenantId]/blueprints.tsx
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
apps/web/src/app/(dash)/t/[tenantId]/blueprints/(blueprints).tsx
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,18 @@ | ||
import { BreadcrumbItem } from "@mattrax/ui"; | ||
import { Page } from "~/components/Page"; | ||
import { Table } from "~/components/Table"; | ||
|
||
export default function () { | ||
return ( | ||
<Page | ||
title="Blueprints" | ||
breadcrumbs={[ | ||
<BreadcrumbItem> | ||
<BreadcrumbItem>Blueprints</BreadcrumbItem> | ||
</BreadcrumbItem>, | ||
]} | ||
> | ||
<Table /> | ||
</Page> | ||
); | ||
} |
46 changes: 46 additions & 0 deletions
46
apps/web/src/app/(dash)/t/[tenantId]/blueprints/[blueprintId].tsx
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,46 @@ | ||
import { BreadcrumbItem, BreadcrumbLink } from "@mattrax/ui/breadcrumb"; | ||
import { z } from "zod"; | ||
import { Page, Page2 } from "~/components/Page"; | ||
import { useZodParams } from "~/lib/useZodParams"; | ||
|
||
export default function () { | ||
const params = useZodParams({ blueprintId: z.string() }); | ||
|
||
// TODO: Hook up the API | ||
const blueprintName = "Marketing Blueprint"; | ||
|
||
return ( | ||
<Page2 | ||
breadcrumbs={[ | ||
<BreadcrumbItem> | ||
<BreadcrumbLink href="../../blueprints">Blueprints</BreadcrumbLink> | ||
</BreadcrumbItem>, | ||
<BreadcrumbItem class="font-bold text-black/60"> | ||
{blueprintName} | ||
</BreadcrumbItem>, | ||
]} | ||
> | ||
<div class="flex items-center space-x-4 p-4 w-full"> | ||
<IconPhScroll class="w-20 h-20" /> | ||
<div> | ||
<h1 class="text-3xl font-bold">{blueprintName}</h1> | ||
<h2 class="flex items-center mt-1 opacity-80 text-sm"> | ||
{/* // TODO: Show the supported OS's */} | ||
<IconLogosMicrosoftWindowsIcon class="mr-2" /> | ||
</h2> | ||
</div> | ||
</div> | ||
|
||
<div class="flex flex-col space-y-8 lg:flex-row lg:space-x-12 lg:space-y-0"> | ||
<aside class="-mx-4 lg:w-1/5"> | ||
{/* // TODO: Implement the sidebar: https://github.com/shadcn-ui/ui/blob/main/apps/www/components/sidebar-nav.tsx */} | ||
<h1>TODO: Navbar</h1> | ||
{/* <SidebarNav items={sidebarNavItems} /> */} | ||
</aside> | ||
<div class="flex-1 lg:max-w-2xl"> | ||
<h1>Hello World</h1> | ||
</div> | ||
</div> | ||
</Page2> | ||
); | ||
} |
Oops, something went wrong.