Skip to content

Commit 6196078

Browse files
committed
refactor: remove more dead code
1 parent 576e7eb commit 6196078

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

app/(app)/layout.tsx

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,10 @@
1-
import { headers } from 'next/headers';
2-
import { getAppConfig, getOrigin } from '@/lib/utils';
3-
41
interface AppLayoutProps {
52
children: React.ReactNode;
63
}
74

85
export default async function AppLayout({ children }: AppLayoutProps) {
9-
const hdrs = await headers();
10-
const origin = getOrigin(hdrs);
11-
const { companyName, logo, logoDark } = await getAppConfig(origin);
12-
136
return (
147
<>
15-
{/* <header className="fixed top-0 left-0 z-50 hidden w-full flex-row justify-between p-6 md:flex"> */}
16-
{/* <a */}
17-
{/* target="_blank" */}
18-
{/* rel="noopener noreferrer" */}
19-
{/* href="https://livekit.io" */}
20-
{/* className="scale-100 transition-transform duration-300 hover:scale-110" */}
21-
{/* > */}
22-
{/* <img src={logo} alt={`${companyName} Logo`} className="block size-6 dark:hidden" /> */}
23-
{/* <img */}
24-
{/* src={logoDark ?? logo} */}
25-
{/* alt={`${companyName} Logo`} */}
26-
{/* className="hidden size-6 dark:block" */}
27-
{/* /> */}
28-
{/* </a> */}
29-
{/* <span className="text-foreground font-mono text-xs font-bold tracking-wider uppercase"> */}
30-
{/* Built with{' '} */}
31-
{/* <a */}
32-
{/* target="_blank" */}
33-
{/* rel="noopener noreferrer" */}
34-
{/* href="https://docs.livekit.io/agents" */}
35-
{/* className="underline underline-offset-4" */}
36-
{/* > */}
37-
{/* LiveKit Agents */}
38-
{/* </a> */}
39-
{/* </span> */}
40-
{/* </header> */}
418
{children}
429
</>
4310
);

0 commit comments

Comments
 (0)