feat: bootstrap auto virtual tryon admin frontend
This commit is contained in:
11
app/(dashboard)/layout.tsx
Normal file
11
app/(dashboard)/layout.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { ReactNode } from "react";
|
||||
|
||||
import { DashboardShell } from "@/components/layout/dashboard-shell";
|
||||
|
||||
type DashboardLayoutProps = {
|
||||
children: ReactNode;
|
||||
};
|
||||
|
||||
export default function DashboardLayout({ children }: DashboardLayoutProps) {
|
||||
return <DashboardShell>{children}</DashboardShell>;
|
||||
}
|
||||
5
app/(dashboard)/libraries/garments/page.tsx
Normal file
5
app/(dashboard)/libraries/garments/page.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { LibraryPageScreen } from "@/features/libraries/library-page";
|
||||
|
||||
export default function GarmentsLibraryPage() {
|
||||
return <LibraryPageScreen libraryType="garments" />;
|
||||
}
|
||||
5
app/(dashboard)/libraries/models/page.tsx
Normal file
5
app/(dashboard)/libraries/models/page.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { LibraryPageScreen } from "@/features/libraries/library-page";
|
||||
|
||||
export default function ModelsLibraryPage() {
|
||||
return <LibraryPageScreen libraryType="models" />;
|
||||
}
|
||||
5
app/(dashboard)/libraries/scenes/page.tsx
Normal file
5
app/(dashboard)/libraries/scenes/page.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { LibraryPageScreen } from "@/features/libraries/library-page";
|
||||
|
||||
export default function ScenesLibraryPage() {
|
||||
return <LibraryPageScreen libraryType="scenes" />;
|
||||
}
|
||||
15
app/(dashboard)/orders/[orderId]/page.tsx
Normal file
15
app/(dashboard)/orders/[orderId]/page.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { OrderDetailScreen } from "@/features/orders/order-detail";
|
||||
|
||||
type OrderDetailPageProps = {
|
||||
params: Promise<{
|
||||
orderId: string;
|
||||
}>;
|
||||
};
|
||||
|
||||
export default async function OrderDetailPage({
|
||||
params,
|
||||
}: OrderDetailPageProps) {
|
||||
const { orderId } = await params;
|
||||
|
||||
return <OrderDetailScreen orderId={Number(orderId)} />;
|
||||
}
|
||||
5
app/(dashboard)/orders/page.tsx
Normal file
5
app/(dashboard)/orders/page.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { OrdersHomeScreen } from "@/features/orders/orders-home";
|
||||
|
||||
export default function OrdersPage() {
|
||||
return <OrdersHomeScreen />;
|
||||
}
|
||||
15
app/(dashboard)/reviews/workbench/[orderId]/page.tsx
Normal file
15
app/(dashboard)/reviews/workbench/[orderId]/page.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { ReviewWorkbenchDetailScreen } from "@/features/reviews/review-workbench-detail";
|
||||
|
||||
type ReviewWorkbenchDetailPageProps = {
|
||||
params: Promise<{
|
||||
orderId: string;
|
||||
}>;
|
||||
};
|
||||
|
||||
export default async function ReviewWorkbenchDetailPage({
|
||||
params,
|
||||
}: ReviewWorkbenchDetailPageProps) {
|
||||
const { orderId } = await params;
|
||||
|
||||
return <ReviewWorkbenchDetailScreen orderId={Number(orderId)} />;
|
||||
}
|
||||
5
app/(dashboard)/reviews/workbench/page.tsx
Normal file
5
app/(dashboard)/reviews/workbench/page.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { ReviewWorkbenchListScreen } from "@/features/reviews/review-workbench-list";
|
||||
|
||||
export default function ReviewWorkbenchPage() {
|
||||
return <ReviewWorkbenchListScreen />;
|
||||
}
|
||||
5
app/(dashboard)/settings/page.tsx
Normal file
5
app/(dashboard)/settings/page.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { SettingsPlaceholder } from "@/features/settings/settings-placeholder";
|
||||
|
||||
export default function SettingsPage() {
|
||||
return <SettingsPlaceholder />;
|
||||
}
|
||||
5
app/(dashboard)/submit-workbench/page.tsx
Normal file
5
app/(dashboard)/submit-workbench/page.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { SubmitWorkbench } from "@/features/orders/submit-workbench";
|
||||
|
||||
export default function SubmitWorkbenchPage() {
|
||||
return <SubmitWorkbench />;
|
||||
}
|
||||
15
app/(dashboard)/workflows/[orderId]/page.tsx
Normal file
15
app/(dashboard)/workflows/[orderId]/page.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { WorkflowDetailScreen } from "@/features/workflows/workflow-detail";
|
||||
|
||||
type WorkflowDetailPageProps = {
|
||||
params: Promise<{
|
||||
orderId: string;
|
||||
}>;
|
||||
};
|
||||
|
||||
export default async function WorkflowDetailPage({
|
||||
params,
|
||||
}: WorkflowDetailPageProps) {
|
||||
const { orderId } = await params;
|
||||
|
||||
return <WorkflowDetailScreen orderId={Number(orderId)} />;
|
||||
}
|
||||
5
app/(dashboard)/workflows/page.tsx
Normal file
5
app/(dashboard)/workflows/page.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { WorkflowLookupScreen } from "@/features/workflows/workflow-lookup";
|
||||
|
||||
export default function WorkflowsPage() {
|
||||
return <WorkflowLookupScreen />;
|
||||
}
|
||||
Reference in New Issue
Block a user