Skip to content

Commit

Permalink
Merge pull request #255 from mattzcarey/feat/lc/253/add-demo--to-navbar
Browse files Browse the repository at this point in the history
Feat/lc/253/add demo to navbar
  • Loading branch information
lizacullis authored Sep 7, 2023
2 parents b7fa8eb + 5370f69 commit 594b5f4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion services/web-app/src/components/buttons/iconButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const IconButton: React.FC<HeaderButtonProps> = ({ icon, to, setOpen }) => {
return (
<li className="group relative">
<Link
className="p-1 sm:mx-10 justify-right"
className="p-1 sm:mx-10 text-black justify-right"
onClick={() => setOpen && setOpen(false)}
href={to}
>
Expand Down
12 changes: 11 additions & 1 deletion services/web-app/src/components/navbar/NavItems.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use client";
import { HomeIcon, PersonIcon } from "@radix-ui/react-icons";
import { HomeIcon, Pencil1Icon, PersonIcon } from "@radix-ui/react-icons";
import { signIn, signOut, useSession } from "next-auth/react";
import React, { Dispatch, HTMLAttributes, SetStateAction } from "react";

Expand Down Expand Up @@ -35,6 +35,11 @@ export const NavItems = ({
to="/"
setOpen={setOpen}
/>
<IconButton
icon={<Pencil1Icon height={20} width={20} />}
to="/demo"
setOpen={setOpen}
/>
<IconButton
icon={<PersonIcon height={20} width={20} />}
to="/profile"
Expand All @@ -55,6 +60,11 @@ export const NavItems = ({
to="/"
setOpen={setOpen}
/>
<IconButton
icon={<Pencil1Icon height={20} width={20} />}
to="/demo"
setOpen={setOpen}
/>
<BasicButton
text="Sign In"
onClick={async () => {
Expand Down

0 comments on commit 594b5f4

Please sign in to comment.