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 && ( +