diff --git a/src/app/admin/layout.tsx b/src/app/admin/layout.tsx index 7af0927d0..3012b7ad3 100644 --- a/src/app/admin/layout.tsx +++ b/src/app/admin/layout.tsx @@ -1,3 +1,4 @@ +import { Appbar } from '@/components/Appbar'; import { getServerSession } from 'next-auth'; import { notFound, redirect } from 'next/navigation'; import React from 'react'; @@ -14,12 +15,22 @@ export default async function AdminLayout({ } if (process.env.LOCAL_CMS_PROVIDER) { - return
{children}
; + return ( +
+ + {children} +
+ ); } if (!process.env.ADMINS?.split(',').includes(session.user.email!)) { return notFound(); } - return
{children}
; + return ( +
+ + {children} +
+ ); } diff --git a/src/app/calendar/page.tsx b/src/app/calendar/page.tsx index 1d3028acd..22d3ee4dd 100644 --- a/src/app/calendar/page.tsx +++ b/src/app/calendar/page.tsx @@ -2,6 +2,7 @@ import { getServerSession } from 'next-auth'; import { redirect } from 'next/navigation'; import React from 'react'; import CalendarPageComponent from '@/components/big-calendar/calendar'; +import { Appbar } from '@/components/Appbar'; const CalendarPage = async () => { const session = await getServerSession(); @@ -14,6 +15,7 @@ const CalendarPage = async () => { return (
+
); diff --git a/src/app/payout-methods/page.tsx b/src/app/payout-methods/page.tsx index c976c1422..a4802a68e 100644 --- a/src/app/payout-methods/page.tsx +++ b/src/app/payout-methods/page.tsx @@ -6,6 +6,7 @@ import SOL from '../../../public/platform/sol.svg'; import UPI from '../../../public/platform/upi.svg'; import { PayoutMethodCard } from '@/components/PaymentMethodCard'; import { usePayoutMethods } from '@/hooks/usePayoutMethod'; +import { Appbar } from '@/components/Appbar'; export default function Page() { const [isDialogBoxOpen, setIsDialogBoxOpen] = useState(false); @@ -30,46 +31,49 @@ export default function Page() { const closeDialog = () => setIsDialogBoxOpen(false); return ( -
-
-

- Payout Methods -

+ <> + +
+
+

+ Payout Methods +

-
- - -
+
+ + +
- + -

- Apps -

-
- +

+ Apps +

+
+ +
-
+ ); }