diff --git a/public/header-product-j7-shs.tsx b/public/header-product-j7-shs.tsx deleted file mode 100644 index d604686..0000000 --- a/public/header-product-j7-shs.tsx +++ /dev/null @@ -1,125 +0,0 @@ -"use client"; - -import Image from "next/image"; -import { Button } from "../ui/button"; -import { Input } from "../ui/input"; -import { Textarea } from "../ui/textarea"; -import { - Dialog, - DialogContent, - DialogHeader, - DialogTitle, - DialogTrigger, -} from "../ui/dialog"; -import { motion } from "framer-motion"; -import { useState } from "react"; -import { Download } from "lucide-react"; -import Link from "next/link"; - -export default function HeaderProductJ5Ev() { - const [open, setOpen] = useState(false); - const [selectedColorIndex, setSelectedColorIndex] = useState(0); - const [openBrosur, setOpenBrosur] = useState(false); - // const fileId = "1Nici3bdjUG524sUYQgHfbeO63xW6f1_o"; - // const fileLink = `https://drive.google.com/file/d/${fileId}/view`; - // const embedLink = `https://drive.google.com/file/d/${fileId}/preview`; - // const downloadLink = `https://drive.google.com/uc?export=download&id=${fileId}`; - - const images = [ - "/j5-putih.png", - "/j5-hitam.png", - "/j5-silver.png", - "/j5-biru.png", - "/j5-hijau.png", - ]; - - const gradients = [ - "linear-gradient(to bottom, #FFFFFF, #FFFFFF)", - "linear-gradient(to bottom, #1A1A1A, #3A3A3A)", - "linear-gradient(to bottom, #B0B5C2, #B0B5C2)", - "linear-gradient(to bottom, #233a77, #233a77)", - "linear-gradient(to bottom, #5D6B4F, #5D6B4F)", - ]; - return ( - <> -
- -
- about-header - -
- - - - - - - -
-
-
-
- - -
- about-header -
- - - {gradients.map((bg, index) => ( - setSelectedColorIndex(index)} - whileHover={{ scale: 1.1 }} - whileTap={{ scale: 0.95 }} - className={`w-4 h-4 md:w-6 md:h-6 rounded-full border-2 ${ - selectedColorIndex === index ? "border-black" : "border-white" - } shadow-md hover:cursor-pointer`} - style={{ background: bg }} - aria-label={`Pilih warna ${index + 1}`} - /> - ))} - -
- - ); -}