From 9aef26f5581b505c528bf766bed47dc8facf904c Mon Sep 17 00:00:00 2001 From: Kevin Wu Date: Fri, 29 Dec 2023 16:31:10 -0800 Subject: [PATCH] feat: add example cards --- app/page.tsx | 129 ++++++++++++++++++++++++++++++++--------- components/ui/card.tsx | 79 +++++++++++++++++++++++++ 2 files changed, 181 insertions(+), 27 deletions(-) create mode 100644 components/ui/card.tsx diff --git a/app/page.tsx b/app/page.tsx index b1fd96e..d02c773 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,5 +1,12 @@ -import Hero from "@/components/hero/Hero"; import { Button, buttonVariants } from "@/components/ui/button"; +import { + Card, + CardContent, + CardDescription, + CardFooter, + CardHeader, + CardTitle, +} from "@/components/ui/card"; import { Popover, PopoverContent, @@ -9,6 +16,27 @@ import { cn } from "@/lib/utils"; import { HelpCircle, Search } from "lucide-react"; import Link from "next/link"; +const EXAMPLES = [ + { + uni: "UC Irvine", + ge: "GE IV - Arts and Humanities", + courses: 150, + link: "/search?uni=University%20of%20California%2C%20Irvine&ge=GE%20IV", + }, + { + uni: "UC Santa Barbara", + ge: "GE E - Culture and Thought", + courses: 100, + link: "/search?uni=University%20of%20California%2C%20Santa%20Barbara&ge=GE%20E", + }, + { + uni: "UC Irvine", + ge: "GE VIII - Multicultural Studies", + courses: 100, + link: "/search?uni=University%20of%20California%2C%20Irvine&ge=GE%20VII", + }, +]; + const ArticulatableDefinition = () => { return ( @@ -37,6 +65,41 @@ const ArticulatableDefinition = () => { ); }; +const Graphics = () => { + return ( +
+
+ +
+ +
+ ); +}; + export default function Home() { return (
@@ -88,34 +151,46 @@ export default function Home() {
-
-
-