Skip to content

Commit

Permalink
feat(wokegame): add og image and add to home page
Browse files Browse the repository at this point in the history
  • Loading branch information
Th1nkK1D committed Nov 29, 2024
1 parent aec53a1 commit 2543364
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
8 changes: 8 additions & 0 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@

<div class="md:mb-18 mx-auto mb-12 flex w-full max-w-4xl flex-col space-y-24 md:space-y-36">
<div class="grid grid-cols-1 gap-4 md:grid-cols-2 md:gap-6">
<ProjectCard
title="Woke Game is Bad Game?"
description="We analyzed over 1,000 games in Woke Content Detector's list to see if wokeness and user positive reviews are correlated."
href="/woke-game-is-bad-game/"
image="/woke-game-is-bad-game/og.png"
date="29 Nov 2024"
lang="EN"
/>
<ProjectCard
title="Senates Blind Test"
description="From Thailand's Senates Election in 2024, guessing which candidate get the most votes by reading their 5-lines-introduction document."
Expand Down
7 changes: 5 additions & 2 deletions src/routes/woke-game-is-bad-game/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
import CohenDFormular from './_components/cohen-d-formular.svelte';
import Metadata from '../../components/metadata.svelte';
const PROJECT_PATH = '/woke-game-is-bad-game';
let games = $state<Game[]>([]);
let groups = $derived<GameLevelGroup[]>(
Expand All @@ -36,7 +38,8 @@
<Metadata
title="Woke Game is Bad Game?"
description="We analyzed over 1,000 games to see if wokeness and user reviews are correlated"
path="/woke-game-is-bad-game"
path={PROJECT_PATH}
image="{PROJECT_PATH}/og.png"
/>

<div class="flex justify-center bg-zinc-100 text-neutral-950">
Expand Down Expand Up @@ -209,7 +212,7 @@
<div class="flex flex-row items-center gap-6">
<span class="text-sm">Share</span>
<Sharer
url="https://ordinaryunfold.com/woke-game-is-bad-game"
url="https://ordinaryunfold.com{PROJECT_PATH}"
linkClass="text-amber-700 hover:text-amber-600"
/>
</div>
Expand Down
Binary file added static/woke-game-is-bad-game/og.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2543364

Please sign in to comment.