mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-04-19 10:51:20 +00:00
imporved meta tags
This commit is contained in:
parent
ac56bccc5a
commit
5bfeaabcd8
@ -3,12 +3,52 @@ import Document, { Html, Head, Main, NextScript } from 'next/document';
|
|||||||
class MyDocument extends Document {
|
class MyDocument extends Document {
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<Html>
|
<Html lang="en">
|
||||||
<Head>
|
<Head>
|
||||||
|
{/* Essential Meta Tags */}
|
||||||
|
<meta charSet="utf-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<meta name="robots" content="index, follow" />
|
||||||
|
|
||||||
|
{/* Default Meta Tags (can be overridden per page) */}
|
||||||
|
<meta name="description" content="PlebDevs - Developer education and content platform built on Nostr with Lightning integration" />
|
||||||
|
<meta name="keywords" content="bitcoin, lightning network, nostr, web development, programming, education, courses" />
|
||||||
|
<meta name="author" content="PlebDevs" />
|
||||||
|
|
||||||
|
{/* Open Graph / Facebook */}
|
||||||
|
<meta property="og:type" content="website" />
|
||||||
|
<meta property="og:site_name" content="PlebDevs" />
|
||||||
|
<meta property="og:locale" content="en_US" />
|
||||||
|
|
||||||
|
{/* Twitter Card */}
|
||||||
|
<meta name="twitter:card" content="summary_large_image" />
|
||||||
|
<meta name="twitter:site" content="@pleb_devs" />
|
||||||
|
<meta name="twitter:creator" content="@pleb_devs" />
|
||||||
|
|
||||||
|
{/* Schema.org structured data */}
|
||||||
|
<script
|
||||||
|
type="application/ld+json"
|
||||||
|
dangerouslySetInnerHTML={{
|
||||||
|
__html: JSON.stringify({
|
||||||
|
"@context": "https://schema.org",
|
||||||
|
"@type": "EducationalOrganization",
|
||||||
|
"name": "PlebDevs",
|
||||||
|
"description": "Developer education and content platform built on Nostr with Lightning integration",
|
||||||
|
"url": "https://plebdevs.com",
|
||||||
|
"sameAs": [
|
||||||
|
"https://x.com/pleb_devs",
|
||||||
|
"https://github.com/austinkelsay/plebdevs",
|
||||||
|
"https://www.youtube.com/@plebdevs"
|
||||||
|
]
|
||||||
|
})
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
|
||||||
|
{/* Existing Font Configuration */}
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Blinker:wght@100;200;300;400;600;700;800;900&family=Poppins&display=swap" rel="stylesheet" />
|
<link href="https://fonts.googleapis.com/css2?family=Blinker:wght@100;200;300;400;600;700;800;900&family=Poppins&display=swap" rel="stylesheet" />
|
||||||
|
|
||||||
{/* Favicon configuration */}
|
{/* Existing Favicon Configuration */}
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user