Skip to content

Commit

Permalink
update meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
starknetdev committed Sep 26, 2023
1 parent d5f0101 commit e3fe7a2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
20 changes: 18 additions & 2 deletions ui/src/app/head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ export default function Head() {
content="Loot Survivor is the first Play2Die game from Realms on Starknet."
/>
<meta property="og:url" content="https://survivor.realms.world" />
<meta property="og:image" content="/scenes/intro/beast.png" />
<meta
property="og:image"
content="https://survivor.realms.world/scenes/intro/beast.png"
/>
<meta property="og:image:width" content="800" />
<meta property="og:image:height" content="600" />
<meta property="og:image:alt" content="Loot Survivor Beast" />

{/* Twitter Card data */}
<meta name="twitter:card" content="summary_large_image" />
Expand All @@ -33,7 +39,17 @@ export default function Head() {
<meta name="twitter:site:id" content="1467726470533754880" />
<meta name="twitter:creator" content="@bibliothecadao" />
<meta name="twitter:creator:id" content="1467726470533754880" />
<meta name="twitter:image" content="/scenes/intro/beast.png" />
<meta
name="twitter:image"
content="https://survivor.realms.world/scenes/intro/beast.png"
/>

{/* Robots data */}
<meta name="robots" content="noindex, follow, nocache" />
<meta
name="googlebot"
content="index, nofollow, noimageindex, max-video-preview:-1, max-image-preview:large, max-snippet:-1"
/>
</>
);
}
3 changes: 0 additions & 3 deletions ui/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ export default function RootLayout({
});
return (
<html lang="en">
<head>
<title>Loot Survivor</title>
</head>
<body
suppressHydrationWarning={true}
className="min-h-screen overflow-hidden text-terminal-green bg-conic-to-br to-terminal-black from-terminal-black bezel-container"
Expand Down

1 comment on commit e3fe7a2

@vercel
Copy link

@vercel vercel bot commented on e3fe7a2 Sep 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.