feat: landing page title and meta description (with Open Graph) naming what the game is

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Fabian @ Blax Software 2026-11-03 09:39:08 +01:00
parent 9bf158fff4
commit 812eddb0f2
2 changed files with 13 additions and 0 deletions

View File

@ -8,6 +8,14 @@ import type { SceneInset } from '~/diorama/scene'
const { t } = useI18n()
const demo = demoVillage()
useSeoMeta({
title: () => t('landing.meta.title'),
description: () => t('landing.meta.description'),
ogTitle: () => t('landing.meta.title'),
ogDescription: () => t('landing.meta.description'),
ogType: 'website',
})
/** What sets the game apart, each shown by the building it is about. */
const POINTS: { key: string; type: BuildingType; level: number }[] = [
{ key: 'space', type: 'headquarters', level: 15 },

View File

@ -3,6 +3,11 @@ import type { TranslationFile } from '@blax-software/i18n'
export default {
en: {
landing: {
meta: {
title: 'Kronland: a free browser strategy game of villages, armies and tribes',
description:
'Kronland is a free browser strategy game in the tradition of Die Stämme (Tribal Wars). Fill your village\'s building space, raise an army, trade with merchants, join a tribe and fight for the crown forts that end each season.',
},
hero: {
line: 'A browser strategy game in the tradition of Die\u00a0Stämme (Tribal\u00a0Wars): build villages, raise armies, take land.',
free: 'Free to play in the browser. Nothing to download.',