Skip to content

Commit

Permalink
Update links
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchernchong committed Aug 19, 2024
1 parent f9fcbb3 commit ec331a3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 27 deletions.
28 changes: 14 additions & 14 deletions app/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,18 +137,18 @@ const footerSections: FooterSection[] = [
{ href: "/cars/diesel", label: "Diesel Cars" },
],
},
{
title: "COE",
links: [
{ href: "/coe/prices", label: "COE Prices" },
{ href: "/coe/bidding", label: "COE Bidding" },
],
},
{
title: "Resources",
links: [
{ href: "/about", label: "About" },
{ href: "/contact", label: "Contact" },
],
},
// {
// title: "COE",
// links: [
// { href: "/coe/prices", label: "COE Prices" },
// { href: "/coe/bidding", label: "COE Bidding" },
// ],
// },
// {
// title: "Resources",
// links: [
// { href: "/about", label: "About" },
// { href: "/contact", label: "Contact" },
// ],
// },
];
29 changes: 16 additions & 13 deletions app/components/NavMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import * as React from "react";
import Link from "next/link";
import { Battery, Droplet, Fuel, type LucideIcon, Zap } from "lucide-react";
import { UnreleasedFeature } from "@/components/UnreleasedFeature";
import {
NavigationMenu,
NavigationMenuContent,
Expand Down Expand Up @@ -54,19 +55,21 @@ export const NavMenu = () => {
</ul>
</NavigationMenuContent>
</NavigationMenuItem>
<NavigationMenuItem>
<NavigationMenuTrigger>COE</NavigationMenuTrigger>
<NavigationMenuContent>
<ul className="grid gap-3 p-6 md:w-[400px] lg:w-[500px] lg:grid-cols-[.75fr_1fr]">
<ListItem href="/coe/prices" title="Latest COE">
Latest
</ListItem>
<ListItem href="/coe/prices" title="Historical COE Trends">
Historical
</ListItem>
</ul>
</NavigationMenuContent>
</NavigationMenuItem>
<UnreleasedFeature>
<NavigationMenuItem>
<NavigationMenuTrigger>COE</NavigationMenuTrigger>
<NavigationMenuContent>
<ul className="grid gap-3 p-6 md:w-[400px] lg:w-[500px] lg:grid-cols-[.75fr_1fr]">
<ListItem href="/coe/prices" title="Latest COE">
Latest
</ListItem>
<ListItem href="/coe/prices" title="Historical COE Trends">
Historical
</ListItem>
</ul>
</NavigationMenuContent>
</NavigationMenuItem>
</UnreleasedFeature>
</NavigationMenuList>
</NavigationMenu>
);
Expand Down

0 comments on commit ec331a3

Please sign in to comment.