forked from veda/www_veda_2025
feat: migrate audio player and remove unused pages
- Moved audio player from page component to root layout for persistent playback across all pages - Removed unused auth pages (login, register) and content pages (contact, dahabiyas, experiences, etc.) - Updated NavLink text color to gold-900 for better visibility - Added 'use client' directive to AudioPlayerBar component for client-side rendering
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Inter, Lexend } from 'next/font/google'
|
||||
import clsx from 'clsx'
|
||||
|
||||
import BottomAudioPlayer from '@/components/ui/AudioPlayerBar'
|
||||
import '@/styles/tailwind.css'
|
||||
|
||||
export const metadata = {
|
||||
@@ -34,7 +35,10 @@ export default function RootLayout({ children }) {
|
||||
lexend.variable,
|
||||
)}
|
||||
>
|
||||
<body className="flex h-full flex-col pt-20">{children}</body>
|
||||
<body className="flex h-full flex-col pt-20">
|
||||
{children}
|
||||
<BottomAudioPlayer />
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user