174 lines
6.3 KiB
TypeScript
174 lines
6.3 KiB
TypeScript
import { Button } from "@heroui/button";
|
|
import { Input } from "@heroui/input";
|
|
import {
|
|
LandingAppleIcon,
|
|
LandingCallIcon,
|
|
LandingEmailIcon,
|
|
LandingLocationIcon,
|
|
LandingPlayStoreIcon,
|
|
MailIcon,
|
|
SendIcon,
|
|
} from "../icons";
|
|
import Link from "next/link";
|
|
import { useTranslations } from "next-intl";
|
|
import { useEffect, useState } from "react";
|
|
import Image from "next/image";
|
|
|
|
export default function FooterNew() {
|
|
const t2 = useTranslations("Navbar");
|
|
const t3 = useTranslations("LandingInformasiPublik");
|
|
|
|
return (
|
|
<div className="mb-[60px] relative text-xs leading-4 md:leading-loose lg:leading-8 font-semibold">
|
|
<div className="py-10 px-12 lg:px-36 flex flex-col gap-4 text-white bg-gradient-to-r from-[#A88155] via-[#ad1719] to-[#AA0004] from-3% via-50% to-70% ">
|
|
<div className="flex justify-center text-xl lg:text-2xl">
|
|
Channel Humas Polri
|
|
</div>
|
|
<div className="grid grid-cols-3 lg:flex lg:flex-row gap-4 justify-around items-center">
|
|
<Link href="" className="flex justify-center">
|
|
<Image
|
|
src="/assets/portal-humas.png"
|
|
width={480}
|
|
height={480}
|
|
alt="portal-humas"
|
|
className="w-[50px] lg:w-[100px]"
|
|
/>
|
|
</Link>
|
|
<Link href="" className="flex flex-col justify-center items-center">
|
|
<Image
|
|
src="/assets/mediahub.png"
|
|
width={480}
|
|
height={480}
|
|
alt="mediahub"
|
|
className="w-[50px] lg:w-[100px]"
|
|
/>
|
|
<p className="text-[#FED882] text-lg">MediaHub</p>
|
|
</Link>
|
|
<Link href="">
|
|
<Image
|
|
src="/assets/spit.png"
|
|
width={480}
|
|
height={480}
|
|
alt="spit"
|
|
className="w-[85px] lg:w-[170px]"
|
|
/>
|
|
</Link>
|
|
<Link href="">
|
|
<Image
|
|
src="/assets/polri-tv.png"
|
|
width={480}
|
|
height={480}
|
|
alt="polritv"
|
|
className="w-[85px] lg:w-[170px]"
|
|
/>
|
|
</Link>
|
|
<Link href="">
|
|
<Image
|
|
src="/assets/tb-news.png"
|
|
width={480}
|
|
height={480}
|
|
alt="tbn"
|
|
className="w-[85px] lg:w-[170px]"
|
|
/>
|
|
</Link>
|
|
<Link href="">
|
|
<Image
|
|
src="/assets/inp.png"
|
|
width={480}
|
|
height={480}
|
|
alt="inp"
|
|
className="w-[85px] lg:w-[170px]"
|
|
/>
|
|
</Link>
|
|
</div>
|
|
<div className="grid grid-cols-1 lg:grid-cols-3 gap-4">
|
|
<div className="flex flex-col gap-1 text-md font-light">
|
|
<p className="text-lg font-normal">Tentang Kami</p>
|
|
<div className="flex flex-row gap-2 items-center">
|
|
<div className="w-[16px]">
|
|
<LandingCallIcon size={16} />
|
|
</div>
|
|
<p>Call Center 110</p>
|
|
</div>
|
|
<div className="flex flex-row gap-2 items-center">
|
|
<div className="w-[16px]">
|
|
<LandingEmailIcon size={16} />
|
|
</div>
|
|
<p>ppid@polri.go.id</p>
|
|
</div>
|
|
<div className="flex flex-row gap-2 justify-start items-start">
|
|
<div className="w-[16px]">
|
|
<LandingLocationIcon size={16} />
|
|
</div>
|
|
<span className="p-0 m-0 self-start leading-tight">
|
|
Jl. Trunojoyo No.3, Selong, Kec. Kby. Baru, Kota Jakarta
|
|
Selatan, Daerah Khusus Ibukota Jakarta
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div className="flex flex-col gap-4 text-md">
|
|
<p className="text-lg">Download Aplikasi Polri Presisi</p>
|
|
<div className="flex flex-row gap-2">
|
|
<Link
|
|
href=""
|
|
className="flex flex-row p-1 border-1 border-white rounded-lg"
|
|
>
|
|
<LandingAppleIcon size={36} />
|
|
<div className="flex flex-col gap-0 leading-none font-light mr-4">
|
|
<p className="text-[10px]">Download on the</p>
|
|
<p className="text-lg ">App Store</p>
|
|
</div>
|
|
</Link>
|
|
<Link
|
|
href=""
|
|
className="flex flex-row p-1 border-1 border-white rounded-lg"
|
|
>
|
|
<LandingPlayStoreIcon size={30} />
|
|
<div className="flex flex-col gap-0 leading-none font-light mr-4">
|
|
<p className="text-[10px]">GET IT ON</p>
|
|
<p className="text-lg ">Google Play</p>
|
|
</div>
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
<div className="flex flex-col gap-4 text-md">
|
|
<p className="text-xl font-bold">Subscribe</p>
|
|
<div className="flex flex-col">
|
|
<p className="font-light">
|
|
Dapatkan info & event terupdate dari kami.
|
|
</p>
|
|
<div className="flex items-center">
|
|
{" "}
|
|
<Input
|
|
label=""
|
|
type="email"
|
|
placeholder="Tuliskan Email Anda"
|
|
className="rounded-none !text-black"
|
|
classNames={{
|
|
inputWrapper: "rounded-l-lg h-[37px] bg-white !text-black",
|
|
mainWrapper: "rounded-l-lg h-[37px] bg-white !text-black",
|
|
}}
|
|
// startContent={
|
|
// <MailIcon className="text-xl text-default-400 pointer-events-none flex-shrink-0" />
|
|
// }
|
|
/>
|
|
<div className="h-[40px] bg-black flex items-center justify-center w-16 rounded-r-lg cursor-pointer">
|
|
<SendIcon />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<Link href={`/auth`}>
|
|
<Button className="mt-1 text-black bg-white ">
|
|
<p className="text-xs">Kontributor Wilayah</p>
|
|
</Button>
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div className="bg-red-800 text-white text-center py-5 flex justify-center font-light text-sm lg:text-base">
|
|
© Copyright Humas POLRI ® All Rights Reserved
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|