Skip to content

Commit

Permalink
fix(website): use hardcoded values
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Aug 24, 2024
1 parent ed35910 commit 663465a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion website/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import tailwind from "@astrojs/tailwind";
// https://astro.build/config
export default defineConfig({
site: "https://binsider.dev",
description: "Analyze ELF binaries like a boss.",
integrations: [
starlight({
title: "Binsider",
Expand Down
11 changes: 3 additions & 8 deletions website/src/components/Head.astro
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
---
import type { Props } from '@astrojs/starlight/props';
import Default from '@astrojs/starlight/components/Head.astro';
import config from '../../astro.config.mjs';
import socialCard from "../assets/binsider-social-card.png";
const title =
config.integrations.find((integration) => integration.title)?.title ||
"default";
---

<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta property="og:type" content="website" />
<meta property="og:url" content={Astro.site} />
<meta property="og:title" content={`${title}`} />
<meta property="og:description" content={`${config.description}`} />
<meta property="og:title" content="Binsider" />
<meta property="og:description" content="Analyze ELF binaries like a boss." />

<meta property="og:image" content={`${socialCard.src}`} />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script defer src="https://umami.orhun.dev/script.js" data-website-id="8e36ad06-9958-4a03-865a-505b1440c1b9"></script>
<script defer src="https://umami.orhun.dev/script.js" data-website-id="8e36ad06-9958-4a03-865a-505b1440c1b9" is:inline></script>

<Default {...Astro.props}><slot /></Default>

0 comments on commit 663465a

Please sign in to comment.