Skip to content

Commit 86e5652

Browse files
committed
add preview
1 parent f39f95f commit 86e5652

5 files changed

Lines changed: 28 additions & 2 deletions

File tree

public/images/social-preview.png

370 KB
Loading

src/app/favicon.ico

-17.6 KB
Binary file not shown.

src/app/icon.png

2.32 KB
Loading

src/app/layout.tsx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,32 @@ const lexendDeca = Lexend_Deca({
1717
export const metadata: Metadata = {
1818
title: "CCAI - Centre for Credible Artificial Intelligence",
1919
description: "We make AI understandable, verifiable, and controllable.",
20+
metadataBase: process.env.NEXT_PUBLIC_SITE_URL
21+
? new URL(process.env.NEXT_PUBLIC_SITE_URL)
22+
: undefined,
23+
openGraph: {
24+
title: "CCAI - Centre for Credible Artificial Intelligence",
25+
description: "We make AI understandable, verifiable, and controllable.",
26+
images: [
27+
{
28+
url: "/images/social-preview.png",
29+
width: 1336,
30+
height: 768,
31+
alt: "Decode AI graphic",
32+
},
33+
],
34+
},
35+
twitter: {
36+
card: "summary_large_image",
37+
title: "CCAI - Centre for Credible Artificial Intelligence",
38+
description: "We make AI understandable, verifiable, and controllable.",
39+
images: ["/images/social-preview.png"],
40+
},
41+
icons: {
42+
icon: "/favicon.ico",
43+
shortcut: "/favicon.ico",
44+
apple: "/icon.png",
45+
},
2046
};
2147

2248
export default function RootLayout({

src/components/TeamMember.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ export default function TeamMemberCard({ member }: TeamMemberProps) {
5050
{member.tags.map((tag, index) => (
5151
<div
5252
key={index}
53-
className="bg-[#001f33] flex gap-[10px] items-center justify-center px-[5px] py-[3px] max-w-full"
53+
className="bg-[#001f33] inline-flex gap-[10px] items-center justify-start px-[6px] py-[4px] max-w-[220px] w-auto min-w-0"
5454
>
55-
<p className="font-mono text-sm font-normal leading-[1.1] text-white uppercase truncate">
55+
<p className="font-mono text-sm font-normal leading-[1.1] text-white uppercase whitespace-normal break-words text-left min-w-0">
5656
{tag}
5757
</p>
5858
</div>

0 commit comments

Comments
 (0)