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:
Nick Bland 2022-07-25 13:28:29 +10:00
parent a80d1e3fc4
commit 26a2e0d891
No known key found for this signature in database
GPG Key ID: B46CF88E4DAB4A2C
4 changed files with 788 additions and 2402 deletions

View File

@ -1,5 +1,10 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
module.exports = { module.exports = {
output: 'standalone' output: 'standalone',
experimental: {
images: {
allowFutureImage: true,
}
}
} }

3167
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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"
} }
} }

View File

@ -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>
</>
) )
} }