diff --git a/components/home/__tests__/homepage-start.test.tsx b/components/home/__tests__/homepage-start.test.tsx index ac17da9f4..e535673e0 100644 --- a/components/home/__tests__/homepage-start.test.tsx +++ b/components/home/__tests__/homepage-start.test.tsx @@ -8,316 +8,360 @@ describe("HomePageStart", () => { const { container } = render(); expect(container.firstChild).toMatchInlineSnapshot(` -
-
-

- Cek database RS, Puskesmas, Ambulans, Oksigen, dan kontak penting lainnya -

- - Telusuri sekarang - -
-
-
-
- -
-

- - Kontak Darurat - -

-

- Situs dan kontak penting terkait COVID-19 -

-
-
- -
-
-
-
-
- - Ambulans - - -
  • + + + Rumah Sakit + +
  • +
  • + + + Ambulans + +
  • +
  • + + + Info Oksigen + +
  • +
  • + + + Donor Plasma + +
  • +
  • + + + Donasi + +
  • + - - Info Oksigen - - -
  • - - -
    -`); + + `); }); }); diff --git a/lib/home/homepage-menus.tsx b/lib/home/homepage-menus.tsx index 586e81192..9a0248983 100644 --- a/lib/home/homepage-menus.tsx +++ b/lib/home/homepage-menus.tsx @@ -6,6 +6,7 @@ import { DonorIcon, HospitalIcon, OxygenIcon, + DonationIcon, } from "~/components/ui/icons"; export interface HomepageMenuItem { @@ -35,4 +36,9 @@ export const homepageMenus: HomepageMenuItem[] = [ href: "/provinces?kebutuhan=Donor%20plasma", icon: DonorIcon, }, + { + name: "Donasi", + href: "/donasi", + icon: DonationIcon, + }, ]; diff --git a/lib/layout/navigation-data.tsx b/lib/layout/navigation-data.tsx index 0eae216af..f51b10c4b 100644 --- a/lib/layout/navigation-data.tsx +++ b/lib/layout/navigation-data.tsx @@ -82,6 +82,11 @@ export const navMenu: NavMenuItem[] = [ name: "Isolasi Mandiri", href: "/isolasi-mandiri", }, + { + name: "Donasi", + href: "/donasi", + exact: true, + }, { name: "Tentang Kami", href: "/tentang-kami",