- Provide fallback values for auth environment variables - Refine global CSS styles and typography - Update application metadata descriptions - Add toast error handling to clients page - Formalize phase implementation guidelines in AGENTS.md
13 lines
423 B
TypeScript
13 lines
423 B
TypeScript
'use client';
|
|
|
|
import { MainLayout } from '@/components/layout/MainLayout';
|
|
import { usePathname } from 'next/navigation';
|
|
import React from 'react';
|
|
|
|
export default function VconLayout({ children }: { children: React.ReactNode }) {
|
|
const pathname = usePathname();
|
|
if (pathname === '/vcon/login' || pathname === '/vcon/setup') return <>{children}</>;
|
|
|
|
return <MainLayout showSidebar={true}>{children}</MainLayout>;
|
|
}
|