Compare commits

...

3 commits

Author SHA1 Message Date
afce2ebac6 Fix html select defaultValue
Some checks failed
/ build (push) Has been cancelled
2025-04-16 22:33:46 -06:00
bd01b2351c 404 page fix 2025-04-16 21:32:14 -06:00
1be10f3406 Redirect permanently /en/ routes to / 2025-04-16 21:29:37 -06:00
3 changed files with 11 additions and 3 deletions

View file

@ -48,6 +48,7 @@ export default defineConfig({
output: 'server',
adapter: node({ mode: 'standalone' }),
redirects: {
'/en/[...params]': '/[...params]',
'/anim/[id]': { status: 307, destination: '/maintenance' },
'/anim/list': { status: 307, destination: '/maintenance' },
'/game/[slug]': { status: 307, destination: '/maintenance' },

View file

@ -54,14 +54,21 @@ export function InputArea(props: CustomInputProps & Omit<ComponentProps<'textare
}
export function InputSelect(props: CustomInputProps & ComponentProps<'select'>) {
const { name, className, dark = false, label, ...attrs } = props
const { name, className, dark = false, label, children, ...attrs } = props
return (
<div className='flex flex-col'>
<InputLabel dark={dark} name={name}>
{label}
</InputLabel>
<select name={name} className='bg-zinc-200 rounded-md p-2 mt-2 h-full mb-3 text-black' {...attrs} />
<select
autoComplete='off'
name={name}
className='bg-zinc-200 rounded-md p-2 mt-2 h-full mb-3 text-black'
{...attrs}
>
{children}
</select>
</div>
)
}

View file

@ -9,7 +9,7 @@ import BaseLayout from '../layouts/base.astro'
<div class='text-md` text-center'>
<a class='text-blue-500 underline' href='https://twitter.com/i/status/1890946922908721317'>Boat Goes Binted</a>
</div>
<video class='mt-4' controls autoplay style={{ height: '350px', width: 'auto' }} onloadstart='this.volume=0.15'>
<video class='mt-4 mx-auto' controls style={{ height: '350px', width: '200px' }} onloadstart='this.volume=0.15'>
<source src='/video/boat-goes-binted.mp4' type='video/mp4' />
</video>
</div>