Skip to content

Commit

Permalink
feat(og): add banner to OpenGraph
Browse files Browse the repository at this point in the history
  • Loading branch information
BastiDood committed Aug 7, 2024
1 parent b02de7d commit b44e8d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import './app.css';
import { AppShell, Toast, initializeStores } from '@skeletonlabs/skeleton';
import SideBar from './SideBar.svelte';
import banner from '$lib/banner.png?url';
import favicon from '$lib/favicon.ico?url';
// eslint-disable-next-line init-declarations
Expand All @@ -13,6 +14,7 @@

<svelte:head>
<link rel="icon" href={favicon} />
<meta property="og:image" content="https://drap.dcs.upd.edu.ph{banner}">
</svelte:head>

<Toast />
Expand Down

0 comments on commit b44e8d2

Please sign in to comment.