Add Open Graph and Twitter Card metadata for social sharing
- Add og-image.jpg (1200x630) for link previews - Add metadataBase, openGraph, and twitter metadata to layout.tsx 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
968c9b6f4c
commit
c6259e0d8c
|
|
@ -1,31 +1,41 @@
|
|||
import type React from "react"
|
||||
import type { Metadata } from "next"
|
||||
import { Inter } from "next/font/google"
|
||||
import { Analytics } from "@vercel/analytics/next"
|
||||
import "./globals.css"
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] })
|
||||
|
||||
export const metadata: Metadata = {
|
||||
metadataBase: new URL("https://bondingcurve.tech"),
|
||||
title: "Bonding Curve Research Group",
|
||||
description: "Independent research collective studying bonding curves and programmable financial primitives",
|
||||
generator: "v0.app",
|
||||
icons: {
|
||||
icon: [
|
||||
icon: "data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📈</text></svg>",
|
||||
},
|
||||
openGraph: {
|
||||
title: "Bonding Curve Research Group",
|
||||
description:
|
||||
"Independent research collective studying bonding curves and programmable financial primitives",
|
||||
url: "https://bondingcurve.tech",
|
||||
siteName: "Bonding Curve Research Group",
|
||||
images: [
|
||||
{
|
||||
url: "/icon-light-32x32.png",
|
||||
media: "(prefers-color-scheme: light)",
|
||||
},
|
||||
{
|
||||
url: "/icon-dark-32x32.png",
|
||||
media: "(prefers-color-scheme: dark)",
|
||||
},
|
||||
{
|
||||
url: "/icon.svg",
|
||||
type: "image/svg+xml",
|
||||
url: "/og-image.jpg",
|
||||
width: 1200,
|
||||
height: 630,
|
||||
alt: "Bonding Curve Research Group",
|
||||
},
|
||||
],
|
||||
apple: "/apple-icon.png",
|
||||
locale: "en_US",
|
||||
type: "website",
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "Bonding Curve Research Group",
|
||||
description:
|
||||
"Independent research collective studying bonding curves and programmable financial primitives",
|
||||
images: ["/og-image.jpg"],
|
||||
},
|
||||
}
|
||||
|
||||
|
|
@ -38,7 +48,6 @@ export default function RootLayout({
|
|||
<html lang="en">
|
||||
<body className={`${inter.className} antialiased`}>
|
||||
{children}
|
||||
<Analytics />
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 57 KiB |
Loading…
Reference in New Issue