diff --git a/public/temp.jpg b/public/temp.jpg index 4339392..ef5ceac 100644 Binary files a/public/temp.jpg and b/public/temp.jpg differ diff --git a/src/components/ShowcaseTabs.jsx b/src/components/ShowcaseTabs.jsx index a96919f..cae558b 100644 --- a/src/components/ShowcaseTabs.jsx +++ b/src/components/ShowcaseTabs.jsx @@ -1,93 +1,75 @@ -import { Button } from "../components/ui/button" +import { Button } from "../components/ui/button"; import { - Card, - CardContent, - CardDescription, - CardFooter, - CardHeader, - CardTitle, -} from "../components/ui/card" + Card, + CardContent, + CardDescription, + CardHeader, + CardTitle, +} from "../components/ui/card"; import { - Tabs, - TabsContent, - TabsList, - TabsTrigger, -} from "../components/ui/tabs" -import { - Carousel, - CarouselContent, - CarouselItem, - CarouselNext, - CarouselPrevious, -} from "../components/ui/carousel" + Tabs, + TabsContent, + TabsList, + TabsTrigger, +} from "../components/ui/tabs"; -const data = [{ +const data = [ + { value: "thisPage", - handle: "1", + handle: "Projekt 1", title: "This Page", description: "random text", - images: [{ src: "temp.jpg", alt: "text" }, { src: "temp.jpg", alt: "text2" }] -}, { + images: [ + { src: "temp.jpg", alt: "text" }, + { src: "temp.jpg", alt: "text2" }, + ], + }, + { value: "thatPage", title: "That Page", - handle: "2", + handle: "Projekt 2", description: "random text", - images: [{ src: "temp.jpg", alt: "text" }, { src: "temp.jpg", alt: "text2" }] -}, { + images: [ + { src: "temp.jpg", alt: "text" }, + { src: "temp.jpg", alt: "text2" }, + ], + }, + { value: "otherPge", title: "Other Page", - handle: "3", + handle: "Projekt 3", description: "random text", - images: [{ src: "temp.jpg", alt: "text" }, { src: "temp.jpg", alt: "text2" }] -}]; + images: [ + { src: "temp.jpg", alt: "text" }, + { src: "temp.jpg", alt: "text2" }, + ], + }, +]; export function ShowcaseTabs() { - return ( - -
-
- {data.map((item) => ( - - - - {item.title} - - {item.description} - - - - - - {item.images.map((image, index) => ( - - - - {image.alt} - - - - ))} - -
-
- -
-
- -
-
-
-
-
-
- ))} - - {data.map((item) => ( - {item.handle} - ))} - -
-
-
- ) + return ( + + + {data.map((item) => ( + {item.handle} + ))} + + {data.map((item) => ( + + + + {item.title} + {item.description} + + + + + + + ))} + + ); }