feat: Added social graph data
All checks were successful
Build Gameflow Site / build (push) Successful in 1m6s
All checks were successful
Build Gameflow Site / build (push) Successful in 1m6s
This commit is contained in:
parent
8fa730d97e
commit
08d302fb90
2 changed files with 21 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "gameflow-website",
|
"name": "gameflow-website",
|
||||||
"displayName": "Gameflow",
|
"displayName": "Gameflow",
|
||||||
|
"description": "A Cross-Platform open source Retro gaming frontend designed for handheld and controllers. Focused on building a simple user experience and intuitive UI as a curated community driven experience.",
|
||||||
"module": "index.ts",
|
"module": "index.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,31 @@
|
||||||
---
|
---
|
||||||
import "../assets/style.css";
|
import "../assets/style.css";
|
||||||
import favicon from "../assets/favicon.ico";
|
import favicon from "../assets/favicon.ico";
|
||||||
|
import pkg from "../../package.json";
|
||||||
|
import preview from "../assets/screenshots/3dscreenshot.webp";
|
||||||
|
import { getImage } from "astro:assets";
|
||||||
|
const previewHref = new URL(
|
||||||
|
(await getImage({ src: preview, format: "png" })).src,
|
||||||
|
Astro.url,
|
||||||
|
).href;
|
||||||
---
|
---
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
<!-- Open Graph (Facebook, LinkedIn, Discord, Slack etc.) -->
|
||||||
|
<meta property="og:title" content={`${pkg.displayName} Deck`} />
|
||||||
|
<meta property="og:description" content={pkg.description} />
|
||||||
|
<meta property="og:image" content={previewHref} />
|
||||||
|
<meta property="og:url" content={Astro.url} />
|
||||||
|
<meta property="og:type" content="website" />
|
||||||
|
|
||||||
|
<!-- Twitter/X -->
|
||||||
|
<meta name="twitter:card" content="summary_large_image" />
|
||||||
|
<meta name="twitter:title" content={`${pkg.displayName} Deck`} />
|
||||||
|
<meta name="twitter:description" content={pkg.description} />
|
||||||
|
<meta name="twitter:image" content={previewHref} />
|
||||||
|
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<link rel="icon" type="image/svg+xml" href={favicon} />
|
<link rel="icon" type="image/svg+xml" href={favicon} />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue