Switch to DaisyUI
Headless felt too cumbersome to move to DaisyUI which is closer to bootstrap. Also clean up some files.
This commit is contained in:
+6
-1
@@ -1,5 +1,10 @@
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
output: 'standalone'
|
output: 'standalone',
|
||||||
|
experimental: {
|
||||||
|
images: {
|
||||||
|
allowFutureImage: true,
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Generated
+780
-2397
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -22,9 +22,9 @@
|
|||||||
"@types/react-dom": "18.0.0",
|
"@types/react-dom": "18.0.0",
|
||||||
"autoprefixer": "^10.4.4",
|
"autoprefixer": "^10.4.4",
|
||||||
"eslint": "8.13.0",
|
"eslint": "8.13.0",
|
||||||
"eslint-config-next": "12.1.4",
|
"eslint-config-next": "^0.2.4",
|
||||||
"postcss": "^8.4.12",
|
"postcss": "^8.4.12",
|
||||||
"tailwindcss": "^3.0.24",
|
"tailwindcss": "^2.0.4",
|
||||||
"typescript": "4.6.3"
|
"typescript": "4.6.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,11 +4,9 @@ import {ThemeProvider} from 'next-themes'
|
|||||||
|
|
||||||
function MyApp({ Component, pageProps }: AppProps) {
|
function MyApp({ Component, pageProps }: AppProps) {
|
||||||
return (
|
return (
|
||||||
<>
|
|
||||||
<ThemeProvider attribute="class" defaultTheme="dark">
|
<ThemeProvider attribute="class" defaultTheme="dark">
|
||||||
<Component {...pageProps} />
|
<Component {...pageProps} />
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
</>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user