Skip to content

Commit a0115e9

Browse files
committed
feat: rework i18n navigation
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent ce75256 commit a0115e9

30 files changed

+609
-428
lines changed

.github/workflows/update-branding-assets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ env:
3232
BRAND_DOWNLOADS_DIR: application/public/brand/downloads
3333
BRAND_LOGO_PACK_FILE: application/public/brand/downloads/hoverkraft-logos.zip
3434
BRAND_GUIDELINES_BASE_URL: http://localhost:4321
35-
BRAND_GUIDELINES_DEFAULT_SLUG: charte-graphique
35+
BRAND_GUIDELINES_DEFAULT_SLUG: brand-guidelines
3636
BRAND_GUIDELINES_ROUTES_FILE: application/src/i18n/ui.ts
3737

3838
jobs:

application/src/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ apps:
4343

4444
post:
4545
isEnabled: true
46-
permalink: '/%slug%' # Variables: %slug%, %year%, %month%, %day%, %hour%, %minute%, %second%, %category%
46+
permalink: '/blog/%slug%' # Variables: %slug%, %year%, %month%, %day%, %hour%, %minute%, %second%, %category%
4747
robots:
4848
index: true
4949

application/src/content/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ const postCollection = defineCollection({
6161
tags: z.array(z.string()).optional(),
6262
author: z.string().optional(),
6363
lang: z.enum(['fr', 'en']).optional().default('fr'), // Default language is French
64+
translationKey: z.string().optional(),
6465

6566
metadata: metadataDefinition(),
6667
}),

application/src/data/post/broadcom-bitnami-images.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ tags:
1212
category: 'Platform Engineering'
1313
author: 'Hoverkraft Team'
1414
lang: en
15+
translationKey: bitnami-broadcom-images
1516
---
1617

1718
> ⚠️ Coming back from holiday to discover your registries are empty is not fun. That is exactly what the Bitnami announcement created.

application/src/data/post/caracteristiques-plateforme-moderne.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ tags:
1111
- devex
1212
category: 'Platform Engineering'
1313
author: 'Équipe HoverKraft'
14+
lang: fr
15+
translationKey: modern-platform-characteristics
1416
---
1517

1618
import Image from '~/components/common/Image.astro';

application/src/data/post/ci-dokumentor-en.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ tags:
1212
category: 'Developer Experience'
1313
author: 'Hoverkraft Team'
1414
lang: en
15+
translationKey: ci-dokumentor
1516
---
1617

1718
import Image from '~/components/common/Image.astro';

application/src/data/post/ci-dokumentor.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ tags:
1212
category: 'Developer Experience'
1313
author: 'Équipe HoverKraft'
1414
lang: fr
15+
translationKey: ci-dokumentor
1516
---
1617

1718
import Image from '~/components/common/Image.astro';

application/src/data/post/devcontainer-asdf-feature.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ tags:
99
- tooling
1010
- azure
1111
- iac
12+
lang: fr
13+
translationKey: devcontainers-asdf
1214
---
1315

1416
import Image from '~/components/common/Image.astro';

application/src/data/post/devcontainers-asdf-integration.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ tags:
1212
category: 'Tooling'
1313
author: 'Hoverkraft Team'
1414
lang: en
15+
translationKey: devcontainers-asdf
1516
---
1617

1718
import Image from '~/components/common/Image.astro';

application/src/data/post/images-bitnami-broadcom.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ tags:
99
- bitnami
1010
- broadcom
1111
- docker
12+
lang: fr
13+
translationKey: bitnami-broadcom-images
1214
---
1315

1416
> ⚠️ Retour de vacances mouvementé pour les équipes plateformes : Broadcom retire les images Docker Bitnami de l'accès public.

0 commit comments

Comments
 (0)