From d7f5b4185321c7cd41d1bee7b7150486ce904688 Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Mon, 11 May 2026 06:34:44 +0200 Subject: [PATCH] Cta --- src/app/(home)/page.tsx | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/app/(home)/page.tsx b/src/app/(home)/page.tsx index 186349f..b2185a3 100644 --- a/src/app/(home)/page.tsx +++ b/src/app/(home)/page.tsx @@ -2,6 +2,8 @@ import MorphText from "@/components/Morph"; import { Card } from "fumadocs-ui/components/card"; +import { BookOpenIcon, NewspaperIcon, RocketIcon } from "lucide-react"; +import Link from "next/link"; import { useEffect, useRef, useState } from "react"; export const mistShowcase = [ @@ -12,6 +14,7 @@ export const mistShowcase = [ code: `void main() { println!("Hello, world!"); }`, + cta: true, }, { @@ -92,7 +95,7 @@ function ShowSection({ show, setActiveCode, }: { - show: { title: string; description: string; code: string }; + show: { title: string; description: string; code: string; cta?: boolean }; setActiveCode: (v: string) => void; }) { const ref = useRef(null); @@ -120,6 +123,25 @@ function ShowSection({ {show.title}

{show.description}

+ {show.cta && ( +
+ + + Get Started + + + + + View Blog + +
+ )} ); }