Skip to content

Commit

Permalink
refactor(web): move og into metadata exports (#16)
Browse files Browse the repository at this point in the history
* refactor(web): move og into metadata exports

* fix(web): head tag
  • Loading branch information
superical authored Nov 16, 2023
1 parent 526299f commit c76384d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
17 changes: 17 additions & 0 deletions packages/web/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,20 @@ export const metadata: Metadata = {
},
manifest: "/site.webmanifest",
metadataBase: new URL(process.env.NEXT_PUBLIC_BASE_URL!),
openGraph: {
type: "website",
title: "The Purpose Bound Money (PBM)",
description:
"A protocol, developed as part of Project Orchid, enabling the use of digital money with automated on-chain escrow payment releases.",
images: [
{
url: "/opengraph-image.png",
width: 1200,
height: 630,
alt: "Purpose Bound Money (PBM)",
},
],
},
};

export default function RootLayout({
Expand All @@ -48,6 +62,9 @@ export default function RootLayout({
// noinspection HtmlRequiredTitleElement
return (
<html lang="en">
<head>
<meta name="twitter:card" content="summary_large_image" />
</head>
<body
className={`${inter.variable} ${architects_daughter.variable} font-inter antialiased bg-white text-gray-700 tracking-tight bg-top bg-no-repeat bg-auto bg-blend-multiply bg-page`}
>
Expand Down
1 change: 0 additions & 1 deletion packages/web/app/opengraph-image.alt.txt

This file was deleted.

File renamed without changes

0 comments on commit c76384d

Please sign in to comment.