Skip to content

Commit

Permalink
embed stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Mar 4, 2024
1 parent 535cb9f commit 907116c
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 6 deletions.
19 changes: 17 additions & 2 deletions src/layouts/Default.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Background from "../components/Background.astro";
import Footer from "../components/Footer.astro";
import Navbar from "../components/Navbar.astro";
const { title } = Astro.props;
const { title, description } = Astro.props;
---

<html lang="en">
Expand All @@ -15,9 +15,24 @@ const { title } = Astro.props;

<!-- title, desc and icon -->
<title>{title}</title>
<meta name="description" content="The official website for Globed - an open-source, highly customizable multiplayer mod for Geometry Dash.">
<meta name="description" content={description}>
<link rel="icon" type="image/png" href={`${import.meta.env.BASE_URL}/logo.png`} />

<!-- some embed bullshit idk -->
<meta property="og:url" content={import.meta.env.SITE}>
<meta property="og:type" content="website">
<meta property="og:title" content="Globed - Multiplayer for Geometry Dash">
<meta property="og:description" content={description}>
<meta property="og:image" content={`${import.meta.env.BASE_URL}/logo.png`}>
<meta property="og:image:width" content="80">
<meta property="og:image:height" content="80">

<meta name="twitter:card" content="summary">
<meta property="twitter:url" content={import.meta.env.SITE}>
<meta name="twitter:title" content="Globed - Multiplayer for Geometry Dash">
<meta name="twitter:description" content={description}>
<meta property="twitter:image:src" content={`${import.meta.env.BASE_URL}/logo.png`}>

<!-- fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/404.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { HomeIcon } from 'astro-feather';
import Content from '../components/Content.astro';
---

<Page title="Install Globed">
<Page title="Globed 404" description="This page does not exist :(">
<Content>
<h1 class="text-accent-default font-head font-bold text-6xl mb-12 mix-blend-screen">404 :(</h1>

Expand Down
2 changes: 1 addition & 1 deletion src/pages/about.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Link from '../components/Link.astro';
import Content from '../components/Content.astro';
---

<Page title="About Globed">
<Page title="About Globed" description="About & FAQ for Globed - an open-source, highly customizable multiplayer mod for Geometry Dash.">
<Content>
<Title>About Globed</Title>

Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Content from '../components/Content.astro';
const screenshots = (await Astro.glob('../images/screenshot-*.png')).map(file => file.default);
---

<Page title="Globed">
<Page title="Globed" description="The official website for Globed - an open-source, highly customizable multiplayer mod for Geometry Dash.">
<header class="
flex flex-col
justify-center items-center
Expand Down
2 changes: 1 addition & 1 deletion src/pages/install.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import ButtonRow from '../components/ButtonRow.astro';
import Content from '../components/Content.astro';
---

<Page title="Install Globed">
<Page title="Install Globed" description="Instructions on installing Globed for Geometry Dash.">
<Content>
<Title>Install Globed</Title>

Expand Down

0 comments on commit 907116c

Please sign in to comment.