Publish the current application, design, and Phase 1 deployment updates. Excludes ignored personal notes, local MCP config, and generated TypeScript build info.
13 lines
393 B
TypeScript
13 lines
393 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') return <>{children}</>;
|
|
|
|
return <MainLayout showSidebar={true}>{children}</MainLayout>;
|
|
}
|