diff --git a/front/components/Security/HeaderProfileBox.tsx b/front/components/Security/HeaderProfileBox.tsx index b5f27952..b5fbd628 100644 --- a/front/components/Security/HeaderProfileBox.tsx +++ b/front/components/Security/HeaderProfileBox.tsx @@ -3,6 +3,7 @@ import styled from "styled-components"; import Link from "next/link"; import { AuthContext } from "./AuthProvider"; import Avvvatars from "avvvatars-react"; +import { GearIcon } from "@radix-ui/react-icons"; export const HeaderProfileBox = () => { const auth: any = React.useContext(AuthContext); @@ -31,6 +32,7 @@ export const HeaderProfileBox = () => {
+ )} @@ -42,6 +44,23 @@ const AccountArea = styled.div` display: flex; place-items: center; + a{ + // center the gear icon + display: flex; + place-items: center; + place-content: center; + width: 29px; + height: 29px; + border-radius: 19px; + background: #F5F5F5; + + // hover effect + &:hover{ + background: #E5E5E5; + + } + } + div { margin-right: 10px; }