diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/layouts/Layout.astro | 7 | ||||
| -rw-r--r-- | src/layouts/Page.astro | 2 | ||||
| -rw-r--r-- | src/pages/downloads.md | 1 | ||||
| -rw-r--r-- | src/pages/history.md | 1 | ||||
| -rw-r--r-- | src/pages/index.astro | 2 |
5 files changed, 9 insertions, 4 deletions
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 471756c..14741bb 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -2,9 +2,10 @@ interface Props { title: string; description: string; + discord: string; } -const { title = "ShiftOS: The Archive", description } = Astro.props; +const { title = "ShiftOS: The Archive", description, discord } = Astro.props; import '../styles/style.css'; import '../styles/window.css'; --- @@ -24,9 +25,11 @@ import '../styles/window.css'; <!-- Open Graph Metadata --> <meta property="og:title" content={title} /> <meta property="og:description" content={description} /> - <meta property="og:image" content="https://shiftos.dev/shiftos.png" /> + <meta property="og:image" content="https://shiftos.dev/logo.png" /> <meta property="og:type" content="website" /> + <link rel="discord:component-embed" type="application/json" href={discord} /> + <meta name="theme-color" content="#000000"/> <meta name="generator" content={Astro.generator} /> diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro index 1d6573f..0580cca 100644 --- a/src/layouts/Page.astro +++ b/src/layouts/Page.astro @@ -3,7 +3,7 @@ import Layout from "../layouts/Layout.astro"; const { frontmatter } = Astro.props; --- -<Layout title={frontmatter.title} description={frontmatter.description}> +<Layout title={frontmatter.title} description={frontmatter.description} discord={frontmatter.discord}> <div class="window-container"> <div class="window"> <div class="titlebar"> diff --git a/src/pages/downloads.md b/src/pages/downloads.md index ba7f094..12342f7 100644 --- a/src/pages/downloads.md +++ b/src/pages/downloads.md @@ -1,6 +1,7 @@ --- title: "ShiftOS: Downloads" description: Download ShiftOS here! This contains the ShiftOS source code and ShiftOS binary files. +discord: https://shiftos.dev/discord/downloads.json layout: ../layouts/Page.astro --- # Download ShiftOS here! diff --git a/src/pages/history.md b/src/pages/history.md index aa42101..5b715b0 100644 --- a/src/pages/history.md +++ b/src/pages/history.md @@ -1,6 +1,7 @@ --- title: "ShiftOS: History" description: ShiftOS started back in November 2013 when Philip Adams wanted to make a game based on Arch Linux. He originally wanted ShiftOS to be a Linux distro based on Arch Linux but then gave up on that idea due to it not being possible, so he started his own VB.NET program instead. +discord: https://shiftos.dev/discord/history.json layout: ../layouts/Page.astro --- # What was ShiftOS? diff --git a/src/pages/index.astro b/src/pages/index.astro index b156389..dfab327 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -6,7 +6,7 @@ import NoJSWarning from '../components/NoJSWarning.astro'; import Slideshow from '../components/Slideshow.tsx'; --- -<Layout title="ShiftOS: The Archive" description="ShiftOS was a game developed by Philip Adams and other developers. The original goal was to go from a bare terminal to a graphical user interface with full desktop features."> +<Layout title="ShiftOS: The Archive" description="ShiftOS was a game developed by Philip Adams and other developers. The original goal was to go from a bare terminal to a graphical user interface with full desktop features." discord="https://shiftos.dev/discord/index.json"> <div class="center"> <Image src={logo} alt="ShiftOS Logo" class="logo" width={logo.width} height={logo.height} /> <NoJSWarning /> |
