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

This commit is contained in:
Maxwell
2026-03-01 06:00:19 +00:00
committed by GitHub
parent f944e39d60
commit ea5722fa78
+3 -3
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,
@@ -2340,7 +2340,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
@@ -2348,7 +2348,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