the style feels off
This commit is contained in:
parent
4715e323fc
commit
0ccb3ffc2c
|
|
@ -1,15 +1,25 @@
|
||||||
'use client'
|
// 'use client'
|
||||||
|
|
||||||
import { Box } from '@chakra-ui/react'
|
import { Button } from "@nextui-org/button"
|
||||||
|
|
||||||
|
// import { Box } from '@chakra-ui/react'
|
||||||
|
|
||||||
|
// 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>
|
||||||
|
// )
|
||||||
|
// }
|
||||||
|
|
||||||
export default function About() {
|
export default function About() {
|
||||||
return (
|
return (
|
||||||
<Box color={"black"}>
|
<div>
|
||||||
About
|
<Button>Click me</Button>
|
||||||
The stuff is here
|
</div>
|
||||||
<Box bg='tomato' w='100%' p={4} color='white'>
|
|
||||||
This is the Box
|
|
||||||
</Box>
|
|
||||||
</Box>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { Providers } from './providers'
|
import { Providers } from './next-providers'
|
||||||
import { fonts } from './fonts'
|
import { fonts } from './fonts'
|
||||||
import { Inter } from 'next/font/google'
|
import { Inter } from 'next/font/google'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
// app/providers.tsx
|
||||||
|
'use client'
|
||||||
|
|
||||||
|
import { NextUIProvider } from '@nextui-org/react'
|
||||||
|
|
||||||
|
export function Providers({ children }: { children: React.ReactNode }) {
|
||||||
|
return (
|
||||||
|
<NextUIProvider>
|
||||||
|
{children}
|
||||||
|
</NextUIProvider>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
@ -1,20 +1,39 @@
|
||||||
'use client'
|
import React from "react"
|
||||||
|
import { Button } from '@nextui-org/button'
|
||||||
|
|
||||||
import { Link } from '@chakra-ui/next-js'
|
// 'use client'
|
||||||
import { Box, Flex } from '@chakra-ui/react'
|
|
||||||
|
// import { Link } from '@chakra-ui/next-js'
|
||||||
|
// import { Box, Flex } from '@chakra-ui/react'
|
||||||
|
|
||||||
|
// export default function Page() {
|
||||||
|
// return (
|
||||||
|
// <Flex>
|
||||||
|
// <h1>Home</h1>
|
||||||
|
|
||||||
|
// <Box>
|
||||||
|
// Flex
|
||||||
|
// </Box>
|
||||||
|
|
||||||
|
// <Link href='/about' color='blue.400' _hover={{ color: 'blue.500' }}>
|
||||||
|
// About
|
||||||
|
// </Link>
|
||||||
|
// </Flex>
|
||||||
|
// )
|
||||||
|
// }
|
||||||
|
|
||||||
|
// app/page.tsx
|
||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
return (
|
return (
|
||||||
<Flex>
|
<div className="flex gap-4 items-center" style={{padding: 4}}>
|
||||||
<h1>Home</h1>
|
<Button color="primary" size="lg">Click me 2</Button>
|
||||||
|
<Button size="md">
|
||||||
<Box>
|
Medium
|
||||||
Flex
|
</Button>
|
||||||
</Box>
|
<Button size="lg">
|
||||||
|
Large
|
||||||
<Link href='/about' color='blue.400' _hover={{ color: 'blue.500' }}>
|
</Button>
|
||||||
About
|
</div>
|
||||||
</Link>
|
|
||||||
</Flex>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
|
import Button from 'react-bootstrap/Button'
|
||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
return (
|
return (
|
||||||
<>
|
<Button>
|
||||||
Hi
|
Hi
|
||||||
</>
|
</Button>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,11 +15,15 @@
|
||||||
"@chakra-ui/react": "^2.8.2",
|
"@chakra-ui/react": "^2.8.2",
|
||||||
"@emotion/react": "^11.11.4",
|
"@emotion/react": "^11.11.4",
|
||||||
"@emotion/styled": "^11.11.5",
|
"@emotion/styled": "^11.11.5",
|
||||||
|
"@nextui-org/button": "^2.0.31",
|
||||||
|
"@nextui-org/react": "^2.3.6",
|
||||||
|
"bootstrap": "^5.3.3",
|
||||||
"framer-motion": "^11.0.25",
|
"framer-motion": "^11.0.25",
|
||||||
"level-rocksdb": "^5.0.0",
|
"level-rocksdb": "^5.0.0",
|
||||||
"next": "^14.1.4",
|
"next": "^14.1.4",
|
||||||
"nodejs-polars": "^0.11.0",
|
"nodejs-polars": "^0.11.0",
|
||||||
"react": "^18",
|
"react": "^18",
|
||||||
|
"react-bootstrap": "^2.10.2",
|
||||||
"react-dom": "^18",
|
"react-dom": "^18",
|
||||||
"rocksdb": "^5.2.1"
|
"rocksdb": "^5.2.1"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue