Skip to content

Commit 10e5f6d

Browse files
committed
prettier
1 parent 3c3d995 commit 10e5f6d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+2379
-3670
lines changed

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ coverage
1717
.DS_Store
1818
.env*
1919
**/*.min.*
20-
20+
*md
2121

app/NotFound.tsx

Lines changed: 33 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ export default function NotFound(): React.ReactElement {
7474
duration: 8,
7575
repeat: Infinity,
7676
ease: "easeInOut",
77-
}}
78-
>
77+
}}>
7978
<div className="flex items-center h-full px-4 gap-6">
8079
<div className="w-20 h-7 bg-muted-foreground/40 rounded" />
8180
<div className="w-16 h-7 bg-muted-foreground/40 rounded" />
@@ -95,8 +94,7 @@ export default function NotFound(): React.ReactElement {
9594
repeat: Infinity,
9695
ease: "easeInOut",
9796
delay: 2,
98-
}}
99-
>
97+
}}>
10098
<div className="h-10 border-b-2 border-muted-foreground/30 bg-muted/25 flex items-center px-4">
10199
<div className="w-20 h-5 bg-muted-foreground/40 rounded" />
102100
</div>
@@ -128,8 +126,7 @@ export default function NotFound(): React.ReactElement {
128126
repeat: Infinity,
129127
ease: "easeInOut",
130128
delay: 4,
131-
}}
132-
>
129+
}}>
133130
<div className="h-10 border-b-2 border-muted-foreground/30 bg-muted/25 flex items-center px-4">
134131
<div className="w-16 h-5 bg-muted-foreground/40 rounded" />
135132
</div>
@@ -144,8 +141,7 @@ export default function NotFound(): React.ReactElement {
144141
duration: 6,
145142
repeat: Infinity,
146143
ease: "easeInOut",
147-
}}
148-
>
144+
}}>
149145
<Play className="w-12 h-12 text-muted-foreground/60" />
150146
</motion.div>
151147
</div>
@@ -169,15 +165,13 @@ export default function NotFound(): React.ReactElement {
169165
repeat: Infinity,
170166
ease: "easeInOut",
171167
delay: 1,
172-
}}
173-
>
168+
}}>
174169
{/* Timeline ruler */}
175170
<div className="h-8 border-b-2 border-muted-foreground/30 bg-muted/25 flex items-center px-6">
176171
{TIMELINE_KEYS.map((key, i) => (
177172
<div
178173
key={key}
179-
className="flex-1 text-sm text-muted-foreground/60 border-l border-muted-foreground/30 pl-2"
180-
>
174+
className="flex-1 text-sm text-muted-foreground/60 border-l border-muted-foreground/30 pl-2">
181175
{i * 10}s
182176
</div>
183177
))}
@@ -196,8 +190,7 @@ export default function NotFound(): React.ReactElement {
196190
repeat: Infinity,
197191
ease: "easeInOut",
198192
delay: 0.5,
199-
}}
200-
>
193+
}}>
201194
<Video className="w-5 h-5 mr-3 text-muted-foreground/60" />
202195
<div className="flex gap-2">
203196
<div className="w-20 h-6 bg-blue-500/50 rounded" />
@@ -218,8 +211,7 @@ export default function NotFound(): React.ReactElement {
218211
repeat: Infinity,
219212
ease: "easeInOut",
220213
delay: 1.5,
221-
}}
222-
>
214+
}}>
223215
<Music className="w-5 h-5 mr-3 text-muted-foreground/60" />
224216
<div className="flex gap-2">
225217
<div className="w-32 h-6 bg-green-500/50 rounded" />
@@ -239,8 +231,7 @@ export default function NotFound(): React.ReactElement {
239231
repeat: Infinity,
240232
ease: "easeInOut",
241233
delay: 2.5,
242-
}}
243-
>
234+
}}>
244235
<Scissors className="w-5 h-5 mr-3 text-muted-foreground/60" />
245236
<div className="flex gap-2">
246237
<div className="w-12 h-6 bg-purple-500/50 rounded" />
@@ -277,8 +268,7 @@ export default function NotFound(): React.ReactElement {
277268
repeat: Infinity,
278269
ease: "easeInOut",
279270
delay: 3,
280-
}}
281-
>
271+
}}>
282272
<div className="h-10 border-b-2 border-muted-foreground/30 bg-muted/25 flex items-center px-4">
283273
<div className="w-20 h-5 bg-muted-foreground/40 rounded" />
284274
</div>
@@ -312,8 +302,7 @@ export default function NotFound(): React.ReactElement {
312302
rotate: [0, 5, -5, 0],
313303
opacity: [0.2, 0.4, 0.2],
314304
}}
315-
transition={{ duration: 6, repeat: Infinity, ease: "easeInOut" }}
316-
>
305+
transition={{ duration: 6, repeat: Infinity, ease: "easeInOut" }}>
317306
<Video className="w-6 h-6 text-primary/20" />
318307
</motion.div>
319308

@@ -329,8 +318,7 @@ export default function NotFound(): React.ReactElement {
329318
repeat: Infinity,
330319
ease: "easeInOut",
331320
delay: 1.5,
332-
}}
333-
>
321+
}}>
334322
<Music className="w-5 h-5 text-accent/25" />
335323
</motion.div>
336324

@@ -346,8 +334,7 @@ export default function NotFound(): React.ReactElement {
346334
repeat: Infinity,
347335
ease: "easeInOut",
348336
delay: 3,
349-
}}
350-
>
337+
}}>
351338
<Scissors className="w-4 h-4 text-purple-400/30" />
352339
</motion.div>
353340

@@ -363,8 +350,7 @@ export default function NotFound(): React.ReactElement {
363350
repeat: Infinity,
364351
ease: "easeInOut",
365352
delay: 2,
366-
}}
367-
>
353+
}}>
368354
<Image className="w-5 h-5 text-blue-400/25" />
369355
</motion.div>
370356

@@ -380,8 +366,7 @@ export default function NotFound(): React.ReactElement {
380366
repeat: Infinity,
381367
ease: "easeInOut",
382368
delay: 4,
383-
}}
384-
>
369+
}}>
385370
<Sparkles className="w-4 h-4 text-yellow-400/30" />
386371
</motion.div>
387372

@@ -397,8 +382,7 @@ export default function NotFound(): React.ReactElement {
397382
repeat: Infinity,
398383
ease: "easeInOut",
399384
delay: 1,
400-
}}
401-
>
385+
}}>
402386
<Stars className="w-3 h-3 text-indigo-400/25" />
403387
</motion.div>
404388

@@ -432,8 +416,7 @@ export default function NotFound(): React.ReactElement {
432416
className="text-center mb-10"
433417
initial={{ opacity: 0, scale: 0.8 }}
434418
animate={{ opacity: 1, scale: 1 }}
435-
transition={{ duration: 0.8, ease: "easeOut" }}
436-
>
419+
transition={{ duration: 0.8, ease: "easeOut" }}>
437420
<div className="relative inline-block">
438421
<div className="flex items-center justify-center gap-2 sm:gap-4 text-6xl sm:text-7xl md:text-8xl font-bold text-muted/70 mb-3">
439422
<span className="tracking-tight">4</span>
@@ -446,8 +429,7 @@ export default function NotFound(): React.ReactElement {
446429
duration: 4,
447430
repeat: Infinity,
448431
ease: "easeInOut",
449-
}}
450-
>
432+
}}>
451433
<Clapperboard className="w-16 h-16 sm:w-18 sm:h-18 md:w-20 md:h-20 text-muted/70 mx-1" />
452434
</motion.div>
453435
<span className="tracking-tight">4</span>
@@ -467,8 +449,7 @@ export default function NotFound(): React.ReactElement {
467449
opacity: currentStep >= 1 ? 1 : 0,
468450
y: currentStep >= 1 ? 0 : 10,
469451
}}
470-
transition={{ duration: 0.6, ease: "easeOut" }}
471-
>
452+
transition={{ duration: 0.6, ease: "easeOut" }}>
472453
<motion.div
473454
className="w-8 h-8 bg-muted/20 rounded-full flex items-center justify-center flex-shrink-0 mt-1 border border-border/30 shadow-sm"
474455
animate={{
@@ -478,15 +459,12 @@ export default function NotFound(): React.ReactElement {
478459
duration: 3,
479460
repeat: Infinity,
480461
ease: "easeInOut",
481-
}}
482-
>
462+
}}>
483463
<KimuLogo className="w-4 h-4" />
484464
</motion.div>
485465
<div className="flex flex-col flex-1 min-w-0">
486466
<div className="flex items-baseline gap-2 mb-1">
487-
<span className="text-sm font-semibold text-foreground">
488-
Kimu
489-
</span>
467+
<span className="text-sm font-semibold text-foreground">Kimu</span>
490468
<div className="w-1.5 h-1.5 bg-green-500 rounded-full" />
491469
</div>
492470
<div className="bg-muted/15 rounded-2xl rounded-tl-sm px-4 py-2.5 shadow-sm border border-border/30 w-fit max-w-[280px] sm:max-w-xs relative">
@@ -502,8 +480,7 @@ export default function NotFound(): React.ReactElement {
502480
</div>
503481
<p className="text-sm text-foreground">Hey there! 👋</p>
504482
<p className="text-sm text-muted-foreground mt-1">
505-
I couldn't find that page for you. It seems to have
506-
disappeared into the digital void...
483+
I couldn't find that page for you. It seems to have disappeared into the digital void...
507484
</p>
508485
</div>
509486
</div>
@@ -518,8 +495,7 @@ export default function NotFound(): React.ReactElement {
518495
className="absolute top-0 left-0"
519496
initial={{ opacity: 0 }}
520497
animate={{ opacity: isTyping ? 1 : 0 }}
521-
transition={{ duration: 0.3 }}
522-
>
498+
transition={{ duration: 0.3 }}>
523499
<div className="bg-muted/20 rounded-2xl px-4 py-3 shadow-sm border border-border/30 w-fit">
524500
<div className="flex items-center gap-2">
525501
<div className="flex space-x-1">
@@ -554,8 +530,7 @@ export default function NotFound(): React.ReactElement {
554530
opacity: currentStep >= 2 && !isTyping ? 1 : 0,
555531
y: currentStep >= 2 && !isTyping ? 0 : 5,
556532
}}
557-
transition={{ duration: 0.6, ease: "easeOut", delay: 0.2 }}
558-
>
533+
transition={{ duration: 0.6, ease: "easeOut", delay: 0.2 }}>
559534
<div className="bg-muted/15 rounded-2xl px-4 py-2.5 shadow-sm border border-border/30 w-fit max-w-[300px] sm:max-w-sm relative">
560535
<div className="absolute -inset-1 rounded-2xl pointer-events-none">
561536
<GlowingEffect
@@ -568,20 +543,13 @@ export default function NotFound(): React.ReactElement {
568543
/>
569544
</div>
570545
<p className="text-sm text-foreground mb-2">
571-
But hey! 🎬 Need some{" "}
572-
<span className="font-bold">video editing magic</span>?
546+
But hey! 🎬 Need some <span className="font-bold">video editing magic</span>?
573547
</p>
574548
<p className="text-sm text-muted-foreground mb-2">
575-
I'm your AI-powered creative partner, ready to transform
576-
your raw footage into{" "}
577-
<span className="font-semibold text-foreground">
578-
cinematic masterpieces
579-
</span>
580-
! ✨
581-
</p>
582-
<p className="text-sm font-bold">
583-
Let's create something amazing together! 🚀
549+
I'm your AI-powered creative partner, ready to transform your raw footage into{" "}
550+
<span className="font-semibold text-foreground">cinematic masterpieces</span>! ✨
584551
</p>
552+
<p className="text-sm font-bold">Let's create something amazing together! 🚀</p>
585553
</div>
586554
</motion.div>
587555
</div>
@@ -597,12 +565,10 @@ export default function NotFound(): React.ReactElement {
597565
opacity: currentStep >= 3 ? 1 : 0,
598566
y: currentStep >= 3 ? 0 : 10,
599567
}}
600-
transition={{ duration: 0.6, ease: "easeOut", delay: 0.2 }}
601-
>
568+
transition={{ duration: 0.6, ease: "easeOut", delay: 0.2 }}>
602569
<Button
603570
onClick={handleGoHome}
604-
className="bg-foreground text-background hover:bg-foreground/90 transition-all duration-300 shadow-lg hover:shadow-xl border border-transparent rounded-2xl font-semibold text-sm relative overflow-hidden px-4 py-3 h-auto w-fit max-w-[300px] sm:max-w-sm"
605-
>
571+
className="bg-foreground text-background hover:bg-foreground/90 transition-all duration-300 shadow-lg hover:shadow-xl border border-transparent rounded-2xl font-semibold text-sm relative overflow-hidden px-4 py-3 h-auto w-fit max-w-[300px] sm:max-w-sm">
606572
<motion.div
607573
className="absolute inset-0 bg-gradient-to-r from-transparent via-white/10 to-transparent"
608574
animate={{ x: ["-100%", "100%"] }}
@@ -628,18 +594,15 @@ export default function NotFound(): React.ReactElement {
628594
className="mt-8 text-center"
629595
initial={{ opacity: 0 }}
630596
animate={{ opacity: 1 }}
631-
transition={{ delay: 1.2, duration: 0.6 }}
632-
>
597+
transition={{ delay: 1.2, duration: 0.6 }}>
633598
<div
634599
className="opacity-0"
635600
style={{
636601
opacity: currentStep >= 3 ? 1 : 0,
637602
transition: "opacity 0.6s ease 1s",
638-
}}
639-
>
603+
}}>
640604
<p className="text-xs text-muted-foreground/30 font-medium">
641-
Ready to bring your vision to life? <br /> Let's dive into the
642-
editor!
605+
Ready to bring your vision to life? <br /> Let's dive into the editor!
643606
</p>
644607
</div>
645608
</motion.div>

app/app.css

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
@custom-variant dark (&:is(.dark *));
55

66
@theme {
7-
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif,
8-
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
7+
--font-sans:
8+
"Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
9+
"Noto Color Emoji";
910
}
1011

1112
html,
@@ -332,11 +333,14 @@ body {
332333
@keyframes glow-pulse {
333334
0%,
334335
100% {
335-
box-shadow: 0 0 20px rgba(37, 99, 235, 0.1),
336+
box-shadow:
337+
0 0 20px rgba(37, 99, 235, 0.1),
336338
0 0 40px rgba(37, 99, 235, 0.05);
337339
}
338340
50% {
339-
box-shadow: 0 0 30px rgba(37, 99, 235, 0.2), 0 0 60px rgba(37, 99, 235, 0.1);
341+
box-shadow:
342+
0 0 30px rgba(37, 99, 235, 0.2),
343+
0 0 60px rgba(37, 99, 235, 0.1);
340344
}
341345
}
342346

@@ -489,7 +493,16 @@ body {
489493
}
490494

491495
@keyframes indeterminate-slide {
492-
0% { left: -40%; width: 40%; }
493-
50% { left: 20%; width: 60%; }
494-
100% { left: 100%; width: 40%; }
495-
}
496+
0% {
497+
left: -40%;
498+
width: 40%;
499+
}
500+
50% {
501+
left: 20%;
502+
width: 60%;
503+
}
504+
100% {
505+
left: 100%;
506+
width: 40%;
507+
}
508+
}

0 commit comments

Comments
 (0)