Fixed some things

This commit is contained in:
Gnarwhal 2024-07-05 16:06:02 +00:00
parent 752d85241a
commit 071079b061
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174
2 changed files with 9 additions and 4 deletions

View file

@ -3,7 +3,12 @@ const { createVanillaExtractPlugin } = require('@vanilla-extract/next-plugin')
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
output: 'export', output: 'export',
distDir: 'out/', trailingSlash: true,
images: {
unoptimized: true,
}
} }
module.exports = createVanillaExtractPlugin(nextConfig) const withVanillaExtract = createVanillaExtractPlugin()
module.exports = withVanillaExtract(nextConfig)

View file

@ -36,7 +36,7 @@ function Marquee({ children }: { children: React.ReactNode }) {
export default function Home() { export default function Home() {
return ( return (
<div className={center_vertical}> <div className={center_vertical}>
<Marquee>THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU </Marquee> <Marquee>THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU </Marquee>
<BeegText>THE SNACK IS</BeegText> <BeegText>THE SNACK IS</BeegText>
<Image className={big_brother_style} width={256} height={256} src='/big_brother.png' alt='Big Brother' /> <Image className={big_brother_style} width={256} height={256} src='/big_brother.png' alt='Big Brother' />
<BeegText>WATCHING YOU</BeegText> <BeegText>WATCHING YOU</BeegText>
@ -52,7 +52,7 @@ export default function Home() {
<Image className={cat} width={128} height={128} src='/praising_cat.gif' alt='Cat praising Big Brother' /> <Image className={cat} width={128} height={128} src='/praising_cat.gif' alt='Cat praising Big Brother' />
</div> </div>
</div> </div>
<Marquee>THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU </Marquee> <Marquee>THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU THE SNACK IS WATCHING YOU </Marquee>
</div> </div>
) )
} }