feat: make responsive and add .env.example

This commit is contained in:
2026-04-25 02:03:55 +08:00
parent 0dd1e86487
commit 9a87b3c7be
2 changed files with 7 additions and 5 deletions
+2
View File
@@ -40,3 +40,5 @@ yarn-error.log*
# typescript # typescript
*.tsbuildinfo *.tsbuildinfo
next-env.d.ts next-env.d.ts
certificates
+5 -5
View File
@@ -18,18 +18,18 @@ export default function Landing() {
return ( return (
<section <section
id='hero' id='hero'
className='w-dvw h-dvh flex flex-col items-center justify-center relative' className='w-dvw h-dvh flex flex-col items-center justify-center relative p-4'
> >
<Image <Image
src={logo} src={logo}
alt='' alt=''
className='h-30 w-auto' className='h-24 md:h-30 w-auto'
loading='eager' loading='eager'
/> />
<motion.h1 <motion.h1
initial={{ opacity: 0 }} initial={{ opacity: 0 }}
animate={{ opacity: 1 }} animate={{ opacity: 1 }}
className='font-bold text-5xl text-center' className='font-bold text-3xl md:text-5xl text-center'
> >
DeckyVault DeckyVault
</motion.h1> </motion.h1>
@@ -38,7 +38,7 @@ export default function Landing() {
opacity: 0, opacity: 0,
}} }}
animate={{ opacity: 1, transition: { delay: 0.5 } }} animate={{ opacity: 1, transition: { delay: 0.5 } }}
className='mt-4 flex flex-col items-center font-semibold text-2xl' className='mt-4 flex flex-col items-center font-semibold text-lg md:text-2xl'
> >
<motion.span <motion.span
key='intro' key='intro'
@@ -64,7 +64,7 @@ export default function Landing() {
<motion.p <motion.p
initial={{ opacity: 0 }} initial={{ opacity: 0 }}
animate={{ opacity: 0.6, transition: { delay: 1 } }} animate={{ opacity: 0.6, transition: { delay: 1 } }}
className='mt-4 text-center text-lg max-w-xl' className='mt-4 text-center md:text-lg max-w-xl'
> >
Stay tuned for the launch of DeckyVault Stay tuned for the launch of DeckyVault
</motion.p> </motion.p>