diff --git a/frontend/components/common/Avatar.tsx b/frontend/components/common/Avatar.tsx index d25b47f8b..c3cf598ee 100644 --- a/frontend/components/common/Avatar.tsx +++ b/frontend/components/common/Avatar.tsx @@ -1,5 +1,27 @@ -import { Avatar as MantineAvatar } from "@mantine/core"; +import { stitchesStyled } from "stitches.config"; export function Avatar({ src }: { src: string }) { - return ; + return ( + + + + ); } + +const S_Container = stitchesStyled("div", { + "-webkit-tap-highlight-color": "transparent", + position: "relative", + userSelect: "none", + overflow: "hidden", + width: "38px", + minWidth: "38px", + height: "38px", + borderRadius: "16px", +}); + +const S_Avatar = stitchesStyled("img", { + objectFit: "cover", + width: "100%", + height: "100%", + display: "block", +});