From 4e4abb519127bd10e3d580fe9cfe5aedd0579937 Mon Sep 17 00:00:00 2001 From: Rutjake Date: Tue, 14 Jan 2025 10:26:58 +0200 Subject: [PATCH 01/14] created sitemap.ts for sitemap.xml generation --- frontend-next-migration/src/app/sitemap.ts | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 frontend-next-migration/src/app/sitemap.ts diff --git a/frontend-next-migration/src/app/sitemap.ts b/frontend-next-migration/src/app/sitemap.ts new file mode 100644 index 000000000..243e6a5fc --- /dev/null +++ b/frontend-next-migration/src/app/sitemap.ts @@ -0,0 +1,24 @@ +import type { MetadataRoute } from 'next'; + +export default function sitemap(): MetadataRoute.Sitemap { + return [ + { + url: 'https://altzone.fi', + lastModified: new Date(), + changeFrequency: 'monthly', + priority: 1, + }, + { + url: 'https://altzone.fi/news', + lastModified: new Date(), + changeFrequency: 'weekly', + priority: 0.8, + }, + { + url: 'https://altzone.fi/heroes', + lastModified: new Date(), + changeFrequency: 'yearly', + priority: 0.5, + }, + ]; +} From 8222ed314cf92d0836ef26a25978f89aa0e7ff1d Mon Sep 17 00:00:00 2001 From: Rutjake Date: Tue, 14 Jan 2025 13:47:40 +0200 Subject: [PATCH 02/14] Page information added --- frontend-next-migration/src/app/sitemap.ts | 64 ++++++++++++++++++++-- 1 file changed, 60 insertions(+), 4 deletions(-) diff --git a/frontend-next-migration/src/app/sitemap.ts b/frontend-next-migration/src/app/sitemap.ts index 243e6a5fc..fa1304f20 100644 --- a/frontend-next-migration/src/app/sitemap.ts +++ b/frontend-next-migration/src/app/sitemap.ts @@ -1,23 +1,79 @@ import type { MetadataRoute } from 'next'; +/** + * Generate a sitemap.xml file. + * @returns {MetadataRoute.Sitemap} A Sitemap object that contains page URLs and other information. + * @property {string} url - Page URL. + * @property {'always'|'daily'|'weekly'|'monthly'|'yearly'|'never'} changefreq - Page change frequency. + * @property {number} priority - Page importance (0.0-1.0). + */ + export default function sitemap(): MetadataRoute.Sitemap { return [ { url: 'https://altzone.fi', lastModified: new Date(), + changeFrequency: 'always', + priority: 1.0, + }, + { + url: 'https://altzone.fi/fi/news', + lastModified: new Date(), + changeFrequency: 'daily', + priority: 1.0, + }, + { + url: 'https://altzone.fi/fi/heroes', + lastModified: new Date(), changeFrequency: 'monthly', - priority: 1, + priority: 0.5, }, { - url: 'https://altzone.fi/news', + url: 'https://altzone.fi/fi/hero-development', lastModified: new Date(), - changeFrequency: 'weekly', + changeFrequency: 'monthly', + priority: 0.5, + }, + { + url: 'https://altzone.fi/fi/clans', + lastModified: new Date(), + changeFrequency: 'daily', + priority: 0.9, + }, + { + url: 'https://altzone.fi/fi/picture-galleries', + lastModified: new Date(), + changeFrequency: 'monthly', + priority: 0.6, + }, + { + url: 'https://altzone.fi/fi/comics', + lastModified: new Date(), + changeFrequency: 'yearly', + priority: 0.4, + }, + { + url: 'https://altzone.fi/fi/furniture', + lastModified: new Date(), + changeFrequency: 'monthly', priority: 0.8, }, { - url: 'https://altzone.fi/heroes', + url: 'https://altzone.fi/fi/artGame', lastModified: new Date(), changeFrequency: 'yearly', + priority: 0.3, + }, + { + url: 'https://altzone.fi/fi/join-us', + lastModified: new Date(), + changeFrequency: 'yearly', + priority: 0.3, + }, + { + url: 'https://altzone.fi/fi/team', + lastModified: new Date(), + changeFrequency: 'weekly', priority: 0.5, }, ]; From 57761df1b68485ce29bc7195d40f73b866817056 Mon Sep 17 00:00:00 2001 From: Rutjake Date: Thu, 23 Jan 2025 10:13:55 +0200 Subject: [PATCH 03/14] Sitemap.xml made manually because the automatic function does not work in this version for some reason --- frontend-next-migration/public/sitemap.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 frontend-next-migration/public/sitemap.xml diff --git a/frontend-next-migration/public/sitemap.xml b/frontend-next-migration/public/sitemap.xml new file mode 100644 index 000000000..3bf151baa --- /dev/null +++ b/frontend-next-migration/public/sitemap.xml @@ -0,0 +1,15 @@ + + + + https://altzone.fi + 2025-01-22 + always + 1.0 + + + https://altzone.fi/fi/news + 2025-01-22 + daily + 1.0 + + \ No newline at end of file From c13174ae99153b8956b52496588c00e05904a74b Mon Sep 17 00:00:00 2001 From: Rutjake Date: Thu, 23 Jan 2025 10:24:56 +0200 Subject: [PATCH 04/14] manually created language-specific sitemap --- frontend-next-migration/public/fi/sitemap.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 frontend-next-migration/public/fi/sitemap.xml diff --git a/frontend-next-migration/public/fi/sitemap.xml b/frontend-next-migration/public/fi/sitemap.xml new file mode 100644 index 000000000..3bf151baa --- /dev/null +++ b/frontend-next-migration/public/fi/sitemap.xml @@ -0,0 +1,15 @@ + + + + https://altzone.fi + 2025-01-22 + always + 1.0 + + + https://altzone.fi/fi/news + 2025-01-22 + daily + 1.0 + + \ No newline at end of file From a01855d810dcbb8dcc6744f30168d8e858784d23 Mon Sep 17 00:00:00 2001 From: Rutjake Date: Thu, 23 Jan 2025 10:51:41 +0200 Subject: [PATCH 05/14] sitemap update --- frontend-next-migration/public/fi/sitemap.xml | 56 ++++++++++++++++++- frontend-next-migration/src/app/sitemap.ts | 8 +-- 2 files changed, 59 insertions(+), 5 deletions(-) diff --git a/frontend-next-migration/public/fi/sitemap.xml b/frontend-next-migration/public/fi/sitemap.xml index 3bf151baa..f604a5243 100644 --- a/frontend-next-migration/public/fi/sitemap.xml +++ b/frontend-next-migration/public/fi/sitemap.xml @@ -10,6 +10,60 @@ https://altzone.fi/fi/news 2025-01-22 daily - 1.0 + 0.9 + + + https://altzone.fi/fi/heroes + 2025-01-23 + monthly + 0.8 + + + https://altzone.fi/fi/hero-development + 2025-01-22 + monthly + 0.5 + + + https://altzone.fi/fi/clans + 2025-01-23 + daily + 0.8 + + + https://altzone.fi/fi/picture-galleries + 2025-01-22 + monthly + 0.6 + + + https://altzone.fi/fi/comics + 2025-01-22 + yearly + 0.4 + + + https://altzone.fi/fi/furniture + 2025-01-22 + weekly + 0.8 + + + https://altzone.fi/fi/artGame + 2025-01-22 + yearly + 0.3 + + + https://altzone.fi/fi/join-us + 2025-01-22 + yearly + 0.3 + + + https://altzone.fi/fi/team + 2025-01-22 + weekly + 0.5 \ No newline at end of file diff --git a/frontend-next-migration/src/app/sitemap.ts b/frontend-next-migration/src/app/sitemap.ts index fa1304f20..c997c49ab 100644 --- a/frontend-next-migration/src/app/sitemap.ts +++ b/frontend-next-migration/src/app/sitemap.ts @@ -20,13 +20,13 @@ export default function sitemap(): MetadataRoute.Sitemap { url: 'https://altzone.fi/fi/news', lastModified: new Date(), changeFrequency: 'daily', - priority: 1.0, + priority: 0.9, }, { url: 'https://altzone.fi/fi/heroes', lastModified: new Date(), changeFrequency: 'monthly', - priority: 0.5, + priority: 0.8, }, { url: 'https://altzone.fi/fi/hero-development', @@ -38,7 +38,7 @@ export default function sitemap(): MetadataRoute.Sitemap { url: 'https://altzone.fi/fi/clans', lastModified: new Date(), changeFrequency: 'daily', - priority: 0.9, + priority: 0.8, }, { url: 'https://altzone.fi/fi/picture-galleries', @@ -55,7 +55,7 @@ export default function sitemap(): MetadataRoute.Sitemap { { url: 'https://altzone.fi/fi/furniture', lastModified: new Date(), - changeFrequency: 'monthly', + changeFrequency: 'weekly', priority: 0.8, }, { From 47d333dee07057b579e2e2ca5a402a60fdf03679 Mon Sep 17 00:00:00 2001 From: Rutjake Date: Thu, 23 Jan 2025 10:56:33 +0200 Subject: [PATCH 06/14] universal-sitemap update --- frontend-next-migration/public/sitemap.xml | 56 +++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/frontend-next-migration/public/sitemap.xml b/frontend-next-migration/public/sitemap.xml index 3bf151baa..f604a5243 100644 --- a/frontend-next-migration/public/sitemap.xml +++ b/frontend-next-migration/public/sitemap.xml @@ -10,6 +10,60 @@ https://altzone.fi/fi/news 2025-01-22 daily - 1.0 + 0.9 + + + https://altzone.fi/fi/heroes + 2025-01-23 + monthly + 0.8 + + + https://altzone.fi/fi/hero-development + 2025-01-22 + monthly + 0.5 + + + https://altzone.fi/fi/clans + 2025-01-23 + daily + 0.8 + + + https://altzone.fi/fi/picture-galleries + 2025-01-22 + monthly + 0.6 + + + https://altzone.fi/fi/comics + 2025-01-22 + yearly + 0.4 + + + https://altzone.fi/fi/furniture + 2025-01-22 + weekly + 0.8 + + + https://altzone.fi/fi/artGame + 2025-01-22 + yearly + 0.3 + + + https://altzone.fi/fi/join-us + 2025-01-22 + yearly + 0.3 + + + https://altzone.fi/fi/team + 2025-01-22 + weekly + 0.5 \ No newline at end of file From 3d4ba158bdf8af2d32705c324510935e9fc68e5e Mon Sep 17 00:00:00 2001 From: Rutjake Date: Thu, 23 Jan 2025 12:01:44 +0200 Subject: [PATCH 07/14] added english sitemap.xml and fixed finnish sitemap --- frontend-next-migration/public/en/sitemap.xml | 69 +++++++++++++++++++ frontend-next-migration/public/fi/sitemap.xml | 2 +- 2 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 frontend-next-migration/public/en/sitemap.xml diff --git a/frontend-next-migration/public/en/sitemap.xml b/frontend-next-migration/public/en/sitemap.xml new file mode 100644 index 000000000..067bc10a9 --- /dev/null +++ b/frontend-next-migration/public/en/sitemap.xml @@ -0,0 +1,69 @@ + + + + https://altzone.fi/en + 2025-01-22 + always + 1.0 + + + https://altzone.fi/en/news + 2025-01-22 + daily + 0.9 + + + https://altzone.fi/en/heroes + 2025-01-23 + monthly + 0.8 + + + https://altzone.fi/en/hero-development + 2025-01-22 + monthly + 0.5 + + + https://altzone.fi/en/clans + 2025-01-23 + daily + 0.8 + + + https://altzone.fi/en/picture-galleries + 2025-01-22 + monthly + 0.6 + + + https://altzone.fi/en/comics + 2025-01-22 + yearly + 0.4 + + + https://altzone.fi/en/furniture + 2025-01-22 + weekly + 0.8 + + + https://altzone.fi/en/artGame + 2025-01-22 + yearly + 0.3 + + + https://altzone.fi/fi/join-us + 2025-01-22 + yearly + 0.3 + + + https://altzone.fi/fi/team + 2025-01-22 + weekly + 0.5 + + \ No newline at end of file diff --git a/frontend-next-migration/public/fi/sitemap.xml b/frontend-next-migration/public/fi/sitemap.xml index f604a5243..d6bd2fde0 100644 --- a/frontend-next-migration/public/fi/sitemap.xml +++ b/frontend-next-migration/public/fi/sitemap.xml @@ -1,7 +1,7 @@ - https://altzone.fi + https://altzone.fi/fi 2025-01-22 always 1.0 From 410f427d4ec1fd26905de219f9462ed524f17d74 Mon Sep 17 00:00:00 2001 From: Rutjake Date: Thu, 23 Jan 2025 12:03:44 +0200 Subject: [PATCH 08/14] modified robots.txt for sitemaps --- frontend-next-migration/public/robots.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend-next-migration/public/robots.txt b/frontend-next-migration/public/robots.txt index 7ed4e7d37..ea627c5fc 100644 --- a/frontend-next-migration/public/robots.txt +++ b/frontend-next-migration/public/robots.txt @@ -1,4 +1,6 @@ User-agent: * -Disallow: +Allow: / -Sitemap: https://altzone.fi/sitemap.xml \ No newline at end of file +Sitemap: https://altzone.fi/sitemap.xml +Sitemap: https://altzone.fi/fi/sitemap.xml +Sitemap: https://altzone.fi/en/sitemap.xml \ No newline at end of file From afb97584794e6f1d0f9860a23e6414dcb4270f75 Mon Sep 17 00:00:00 2001 From: Rutjake Date: Thu, 23 Jan 2025 12:04:36 +0200 Subject: [PATCH 09/14] fixed english sitemap.xml --- frontend-next-migration/public/en/sitemap.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend-next-migration/public/en/sitemap.xml b/frontend-next-migration/public/en/sitemap.xml index 067bc10a9..8fded0c9f 100644 --- a/frontend-next-migration/public/en/sitemap.xml +++ b/frontend-next-migration/public/en/sitemap.xml @@ -55,13 +55,13 @@ 0.3 - https://altzone.fi/fi/join-us + https://altzone.fi/en/join-us 2025-01-22 yearly 0.3 - https://altzone.fi/fi/team + https://altzone.fi/en/team 2025-01-22 weekly 0.5 From 3eb726815336d661a28ca42253c742832037374e Mon Sep 17 00:00:00 2001 From: Rutjake Date: Mon, 27 Jan 2025 13:14:04 +0200 Subject: [PATCH 10/14] Component story added to Storybook --- .../src/stories/Sitemap.stories.tsx | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 frontend-next-migration/src/stories/Sitemap.stories.tsx diff --git a/frontend-next-migration/src/stories/Sitemap.stories.tsx b/frontend-next-migration/src/stories/Sitemap.stories.tsx new file mode 100644 index 000000000..52668715d --- /dev/null +++ b/frontend-next-migration/src/stories/Sitemap.stories.tsx @@ -0,0 +1,25 @@ +import React from 'react'; +import sitemap from '../app/sitemap'; + +export default { + title: 'Sitemap', +}; + +export const SitemapStory = () => { + const sitemapData = sitemap(); + + const containerStyle: React.CSSProperties = { + fontFamily: 'monospace', + whiteSpace: 'pre-wrap', + padding: '16px', + backgroundColor: '#ffffff', + color: '#333333', + }; + + return ( +
+

Sitemap

+
{JSON.stringify(sitemapData, null, 2)}
+
+ ); +}; From 60305a901b25baaef63d95e2a84e88bb5b3a9bb6 Mon Sep 17 00:00:00 2001 From: Rutjake Date: Tue, 4 Feb 2025 10:44:46 +0200 Subject: [PATCH 11/14] Added envHelper To Avoid Hardcoding --- frontend-next-migration/src/app/sitemap.ts | 26 +++++++++++++--------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/frontend-next-migration/src/app/sitemap.ts b/frontend-next-migration/src/app/sitemap.ts index c997c49ab..003f977e9 100644 --- a/frontend-next-migration/src/app/sitemap.ts +++ b/frontend-next-migration/src/app/sitemap.ts @@ -1,4 +1,7 @@ import type { MetadataRoute } from 'next'; +import { envHelper } from '@/shared/const/envHelper'; + +export const dynamic = 'force-static'; /** * Generate a sitemap.xml file. @@ -7,71 +10,72 @@ import type { MetadataRoute } from 'next'; * @property {'always'|'daily'|'weekly'|'monthly'|'yearly'|'never'} changefreq - Page change frequency. * @property {number} priority - Page importance (0.0-1.0). */ +const BASE_URL = envHelper.appDomain || 'https://altzone.fi'; export default function sitemap(): MetadataRoute.Sitemap { return [ { - url: 'https://altzone.fi', + url: `${BASE_URL}`, lastModified: new Date(), changeFrequency: 'always', priority: 1.0, }, { - url: 'https://altzone.fi/fi/news', + url: `${BASE_URL}/fi/news`, lastModified: new Date(), changeFrequency: 'daily', priority: 0.9, }, { - url: 'https://altzone.fi/fi/heroes', + url: `${BASE_URL}/fi/heroes`, lastModified: new Date(), changeFrequency: 'monthly', priority: 0.8, }, { - url: 'https://altzone.fi/fi/hero-development', + url: `${BASE_URL}/fi/hero-development`, lastModified: new Date(), changeFrequency: 'monthly', priority: 0.5, }, { - url: 'https://altzone.fi/fi/clans', + url: `${BASE_URL}/fi/clans`, lastModified: new Date(), changeFrequency: 'daily', priority: 0.8, }, { - url: 'https://altzone.fi/fi/picture-galleries', + url: `${BASE_URL}/fi/picture-galleries`, lastModified: new Date(), changeFrequency: 'monthly', priority: 0.6, }, { - url: 'https://altzone.fi/fi/comics', + url: `${BASE_URL}/fi/comics`, lastModified: new Date(), changeFrequency: 'yearly', priority: 0.4, }, { - url: 'https://altzone.fi/fi/furniture', + url: `${BASE_URL}/fi/furniture`, lastModified: new Date(), changeFrequency: 'weekly', priority: 0.8, }, { - url: 'https://altzone.fi/fi/artGame', + url: `${BASE_URL}/fi/artGame`, lastModified: new Date(), changeFrequency: 'yearly', priority: 0.3, }, { - url: 'https://altzone.fi/fi/join-us', + url: `${BASE_URL}/fi/join-us`, lastModified: new Date(), changeFrequency: 'yearly', priority: 0.3, }, { - url: 'https://altzone.fi/fi/team', + url: `${BASE_URL}/fi/team`, lastModified: new Date(), changeFrequency: 'weekly', priority: 0.5, From 39692e8f815503501cad8134e38747fda3f27e17 Mon Sep 17 00:00:00 2001 From: Rutjake Date: Tue, 4 Feb 2025 10:51:49 +0200 Subject: [PATCH 12/14] Added a domain address to envHelper to make it easier to use in different parts of the application --- frontend-next-migration/src/app/sitemap.ts | 2 +- frontend-next-migration/src/shared/const/envHelper.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend-next-migration/src/app/sitemap.ts b/frontend-next-migration/src/app/sitemap.ts index 003f977e9..81b4d1af6 100644 --- a/frontend-next-migration/src/app/sitemap.ts +++ b/frontend-next-migration/src/app/sitemap.ts @@ -10,7 +10,7 @@ export const dynamic = 'force-static'; * @property {'always'|'daily'|'weekly'|'monthly'|'yearly'|'never'} changefreq - Page change frequency. * @property {number} priority - Page importance (0.0-1.0). */ -const BASE_URL = envHelper.appDomain || 'https://altzone.fi'; +const BASE_URL = envHelper.appDomain; export default function sitemap(): MetadataRoute.Sitemap { return [ diff --git a/frontend-next-migration/src/shared/const/envHelper.ts b/frontend-next-migration/src/shared/const/envHelper.ts index cc0690057..dc8daeff8 100644 --- a/frontend-next-migration/src/shared/const/envHelper.ts +++ b/frontend-next-migration/src/shared/const/envHelper.ts @@ -15,7 +15,7 @@ export const envHelper = { isDevMode: process.env.NODE_ENV === 'development', apiLink: process.env.NEXT_PUBLIC_API_LINK || '', - appDomain: process.env.NEXT_PUBLIC_APP_DOMAIN || '', + appDomain: process.env.NEXT_PUBLIC_APP_DOMAIN || 'https://altzone.fi', companyName: process.env.COMPANY_NAME || "Psyche's Royale Gaming ry", strapiHost: process.env.NEXT_PUBLIC_STRAPI_HOST || '', directusHost: process.env.NEXT_PUBLIC_DIRECTUS_HOST || '', From b76527d89dce321f7569565933e5666018ea6947 Mon Sep 17 00:00:00 2001 From: Rutjake Date: Tue, 4 Feb 2025 11:30:41 +0200 Subject: [PATCH 13/14] JsDoc Updated --- frontend-next-migration/src/app/sitemap.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/frontend-next-migration/src/app/sitemap.ts b/frontend-next-migration/src/app/sitemap.ts index 81b4d1af6..00c46eebe 100644 --- a/frontend-next-migration/src/app/sitemap.ts +++ b/frontend-next-migration/src/app/sitemap.ts @@ -5,11 +5,23 @@ export const dynamic = 'force-static'; /** * Generate a sitemap.xml file. + * @constant {string} BASE_URL - The base domain for all URLs, fetched from envHelper. * @returns {MetadataRoute.Sitemap} A Sitemap object that contains page URLs and other information. * @property {string} url - Page URL. + * @property {Date} lastModified - The last modification date of the page. * @property {'always'|'daily'|'weekly'|'monthly'|'yearly'|'never'} changefreq - Page change frequency. * @property {number} priority - Page importance (0.0-1.0). + * Example usage: + * [ + * { + * url: "https://altzone.fi/fi/news", + * lastModified: new Date(), + * changeFrequency: "daily", + * priority: 0.9 + * } + * ] */ + const BASE_URL = envHelper.appDomain; export default function sitemap(): MetadataRoute.Sitemap { From 28050f3bbfd8d127b73403a643ebb309e233dda4 Mon Sep 17 00:00:00 2001 From: Rutjake Date: Wed, 5 Feb 2025 14:00:10 +0200 Subject: [PATCH 14/14] Variable name changed to meet requirements --- frontend-next-migration/src/app/sitemap.ts | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/frontend-next-migration/src/app/sitemap.ts b/frontend-next-migration/src/app/sitemap.ts index 00c46eebe..004ead5f1 100644 --- a/frontend-next-migration/src/app/sitemap.ts +++ b/frontend-next-migration/src/app/sitemap.ts @@ -22,72 +22,72 @@ export const dynamic = 'force-static'; * ] */ -const BASE_URL = envHelper.appDomain; +const baseUrl = envHelper.appDomain; export default function sitemap(): MetadataRoute.Sitemap { return [ { - url: `${BASE_URL}`, + url: `${baseUrl}`, lastModified: new Date(), changeFrequency: 'always', priority: 1.0, }, { - url: `${BASE_URL}/fi/news`, + url: `${baseUrl}/fi/news`, lastModified: new Date(), changeFrequency: 'daily', priority: 0.9, }, { - url: `${BASE_URL}/fi/heroes`, + url: `${baseUrl}/fi/heroes`, lastModified: new Date(), changeFrequency: 'monthly', priority: 0.8, }, { - url: `${BASE_URL}/fi/hero-development`, + url: `${baseUrl}/fi/hero-development`, lastModified: new Date(), changeFrequency: 'monthly', priority: 0.5, }, { - url: `${BASE_URL}/fi/clans`, + url: `${baseUrl}/fi/clans`, lastModified: new Date(), changeFrequency: 'daily', priority: 0.8, }, { - url: `${BASE_URL}/fi/picture-galleries`, + url: `${baseUrl}/fi/picture-galleries`, lastModified: new Date(), changeFrequency: 'monthly', priority: 0.6, }, { - url: `${BASE_URL}/fi/comics`, + url: `${baseUrl}/fi/comics`, lastModified: new Date(), changeFrequency: 'yearly', priority: 0.4, }, { - url: `${BASE_URL}/fi/furniture`, + url: `${baseUrl}/fi/furniture`, lastModified: new Date(), changeFrequency: 'weekly', priority: 0.8, }, { - url: `${BASE_URL}/fi/artGame`, + url: `${baseUrl}/fi/artGame`, lastModified: new Date(), changeFrequency: 'yearly', priority: 0.3, }, { - url: `${BASE_URL}/fi/join-us`, + url: `${baseUrl}/fi/join-us`, lastModified: new Date(), changeFrequency: 'yearly', priority: 0.3, }, { - url: `${BASE_URL}/fi/team`, + url: `${baseUrl}/fi/team`, lastModified: new Date(), changeFrequency: 'weekly', priority: 0.5,