Skip to content

Commit 4bed1d2

Browse files
committed
build: og image
1 parent 3d48a62 commit 4bed1d2

File tree

79 files changed

+170
-154
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+170
-154
lines changed

public/images/ogtitle.png

65.7 KB
Loading

public/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,22 @@
1111
name="description"
1212
content="codex by fezcode..."
1313
/>
14+
15+
<!-- Open Graph / Facebook -->
16+
<meta property="og:type" content="website" />
17+
<meta property="og:url" content="https://fezcode.com/" />
18+
<meta property="og:title" content="Fezcodex - Personal Blog and Projects" />
19+
<meta property="og:description" content="Discover logs, posts, projects, and stories from Fezcode." />
20+
<meta property="og:image" content="%PUBLIC_URL%/images/ogtitle.png" />
21+
22+
<!-- Twitter -->
23+
<meta name="twitter:card" content="summary_large_image" />
24+
<meta name="twitter:url" content="https://fezcode.com/" /> <!-- Replace with your actual domain -->
25+
<meta name="twitter:title" content="Fezcodex - Personal Blog and Projects" /> <!-- Customize title -->
26+
<meta name="twitter:description" content="Discover logs, posts, projects, and stories from Fezcode." />
27+
<meta name="twitter:image" content="%PUBLIC_URL%/images/ogtitle.png" />
28+
29+
1430
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
1531
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
1632
<link rel="preconnect" href="https://fonts.googleapis.com">

src/pages/AchievementsPage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ const AchievementsPage = () => {
2121
keywords: ['Fezcodex', 'achievements', 'gamification', 'trophies'],
2222
ogTitle: 'Achievements | Fezcodex',
2323
ogDescription: 'Track your progress and unlocked secrets in Fezcodex.',
24-
ogImage: 'https://fezcode.github.io/logo512.png',
24+
ogImage: '/images/ogtitle.png',
2525
twitterCard: 'summary_large_image',
2626
twitterTitle: 'Achievements | Fezcodex',
2727
twitterDescription: 'Track your progress and unlocked secrets in Fezcodex.',
28-
twitterImage: 'https://fezcode.github.io/logo512.png',
28+
twitterImage: '/images/ogtitle.png',
2929
});
3030

3131
const { unlockedAchievements, showAchievementToast } = useAchievements();

src/pages/AppPage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ function AppPage() {
3333
],
3434
ogTitle: 'Apps | Fezcodex',
3535
ogDescription: 'All the available apps created within the Fezcodex.',
36-
ogImage: 'https://fezcode.github.io/logo512.png',
36+
ogImage: '/images/ogtitle.png',
3737
twitterCard: 'summary_large_image',
3838
twitterTitle: 'Apps | Fezcodex',
3939
twitterDescription: 'All the available apps created within the Fezcodex.',
40-
twitterImage: 'https://fezcode.github.io/logo512.png',
40+
twitterImage: '/images/ogtitle.png',
4141
});
4242

4343
const [groupedApps, setGroupedApps] = useState({});

src/pages/BlogPage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ const BlogPage = () => {
3636
ogTitle: 'Blog | Fezcodex',
3737
ogDescription:
3838
'Catch up on the latest news and insights from the Fezcodex blog.',
39-
ogImage: 'https://fezcode.github.io/logo512.png',
39+
ogImage: '/images/ogtitle.png',
4040
twitterCard: 'summary_large_image',
4141
twitterTitle: 'Blog | Fezcodex',
4242
twitterDescription:
4343
'Catch up on the latest news and insights from the Fezcodex blog.',
44-
twitterImage: 'https://fezcode.github.io/logo512.png',
44+
twitterImage: '/images/ogtitle.png',
4545
});
4646
const [displayItems, setDisplayItems] = useState([]);
4747
const [loading, setLoading] = useState(true);

src/pages/BlogPostPage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,13 +300,13 @@ const BlogPostPage = () => {
300300
ogTitle={`${post.attributes.title} | Fezcodex`}
301301
ogDescription={post.body.substring(0, 150)}
302302
ogImage={
303-
post.attributes.image || 'https://fezcode.github.io/logo512.png'
303+
post.attributes.image || '/images/ogtitle.png'
304304
}
305305
twitterCard="summary_large_image"
306306
twitterTitle={`${post.attributes.title} | Fezcodex`}
307307
twitterDescription={post.body.substring(0, 150)}
308308
twitterImage={
309-
post.attributes.image || 'https://fezcode.github.io/logo512.png'
309+
post.attributes.image || '/images/ogtitle.png'
310310
}
311311
/>
312312

src/pages/CommandsPage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,12 +350,12 @@ function CommandsPage() {
350350
keywords: ['Fezcodex', 'apps', 'applications', 'cmd', 'dev', 'commands'],
351351
ogTitle: 'All Commands | Fezcodex',
352352
ogDescription: 'All the available commands that can be used in Fezcodex.',
353-
ogImage: 'https://fezcode.github.io/logo512.png',
353+
ogImage: '/images/ogtitle.png',
354354
twitterCard: 'summary_large_image',
355355
twitterTitle: 'All Commands | Fezcodex',
356356
twitterDescription:
357357
'All the available commands that can be used in Fezcodex.',
358-
twitterImage: 'https://fezcode.github.io/logo512.png',
358+
twitterImage: '/images/ogtitle.png',
359359
});
360360

361361
const { togglePalette } = useCommandPalette();

src/pages/LogDetailPage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ const LogDetailPage = () => {
128128
ogTitle={`${log.attributes.title} | Fezcodex`}
129129
ogDescription={log.body.substring(0, 150)}
130130
ogImage={
131-
log.attributes.image || 'https://fezcode.github.io/logo512.png'
131+
log.attributes.image || '/images/ogtitle.png'
132132
}
133133
twitterCard="summary_large_image"
134134
twitterTitle={`${log.attributes.title} | Fezcodex`}
135135
twitterDescription={log.body.substring(0, 150)}
136136
twitterImage={
137-
log.attributes.image || 'https://fezcode.github.io/logo512.png'
137+
log.attributes.image || '/images/ogtitle.png'
138138
}
139139
/>
140140
<div className="mx-auto max-w-7xl px-6 lg:px-8">

src/pages/LogsPage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ const LogsPage = () => {
5757
keywords: ['Fezcodex', 'logs', 'thoughts', 'writing'],
5858
ogTitle: 'Logs | Fezcodex',
5959
ogDescription: 'A collection of logs, thoughts, and other miscellaneous writings.',
60-
ogImage: 'https://fezcode.github.io/logo512.png',
60+
ogImage: '/images/ogtitle.png',
6161
twitterCard: 'summary_large_image',
6262
twitterTitle: 'Logs | Fezcodex',
6363
twitterDescription: 'A collection of logs, thoughts, and other miscellaneous writings.',
64-
twitterImage: 'https://fezcode.github.io/logo512.png',
64+
twitterImage: '/images/ogtitle.png',
6565
});
6666

6767
const [logs, setLogs] = useState([]);

src/pages/NewsPage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ function NewsPage() {
5858
ogTitle: 'News | Fezcodex',
5959
ogDescription:
6060
'Catch up on the latest news, projects, and log entries from Fezcodex. Your daily digest of updates from the digital frontier.',
61-
ogImage: 'https://fezcode.github.io/logo512.png', // Assuming a generic logo
61+
ogImage: '/images/ogtitle.png', // Assuming a generic logo
6262
twitterCard: 'summary_large_image',
6363
twitterTitle: 'News | Fezcodex',
6464
twitterDescription:
6565
'Catch up on the latest news, projects, and log entries from Fezcodex. Your daily digest of updates from the digital frontier.',
66-
twitterImage: 'https://fezcode.github.io/logo512.png', // Assuming a generic logo
66+
twitterImage: '/images/ogtitle.png', // Assuming a generic logo
6767
});
6868

6969
const [newsItems, setNewsItems] = useState([]);

0 commit comments

Comments
 (0)