"use client"; import { BorderBeam } from "@/components/ui/border-beam"; import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; import { Badge } from "@/components/ui/badge"; import { buttonVariants } from "@/components/ui/button"; import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card"; import Link from "next/link"; import Image from "next/image"; import { Happy_Monkey } from "next/font/google"; import { BarChart4, Cog, LightbulbIcon, ShieldCheck } from "lucide-react"; import Iconss from "../ui/icons"; const happyMonkey = Happy_Monkey({ preload: true, weight: ["400"], subsets: ["latin"] }); const HeroCards = () => { const cards = { aboutCard: { description: "You can follow us to get the updates on SVR.JS web server, along with web development tips.", socialLinks: { x: "https://x.com/SVR_JS", Mastodon: "https://mastodon.social/@svrjs", Bluesky: "https://bsky.app/profile/svrjs.org", Odysee: "https://odysee.com/@SVRJS" } }, pricingCard: { planName: "Free Forever", badgeTitle: "Popular", pricePerMonth: "$0", description: "Get all the features with SVR.JS, which is free as in freedom.", primaryButtonText: "Download SVR.JS", primaryButtonDestination: "/downloads", features: [ { title: "Scalablity", icons: }, { title: "Security", icons: }, { title: "Configurability", icons: } ], curlyText: "Free Forever!" }, serviceCard: { title: "Pro tip: see our blog!", description: "We have web development, web server administration, and web application security tips on our blog!" } }; return (
{/* Twitter First Top left */} acrosett
acrosett @acrosettdev
My pleasure, SVR.js is an awesome project! 🔥🚀
{/* Socials Second top right */} Socials

{cards.aboutCard.description}

{/* Pricings Bottom left */} {cards.pricingCard.planName} {cards.pricingCard.badgeTitle}
{cards.pricingCard.pricePerMonth} /month
{cards.pricingCard.description} {cards.pricingCard.primaryButtonText}

{cards.pricingCard.features.map((benefit) => ( {benefit.icons} {benefit.title}
))}
Curly arrow {cards.pricingCard.curlyText}
{/* Service */}
{cards.serviceCard.title} {cards.serviceCard.description}
); }; export default HeroCards;