Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding OG image and meta data #43

Merged
merged 2 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/og-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions src/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,31 @@ export default function App({ Component, pageProps, ...props }) {
return (
<>
<Head>
{/* HTML Meta Tags */}
<meta name='viewport' content='initial-scale=1.0, width=device-width' />
<meta name='author' content='Jason Melgoza' />
<meta name='title' content={title} />
<meta name='description' content={description} />
<meta name='keywords' content={keywords} />

{/* OG Meta Tags */}
<meta property='og:url' content='https://jasonmelgoza.com/' />
<meta property='og:type' content='website' />
<meta property='og:title' content={TITLE} />
<meta property='og:description' content={description} />
<meta property='og:image' content='/og-image.png' />
<meta property='og:image:type' content='image/png' />
<meta property='og:image:width' content='400' />
<meta property='og:image:height' content='200' />

{/* HTML Title */}
{isLanding ? (
<title>{TITLE}</title>
) : (
<title>{`${TITLE} | ${title}`}</title>
)}

{/* Favicons */}
<link rel='icon' href='/favicon.ico' />
</Head>
<Layout className={satoshiFont.className}>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Jason Melgoza
description: Homepage
description: Product designer and creator
---

{% block as="section" className="block-hero" %}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/projects/basis.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Basis Design System
description: A glimpse into the Basis design system, developed for SecureDocs.
description: Design system developed for SecureDocs
category: projects
---

Expand Down
2 changes: 1 addition & 1 deletion src/pages/projects/design-kit.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Design Kit
description: Design Kit is a design system I contributed to during my time at RightScale.
description: Design system developed for RightScale
category: projects
---

Expand Down
2 changes: 1 addition & 1 deletion src/pages/projects/metal-icons.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Metal Icons
description: Icons from the Metal collection.
description: Icons from the Metal collection
category: projects
---

Expand Down