File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { Outlet } from "@remix-run/react" ;
22import type { LoaderFunctionArgs } from "@remix-run/server-runtime" ;
33import { redirect , typedjson } from "remix-typedjson" ;
4+ import { Tabs } from "~/components/primitives/Tabs" ;
45import { requireUser } from "~/services/session.server" ;
56
67export async function loader ( { request } : LoaderFunctionArgs ) {
@@ -17,6 +18,17 @@ export default function BackOfficeLayout() {
1718 aria-labelledby = "primary-heading"
1819 className = "flex h-full min-w-0 flex-1 flex-col overflow-y-auto px-4 pb-4 lg:order-last"
1920 >
21+ < div className = "flex items-center pt-2" >
22+ < Tabs
23+ tabs = { [
24+ {
25+ label : "Coupon Deals" ,
26+ to : "/admin/back-office/coupons" ,
27+ } ,
28+ ] }
29+ layoutId = "admin-back-office"
30+ />
31+ </ div >
2032 < Outlet />
2133 </ main >
2234 ) ;
You can’t perform that action at this time.
0 commit comments