diff --git a/app/layout.tsx b/app/layout.tsx index 3586920..93d28d3 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -36,7 +36,7 @@ export default function RootLayout({ diff --git a/components/Landing Page/Footer.tsx b/components/Landing Page/Footer.tsx index 5efee0e..bf039e1 100644 --- a/components/Landing Page/Footer.tsx +++ b/components/Landing Page/Footer.tsx @@ -1,4 +1,7 @@ +import { Button } from '@nextui-org/button' +import { Input } from '@nextui-org/input' import React from 'react' +import { MailIcon } from '../icons' export default function Footer() { return ( @@ -44,13 +47,26 @@ export default function Footer() {

Pelayanan Polisiku

Pelayanan BINMAS

-
-

Pelayanan BINMAS

-

Pelayanan BINMAS

-

Pelayanan BINMAS

+
+

Subscribe

+

Dapatkan info & event terupdate dari kami.

+ + } + endContent={ +
+ @gmail.com +
+ } + /> +
-

© Copyright Humas

  POLRI ®

  All Rights Reserved

+
© Copyright Humas

  POLRI ®

  All Rights Reserved
) } diff --git a/components/icons.tsx b/components/icons.tsx index 13dff80..80abcd2 100644 --- a/components/icons.tsx +++ b/components/icons.tsx @@ -442,4 +442,22 @@ export const DotsIcon = ({ fill="#969696" /> -); \ No newline at end of file +); + +export const MailIcon = (props: any) => ( + +); diff --git a/components/navbar.tsx b/components/navbar.tsx index c190f10..724d58a 100644 --- a/components/navbar.tsx +++ b/components/navbar.tsx @@ -1,40 +1,31 @@ -import { - Navbar as NextUINavbar, - NavbarContent, - NavbarMenu, - NavbarMenuToggle, - NavbarBrand, - NavbarItem, - NavbarMenuItem, -} from "@nextui-org/navbar"; -import { Button } from "@nextui-org/button"; +import { Input } from "@nextui-org/input"; import { Kbd } from "@nextui-org/kbd"; import { Link } from "@nextui-org/link"; -import { Input } from "@nextui-org/input"; - -import { link as linkStyles } from "@nextui-org/theme"; - -import { siteConfig } from "@/config/site"; -import NextLink from "next/link"; -import clsx from "clsx"; - -import { ThemeSwitch } from "@/components/theme-switch"; import { - TwitterIcon, - GithubIcon, - DiscordIcon, - HeartFilledIcon, - SearchIcon, + NavbarBrand, + NavbarContent, + NavbarItem, + NavbarMenu, + NavbarMenuItem, + NavbarMenuToggle, + Navbar as NextUINavbar +} from "@nextui-org/navbar"; + + + +import { ChevronDownIcon, FbIcon, IgIcon, - YtIcon, - TwIcon, + SearchIcon, TtIcon, + TwIcon, + YtIcon } from "@/components/icons"; +import { ThemeSwitch } from "@/components/theme-switch"; -import { Logo } from "@/components/icons"; -import { Image } from "@nextui-org/react"; +import { Button, Dropdown, DropdownItem, DropdownMenu, DropdownTrigger, Image } from "@nextui-org/react"; +import { siteConfig } from "@/config/site"; export const Navbar = () => { const searchInput = ( @@ -59,16 +50,16 @@ export const Navbar = () => { ); return ( - - + - +

Pelayanan Masyarakat

@@ -102,7 +93,7 @@ export const Navbar = () => {
- +
@@ -112,6 +103,27 @@ export const Navbar = () => {
{searchInput}
+ + + + + + + + {/* {searchInput} */} +
+ {siteConfig.navMenuItems.map((item, index) => ( + + + {item.label} + + + ))} +
+
); }; diff --git a/config/site.ts b/config/site.ts index 03669fe..d108e89 100644 --- a/config/site.ts +++ b/config/site.ts @@ -8,22 +8,22 @@ export const siteConfig = { label: "Home", href: "/", }, - { - label: "Docs", - href: "/docs", - }, - { - label: "Pricing", - href: "/pricing", - }, - { - label: "Blog", - href: "/blog", - }, - { - label: "About", - href: "/about", - } + { + label: "Docs", + href: "/docs", + }, + { + label: "Pricing", + href: "/pricing", + }, + { + label: "Blog", + href: "/blog", + }, + { + label: "About", + href: "/about", + } ], navMenuItems: [ { @@ -64,6 +64,6 @@ export const siteConfig = { twitter: "https://twitter.com/getnextui", docs: "https://nextui.org", discord: "https://discord.gg/9b6yyZKmH4", - sponsor: "https://patreon.com/jrgarciadev" + sponsor: "https://patreon.com/jrgarciadev" }, };