openvibers/openvibe.games Commits

Creator worlds page: Open Graph and Twitter tags, so a shared /worlds link has a preview (#129)

OP OpenVibers committed 24 days ago · 4798f927ae · 2 files, +16 −0

Changes

ddiff --git a/CHANGELOG.md b/CHANGELOG.md
iindex 41b9dd9..ea63f38 100644
---- a/CHANGELOG.md
++++ b/CHANGELOG.md
@@@ -8,6 +8,9 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### Fixed
++- **A shared /worlds link had no preview.** The creator worlds page carried no Open Graph or Twitter tags, so a
++ link posted in Discord or X showed a bare URL. It now has the same card as the home page, with its own title and
++ description.
- **No step said to make a pickaxe.** Scraplandia's first steps went from the Stone Axe to "Mine at the quarry", whose
hint only said a Stone Pickaxe breaks the deposits, and the gather step finished after a single stone. A new
"Craft a Stone Pickaxe" step follows the axe (2 Wood Planks and 3 Stones), and the gather hint says a log and five
ddiff --git a/apps/client/worlds.html b/apps/client/worlds.html
iindex 428fff3..36cc822 100644
---- a/apps/client/worlds.html
++++ b/apps/client/worlds.html
@@@ -9,6 +9,19 @@
content="Build your own 3D world in the OpenVibe.Games map editor and publish it for anyone to join in the browser. Browse the worlds players made."
/>
<link rel="canonical" href="https://openvibe.games/worlds" />
++ <meta property="og:type" content="website" />
++ <meta property="og:site_name" content="OpenVibe.Games" />
++ <meta property="og:title" content="Creator worlds · OpenVibe.Games" />
++ <meta
++ property="og:description"
++ content="Build your own 3D world in the OpenVibe.Games map editor and publish it for anyone to join in the browser. Browse the worlds players made."
++ />
++ <meta property="og:url" content="https://openvibe.games/worlds" />
++ <meta property="og:image" content="https://openvibe.games/og-image.png" />
++ <meta property="og:image:width" content="1200" />
++ <meta property="og:image:height" content="630" />
++ <meta name="twitter:card" content="summary_large_image" />
++ <meta name="twitter:image" content="https://openvibe.games/og-image.png" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<style>
:root {