|
1 | 1 | import { Public_Sans } from 'next/font/google'; |
2 | 2 | import localFont from 'next/font/local'; |
3 | 3 | import { headers } from 'next/headers'; |
| 4 | +import { GithubLogoIcon } from '@phosphor-icons/react/dist/ssr'; |
4 | 5 | import { ThemeProvider } from '@/components/app/theme-provider'; |
5 | 6 | import { ThemeToggle } from '@/components/app/theme-toggle'; |
6 | 7 | import { cn } from '@/lib/shadcn/utils'; |
@@ -98,18 +99,29 @@ export default async function RootLayout({ children }: RootLayoutProps) { |
98 | 99 | className="hidden size-14 sm:size-26 dark:block" |
99 | 100 | /> |
100 | 101 | </a> |
101 | | - <span className="text-foreground text-right font-mono text-[11px] font-bold tracking-wider uppercase md:text-xs"> |
102 | | - <span className="hidden sm:inline">Built with </span> |
| 102 | + <div className="text-foreground flex items-center gap-3 text-right font-mono text-[11px] font-bold tracking-wider uppercase md:text-xs"> |
| 103 | + <span> |
| 104 | + <span className="hidden sm:inline">Built with </span> |
| 105 | + <a |
| 106 | + target="_blank" |
| 107 | + rel="noopener noreferrer" |
| 108 | + href="https://docs.livekit.io/agents" |
| 109 | + className="underline underline-offset-4" |
| 110 | + > |
| 111 | + <span className="sm:hidden">LiveKit docs</span> |
| 112 | + <span className="hidden sm:inline">LiveKit Agents</span> |
| 113 | + </a> |
| 114 | + </span> |
103 | 115 | <a |
104 | 116 | target="_blank" |
105 | 117 | rel="noopener noreferrer" |
106 | | - href="https://docs.livekit.io/agents" |
107 | | - className="underline underline-offset-4" |
| 118 | + href="https://github.com/livekit-examples/python-agents-examples/tree/main/complex-agents/avatars/anam" |
| 119 | + aria-label="Anam GitHub repository" |
| 120 | + className="text-foreground/80 hover:text-foreground transition-colors" |
108 | 121 | > |
109 | | - <span className="sm:hidden">LiveKit docs</span> |
110 | | - <span className="hidden sm:inline">LiveKit Agents</span> |
| 122 | + <GithubLogoIcon size={18} weight="fill" /> |
111 | 123 | </a> |
112 | | - </span> |
| 124 | + </div> |
113 | 125 | </header> |
114 | 126 |
|
115 | 127 | {children} |
|
0 commit comments