2024-06-17 08:41:15 +02:00
|
|
|
"use client";
|
2024-06-15 17:30:51 +02:00
|
|
|
import React from "react";
|
2024-06-16 15:37:26 +02:00
|
|
|
import { Button } from "../ui/button";
|
|
|
|
import { ArrowUpRight } from "lucide-react";
|
|
|
|
import Link from "next/link";
|
2024-06-17 08:41:15 +02:00
|
|
|
import { useRouter } from "next/navigation";
|
2024-08-30 13:44:41 +02:00
|
|
|
import HeroVideoDialog from "../ui/heroVideoAction";
|
2024-06-15 17:30:51 +02:00
|
|
|
|
2024-09-07 09:52:44 +02:00
|
|
|
const DemoVideo = () => {
|
2024-09-07 09:12:48 +02:00
|
|
|
const router = useRouter();
|
|
|
|
const handleClick = () => {
|
|
|
|
router.push("/docs");
|
|
|
|
};
|
|
|
|
return (
|
|
|
|
<section
|
|
|
|
id="partners"
|
|
|
|
className="wrapper container py-24 md:py-28 gap-4 flex flex-col"
|
|
|
|
>
|
|
|
|
<h2 className="text-3xl md:text-5xl font-bold text-start">
|
|
|
|
<span className="bg-gradient-to-b from-green-300 to-primary text-transparent bg-clip-text">
|
2024-09-07 09:39:26 +02:00
|
|
|
SVR.JS
|
2024-09-07 09:12:48 +02:00
|
|
|
</span>{" "}
|
|
|
|
in action
|
|
|
|
</h2>
|
|
|
|
<div className="w-full flex-start flex-row">
|
|
|
|
<div className="flex max-md:flex-col items-center justify-start gap-4">
|
|
|
|
<h2 className="text-md font-medium bg-accent/60 px-2 py-2 rounded-md">
|
|
|
|
Process of setting up a WordPress website running on SVR.JS.
|
|
|
|
</h2>
|
|
|
|
<Button
|
|
|
|
onClick={handleClick}
|
|
|
|
className="flex-center font-bold max-md:w-full max-w-xl"
|
|
|
|
>
|
|
|
|
Docs <ArrowUpRight />
|
|
|
|
</Button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-06-16 15:37:26 +02:00
|
|
|
|
2024-09-07 09:12:48 +02:00
|
|
|
<HeroVideoDialog
|
|
|
|
animationStyle="top-in-bottom-out"
|
|
|
|
videoSrc="https://odysee.com/$/embed/@SVRJS:5/svrjs-in-action:e?r=7t9EG6VDTNZDSze8ysoChqocLNhAMZEe"
|
|
|
|
thumbnailSrc="/poster.svg"
|
|
|
|
thumbnailAlt="Poster.svg"
|
|
|
|
/>
|
|
|
|
{/* <video
|
2024-07-25 21:23:26 +02:00
|
|
|
src="/svgaction.mp4"
|
|
|
|
className="rounded-xl aspect-video bg-[#09090b]"
|
|
|
|
controls
|
|
|
|
poster="/poster.svg"
|
2024-08-30 13:44:41 +02:00
|
|
|
></video> */}
|
2024-09-07 09:12:48 +02:00
|
|
|
<hr className="w-full h-1" />
|
|
|
|
</section>
|
|
|
|
);
|
2024-06-15 17:30:51 +02:00
|
|
|
};
|
|
|
|
|
2024-09-07 09:52:44 +02:00
|
|
|
export default DemoVideo;
|