File tree Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change 1- import { headers } from 'next/headers' ;
2- import { getAppConfig , getOrigin } from '@/lib/utils' ;
3-
41interface AppLayoutProps {
52 children : React . ReactNode ;
63}
74
85export 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 ) ;
You can’t perform that action at this time.
0 commit comments