mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: use Next.js 13 App directory
This commit is contained in:
parent
cb3fc9a488
commit
379a0e9859
28 changed files with 418 additions and 295 deletions
15
front/app/layout.tsx
Normal file
15
front/app/layout.tsx
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import '../styles/globals.css'
|
||||
import StyledComponentsRegistry from '../services/lib/styled-registry'
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
<html>
|
||||
<head />
|
||||
<body> <StyledComponentsRegistry>{children}</StyledComponentsRegistry></body>
|
||||
</html>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue