initial semi-boiler
This commit is contained in:
parent
d7e6aa82c0
commit
7227568c05
|
|
@ -1,13 +1,15 @@
|
|||
'use client'
|
||||
|
||||
import React from "react"
|
||||
import { Box } from '@chakra-ui/react'
|
||||
|
||||
export default function Page() {
|
||||
(
|
||||
export default function About() {
|
||||
return (
|
||||
<Box color={"black"}>
|
||||
About
|
||||
The stuff is here
|
||||
<Box bg='tomato' w='100%' p={4} color='white'>
|
||||
This is the Box
|
||||
</Box>
|
||||
</Box>
|
||||
)
|
||||
}
|
||||
|
|
@ -1,5 +1,8 @@
|
|||
import { Providers } from './providers'
|
||||
import { fonts } from './fonts'
|
||||
import { Inter } from 'next/font/google'
|
||||
|
||||
const inter = Inter({ subsets: ['latin'] })
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
|
|
|
|||
|
|
@ -1,11 +1,18 @@
|
|||
'use client'
|
||||
|
||||
import { Link } from '@chakra-ui/next-js'
|
||||
import { Box, Flex } from '@chakra-ui/react'
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<Flex>
|
||||
<Box>
|
||||
Flex
|
||||
</Box>
|
||||
|
||||
<Link href='/about' color='blue.400' _hover={{ color: 'blue.500' }}>
|
||||
About
|
||||
</Link>
|
||||
</Flex>
|
||||
)
|
||||
}
|
||||
|
|
@ -1,7 +1,8 @@
|
|||
'use client'
|
||||
|
||||
import { ChakraProvider } from '@chakra-ui/react'
|
||||
import { CacheProvider } from '@chakra-ui/next-js'
|
||||
|
||||
export function Providers({ children }: { children: React.ReactNode }) {
|
||||
return <ChakraProvider>{children}</ChakraProvider>
|
||||
return (<CacheProvider><ChakraProvider>{children}</ChakraProvider></CacheProvider>)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
Hi
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {}
|
||||
|
||||
export default nextConfig
|
||||
|
|
@ -21,11 +21,6 @@
|
|||
"name": "next"
|
||||
}
|
||||
],
|
||||
"paths": {
|
||||
"@/*": [
|
||||
"./src/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"next-env.d.ts",
|
||||
|
|
|
|||
Loading…
Reference in New Issue