docs: fix home-page demo video path (#8229)

This commit is contained in:
Maxwell
2026-02-28 22:00:19 -08:00
committed by Alex Yang
parent 933a640614
commit 373b405f98

View File

@@ -13,7 +13,7 @@ import {
import { Icons } from "@/components/icons";
import { ThemeToggle } from "@/components/theme-toggle";
import type { ContributorInfo } from "@/lib/community-stats";
import { cn, getSrc } from "@/lib/utils";
import { cn } from "@/lib/utils";
import {
AiNativeSection,
DatabaseSection,
@@ -2337,7 +2337,7 @@ export function HeroReadMe({
{/* Dashboard demo video — crop top border from video */}
<div className="overflow-hidden" suppressHydrationWarning>
<video
src={getSrc("/demo-dark.mp4")}
src={"/demo-dark.mp4"}
autoPlay
loop
muted
@@ -2345,7 +2345,7 @@ export function HeroReadMe({
className="w-full h-auto -mt-[2px] dark:block hidden"
/>
<video
src={getSrc("/demo-light.mp4")}
src={"/demo-light.mp4"}
autoPlay
loop
muted