diff --git a/frontend/src/app/blog/[articleSlug]/page.tsx b/frontend/src/app/blog/[articleSlug]/page.tsx
index de2807a..f08bcab 100644
--- a/frontend/src/app/blog/[articleSlug]/page.tsx
+++ b/frontend/src/app/blog/[articleSlug]/page.tsx
@@ -1,9 +1,10 @@
-import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
+import { Avatar, AvatarFallback } from "@/components/ui/avatar";
import { BlocksContent } from "@strapi/blocks-react-renderer";
import BlockRendererClient from "@/components/BlockRendererClient";
import { gql } from "@/__generated__/gql";
import { getClient } from "@/lib/ApolloClient";
+import { AvatarImageFix } from "@/components/AvatarImageFix";
import ShareButtons from "@/components/ShareButtons";
const STRAPI_URL = process.env.STRAPI_URL;
@@ -91,7 +92,7 @@ export default async function Page({
{avatarURL && (
-
+
{// Get initials from author name
authorName
diff --git a/frontend/src/components/AvatarImageFix.tsx b/frontend/src/components/AvatarImageFix.tsx
new file mode 100644
index 0000000..fcfe3ce
--- /dev/null
+++ b/frontend/src/components/AvatarImageFix.tsx
@@ -0,0 +1,19 @@
+import React from "react";
+import * as AvatarPrimitive from "@radix-ui/react-avatar";
+import { cn } from "@/lib/utils";
+const STRAPI_URL = process.env.STRAPI_URL;
+
+const AvatarImageFix = React.forwardRef<
+ React.ElementRef,
+ React.ComponentPropsWithoutRef
+>(({ className, src, ...props }, ref) => (
+
+));
+AvatarImageFix.displayName = "AvatarImageFix";
+
+export { AvatarImageFix };
diff --git a/frontend/src/components/ContactCard.tsx b/frontend/src/components/ContactCard.tsx
deleted file mode 100644
index 1a7e4b1..0000000
--- a/frontend/src/components/ContactCard.tsx
+++ /dev/null
@@ -1,45 +0,0 @@
-import * as React from "react";
-import { ExternalLink } from "./ExternalLink";
-import {
- Card,
- CardContent,
- CardFooter,
- CardHeader,
- CardTitle,
-} from "@/components/ui/card";
-import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
-import Helpers from "@/lib/helpers";
-import { Label } from "@/components/ui/label";
-
-type ContactCardProps = {
- name?: string;
- role: string | null | undefined;
- imageUrl?: string;
- externalUrl: string;
-};
-
-export function ContactCard({
- name = "",
- role,
- imageUrl,
- externalUrl,
-}: ContactCardProps) {
- return (
-
-
-
-
-
- {Helpers.fullNameToInitials(name)}
-
-
- {name}
-
-
-
- NTNU
-
-
-
- );
-}