From 0a4263dfacb35da657a8b6bafc678d59805fb102 Mon Sep 17 00:00:00 2001 From: Nick Bland Date: Sat, 14 May 2022 16:47:40 +1000 Subject: [PATCH] Update to use a new icon package Use react-icons library over hericons. There is a greater variety of icons available; including heroicons as a part of it. Using this so I can use stuff like a github logo SVG and others. --- components/navbar.tsx | 6 +++--- package-lock.json | 32 ++++++++++++++++---------------- package.json | 4 ++-- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/components/navbar.tsx b/components/navbar.tsx index b6fd5b2..501f0ad 100644 --- a/components/navbar.tsx +++ b/components/navbar.tsx @@ -1,6 +1,6 @@ import React, {Fragment, ReactNode, useState} from "react"; import {Disclosure, Transition} from "@headlessui/react"; -import {XIcon, MenuIcon} from "@heroicons/react/outline" +import {HiX, HiMenu} from "react-icons/hi" import Head from "next/head"; import Link from "next/link"; import Image from "next/image"; @@ -65,9 +65,9 @@ const NavBar = ({children, title = "nickbland.dev | Home", description = "A webs > Open Mobile Menu {!isOpen ? ( -