Merge branch 'staging' of https://github.com/mazeincoding/AppCut into staging

This commit is contained in:
Maze Winther
2025-08-26 11:44:06 +02:00
2 changed files with 3 additions and 3 deletions
@@ -67,8 +67,8 @@ const AudioWaveform: React.FC<AudioWaveformProps> = ({
}); });
newWaveSurfer.on("error", (err) => { newWaveSurfer.on("error", (err) => {
console.error("WaveSurfer error:", err);
if (mounted) { if (mounted) {
console.error("WaveSurfer error:", err);
setError(true); setError(true);
setIsLoading(false); setIsLoading(false);
} }
@@ -76,8 +76,8 @@ const AudioWaveform: React.FC<AudioWaveformProps> = ({
await newWaveSurfer.load(audioUrl); await newWaveSurfer.load(audioUrl);
} catch (err) { } catch (err) {
console.error("Failed to initialize WaveSurfer:", err);
if (mounted) { if (mounted) {
console.error("Failed to initialize WaveSurfer:", err);
setError(true); setError(true);
setIsLoading(false); setIsLoading(false);
} }
+1 -1
View File
@@ -12,7 +12,7 @@ import Link from "next/link";
export function Hero() { export function Hero() {
return ( return (
<div className="min-h-[calc(100vh-4.5rem)] supports-[height:100dvh]:min-h-[calc(100dvh-4.5rem)] flex flex-col justify-between items-center text-center px-4"> <div className="min-h-[calc(100svh-4.5rem)] flex flex-col justify-between items-center text-center px-4">
<Image <Image
className="absolute top-0 left-0 -z-50 size-full object-cover invert dark:invert-0 opacity-85" className="absolute top-0 left-0 -z-50 size-full object-cover invert dark:invert-0 opacity-85"
src="/landing-page-dark.png" src="/landing-page-dark.png"