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:
parent
9bf158fff4
commit
812eddb0f2
|
|
@ -8,6 +8,14 @@ import type { SceneInset } from '~/diorama/scene'
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
const demo = demoVillage()
|
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. */
|
/** What sets the game apart, each shown by the building it is about. */
|
||||||
const POINTS: { key: string; type: BuildingType; level: number }[] = [
|
const POINTS: { key: string; type: BuildingType; level: number }[] = [
|
||||||
{ key: 'space', type: 'headquarters', level: 15 },
|
{ key: 'space', type: 'headquarters', level: 15 },
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,11 @@ import type { TranslationFile } from '@blax-software/i18n'
|
||||||
export default {
|
export default {
|
||||||
en: {
|
en: {
|
||||||
landing: {
|
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: {
|
hero: {
|
||||||
line: 'A browser strategy game in the tradition of Die\u00a0Stämme (Tribal\u00a0Wars): build villages, raise armies, take land.',
|
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.',
|
free: 'Free to play in the browser. Nothing to download.',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue