diff --git a/Foxnouns.Frontend/app/components/profile/AvatarImage.tsx b/Foxnouns.Frontend/app/components/profile/AvatarImage.tsx new file mode 100644 index 0000000..e29ff75 --- /dev/null +++ b/Foxnouns.Frontend/app/components/profile/AvatarImage.tsx @@ -0,0 +1,22 @@ +export default function AvatarImage({ + src, + width, + alt, + lazyLoad, +}: { + src: string; + width: number; + alt: string; + lazyLoad?: boolean; +}) { + return ( + + ); +} diff --git a/Foxnouns.Frontend/app/components/profile/BaseProfile.tsx b/Foxnouns.Frontend/app/components/profile/BaseProfile.tsx index a058755..2d6171e 100644 --- a/Foxnouns.Frontend/app/components/profile/BaseProfile.tsx +++ b/Foxnouns.Frontend/app/components/profile/BaseProfile.tsx @@ -6,6 +6,7 @@ import ProfileLink from "~/components/profile/ProfileLink"; import ProfileField from "~/components/profile/ProfileField"; import { useTranslation } from "react-i18next"; import { renderMarkdown } from "~/lib/markdown"; +import AvatarImage from "~/components/profile/AvatarImage"; export type Props = { name: string; @@ -31,20 +32,16 @@ export default function BaseProfile({