diff --git a/components/Navigation/Navigation.module.scss b/components/Navigation/Navigation.module.scss index 4ae69e4..3b409a8 100644 --- a/components/Navigation/Navigation.module.scss +++ b/components/Navigation/Navigation.module.scss @@ -20,10 +20,24 @@ color: var(--color); } } +.partprofile { + background: rgba(255, 255, 255, 0.1); + display: flex; + flex-direction: row; + align-items: center; + gap: 8px; +} .profile { + background: rgba(255, 255, 255, 0.1); + display: flex; + flex-direction: row; + align-items: center; + gap: 8px; margin-left: auto; - background: var(--color); - color: var(--backdrop); + img { + height: 2.3rem; + border-radius: 50%; + } } .logo { padding: 0 1rem; diff --git a/components/Navigation/Navigation.tsx b/components/Navigation/Navigation.tsx index 5cfa432..f702932 100644 --- a/components/Navigation/Navigation.tsx +++ b/components/Navigation/Navigation.tsx @@ -5,8 +5,10 @@ import { Icon } from "../Icon"; import navigation from "../../data/navigation.json"; import Link from "next/link"; +import { useUser } from "@auth0/nextjs-auth0/client"; + const Navigation = () => { - let username: string = ""; + const { user, isLoading } = useUser(); return ( <>