diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index 5142905bc..cd79efb74 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -32,7 +32,15 @@ const nextConfig: NextConfig = { }, { protocol: "https", - hostname: "res.cloudinary.com", + hostname: "api.iconify.design", + }, + { + protocol: "https", + hostname: "api.simplesvg.com", + }, + { + protocol: "https", + hostname: "api.unisvg.com", }, ], }, diff --git a/apps/web/public/landing-page-dark.png b/apps/web/public/landing-page-dark.png new file mode 100644 index 000000000..1a33bb297 Binary files /dev/null and b/apps/web/public/landing-page-dark.png differ diff --git a/apps/web/src/app/animation/page.tsx b/apps/web/src/app/animation/page.tsx new file mode 100644 index 000000000..37be1ef09 --- /dev/null +++ b/apps/web/src/app/animation/page.tsx @@ -0,0 +1,24 @@ +"use client"; + +import { InputWithBack } from "@/components/ui/input-with-back"; +import { useState } from "react"; + +export default function AnimationPage() { + const [isExpanded, setIsExpanded] = useState(false); + + return ( +
+
+ +
+
+

setIsExpanded(!isExpanded)} + className="cursor-pointer hover:opacity-75 transition-opacity" + > + {isExpanded ? "Collapse" : "Expand"} +

+
+
+ ); +} diff --git a/apps/web/src/components/editor-header.tsx b/apps/web/src/components/editor-header.tsx index 98aec2b90..88deaf0cd 100644 --- a/apps/web/src/components/editor-header.tsx +++ b/apps/web/src/components/editor-header.tsx @@ -1,17 +1,8 @@ "use client"; import { Button } from "./ui/button"; -import { - ChevronDown, - ArrowLeft, - Download, - SquarePen, - Trash, - Sun, -} from "lucide-react"; -import { useTimelineStore } from "@/stores/timeline-store"; +import { ChevronDown, ArrowLeft, SquarePen, Trash, Sun } from "lucide-react"; import { HeaderBase } from "./header-base"; -import { formatTimeCode } from "@/lib/time"; import { useProjectStore } from "@/stores/project-store"; import { KeyboardShortcutsHelp } from "./keyboard-shortcuts-help"; import { useState } from "react"; @@ -28,13 +19,10 @@ import { DeleteProjectDialog } from "./delete-project-dialog"; import { useRouter } from "next/navigation"; import { FaDiscord } from "react-icons/fa6"; import { useTheme } from "next-themes"; -import { usePlaybackStore } from "@/stores/playback-store"; import { TransitionUpIcon } from "./icons"; import { PanelPresetSelector } from "./panel-preset-selector"; export function EditorHeader() { - const { getTotalDuration } = useTimelineStore(); - const { currentTime } = usePlaybackStore(); const { activeProject, renameProject, deleteProject } = useProjectStore(); const [isDeleteDialogOpen, setIsDeleteDialogOpen] = useState(false); const [isRenameDialogOpen, setIsRenameDialogOpen] = useState(false); @@ -124,22 +112,6 @@ export function EditorHeader() { ); - const centerContent = ( -
- - {formatTimeCode(currentTime, "HH:MM:SS:FF", activeProject?.fps || 30)} - - / - - {formatTimeCode( - getTotalDuration(), - "HH:MM:SS:FF", - activeProject?.fps || 30 - )} - -
- ); - const rightContent = (