From 3204924e3472bafcca1919c57129fc897474fbe6 Mon Sep 17 00:00:00 2001 From: Lucian Petri Date: Tue, 27 Dec 2022 03:37:12 +0200 Subject: [PATCH] created UserChoice Component --- website/src/components/UserChoice.tsx | 52 +++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 website/src/components/UserChoice.tsx diff --git a/website/src/components/UserChoice.tsx b/website/src/components/UserChoice.tsx new file mode 100644 index 00000000..39a46aee --- /dev/null +++ b/website/src/components/UserChoice.tsx @@ -0,0 +1,52 @@ +import { Card, CardBody, Flex, Heading } from "@chakra-ui/react"; +import Link from "next/link"; +import React from "react"; +import Image from "next/image"; + +const UserChoice = () => { + return ( + + + + + ); +}; + +type ChoiceProps = { + img?: string; + alt: string; + title: string; + link: string; +}; + +const Choice = (props: ChoiceProps) => { + const { img, title, link } = props; + // NEXT STEPS: FIND BETTER IMAGES AND USE img PROP AS SRC + return ( + + + + + Green double couch with wooden legs + + {title} + + + + + + ); +}; + +export default UserChoice;