svrjs-nextjs-website/components/shared/Partners.tsx

47 lines
1.4 KiB
TypeScript
Raw Normal View History

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-06-15 17:30:51 +02:00
const Partners = () => {
2024-06-17 08:41:15 +02:00
const router = useRouter();
const handleClick = () => {
router.push("/docs");
};
2024-06-16 15:37:26 +02:00
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 mb-6 text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400">
SVRJS in action
</h2>
<div className="w-full flex-start flex-row">
<div className="flex max-md:flex-col items-center justify-start gap-4">
2024-06-16 16:54:15 +02:00
<h2 className="text-lg font-medium bg-accent/60 px-2 py-2 rounded-md">
2024-06-16 15:37:26 +02:00
Process of setting up a WordPress website running on SVR.JS.
</h2>
2024-06-17 08:41:15 +02:00
<Button
onClick={handleClick}
className="flex-center font-bold max-md:w-full max-w-xl"
>
2024-06-16 15:37:26 +02:00
Docs <ArrowUpRight />
</Button>
</div>
</div>
<video
src="/svgaction.mp4"
className="rounded-xl aspect-video bg-[#09090b]"
controls
poster="/poster.svg"
></video>
<hr className="w-full h-1" />
</section>
);
2024-06-15 17:30:51 +02:00
};
export default Partners;