Skip to content

Commit ad74eaa

Browse files
authored
Merge pull request #66 from renderghost/feature/open-graph-images
Add open graph images for social sharing
2 parents c7aa799 + ccb1bd1 commit ad74eaa

File tree

7 files changed

+26
-6
lines changed

7 files changed

+26
-6
lines changed

docs/public/apple-touch-icon.png

-2.76 KB
Loading

docs/static/apple-touch-icon.png

-2.76 KB
Loading

public/apple-touch-icon.png

-2.76 KB
Loading

public/og/default.png

33.4 KB
Loading

public/og/twitter.png

33 KB
Loading

src/app/layout.tsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,30 @@ export const metadata: Metadata = {
2626
title: 'Lanyards - Researcher Profiles on AT Protocol',
2727
description:
2828
'A dedicated profile for researchers, built on the AT Protocol. An alternative to ORCID.',
29+
openGraph: {
30+
title: 'Lanyards - Researcher Profiles on AT Protocol',
31+
description:
32+
'A dedicated profile for researchers, built on the AT Protocol. An alternative to ORCID.',
33+
url: 'https://lanyards.app',
34+
siteName: 'Lanyards',
35+
images: [
36+
{
37+
url: '/og/default.png',
38+
width: 1200,
39+
height: 630,
40+
alt: 'Lanyards - Researcher Profiles',
41+
},
42+
],
43+
locale: 'en_US',
44+
type: 'website',
45+
},
46+
twitter: {
47+
card: 'summary_large_image',
48+
title: 'Lanyards - Researcher Profiles on AT Protocol',
49+
description:
50+
'A dedicated profile for researchers, built on the AT Protocol. An alternative to ORCID.',
51+
images: ['/og/twitter.png'],
52+
},
2953
};
3054

3155
export const viewport: Viewport = {

src/app/page.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,12 @@ export default function Home() {
4242

4343
{/* Main Heading */}
4444
<h1 className="text-4xl md:text-5xl lg:text-6xl font-bold text-foreground leading-tight">
45-
Your research identity,
46-
<br />
47-
one link
45+
Welcome to Lanyards
4846
</h1>
4947

5048
{/* Subheading */}
5149
<p className="text-lg md:text-xl text-muted-foreground max-w-2xl mx-auto leading-relaxed">
52-
A single curated link for academic researchers that aggregates your
53-
complete scholarly presence—publications, talks, affiliations, and
54-
social profiles.
50+
The curated link for academic researchers that collects your complete scholarly presence—publications, talks, affiliations, and social profiles.
5551
</p>
5652

5753
{/* CTA Buttons */}

0 commit comments

Comments
 (0)