Skip to content

Commit

Permalink
Add placeholder cover image
Browse files Browse the repository at this point in the history
  • Loading branch information
brodysmith1 committed Feb 20, 2024
1 parent 61bd22a commit 2115a11
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/app.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<link rel="icon" href="%sveltekit.assets%/img/favicon.png" />

<meta
name="viewport"
Expand Down
10 changes: 5 additions & 5 deletions src/lib/components/Meta.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
export let description: string | undefined =
"The strategy game and learning platform about feeding the future."
export let coverImage: string | undefined = undefined
export let image: string | undefined = "/img/cover.png"
export let siteurl: string | undefined = "https://stories.theplotline.org"
const titleSuffix = `The Plotline`
Expand All @@ -29,10 +29,10 @@
<meta name="twitter:title" content={title} />
<meta name="twitter:site" content="@EarthGenome" />

{#if coverImage}
<meta name="og:image" content="{siteurl}{base}{coverImage}" />
<meta name="image" property="og:image" content="{siteurl}{base}{coverImage}" />
<meta name="twitter:image" content="{siteurl}{base}{coverImage}" />
{#if image}
<meta name="og:image" content="{siteurl}{base}{image}" />
<meta name="image" property="og:image" content="{siteurl}{base}{image}" />
<meta name="twitter:image" content="{siteurl}{base}{image}" />
<meta name="twitter:card" content="summary_large_image" />
{/if}

Expand Down
Binary file added static/img/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file removed static/img/table.png
Binary file not shown.

0 comments on commit 2115a11

Please sign in to comment.