You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
471 B
React
20 lines
471 B
React
3 years ago
|
import './globals.css';
|
||
|
|
||
|
import { AudioPlayer } from '@/components/player/AudioPlayer'
|
||
|
import { AudioProvider } from '@/components/AudioProvider'
|
||
|
|
||
|
export default function RootLayout({children}) {
|
||
|
return (
|
||
|
<html lang="en">
|
||
|
<body>
|
||
|
<AudioProvider>
|
||
|
{children}
|
||
|
<div className="fixed inset-x-0 bottom-0 z-10 lg:left-112 xl:left-120">
|
||
|
<AudioPlayer />
|
||
|
</div>
|
||
|
</AudioProvider>
|
||
|
</body>
|
||
|
</html>
|
||
|
);
|
||
|
}
|