mirror of
https://github.com/Xahau/xahau-web.git
synced 2026-08-21 18:10:51 +00:00
privacy-policy
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
---
|
||||
layout: ../layouts/PageLayout.astro
|
||||
title: Privacy Policy
|
||||
description: Privacy Policy for xahau.network
|
||||
---
|
||||
@@ -1,13 +1,16 @@
|
||||
---
|
||||
import { getEntry, render } from 'astro:content'
|
||||
import { nonDefaultLocales } from '../../i18n/locales'
|
||||
import { defaultLocale, locales } from '../../i18n/locales'
|
||||
import PageLayout from '../../layouts/PageLayout.astro'
|
||||
|
||||
export function getStaticPaths() {
|
||||
return nonDefaultLocales.map((lang) => ({
|
||||
params: { lang: lang.toLowerCase() },
|
||||
props: { locale: lang },
|
||||
}))
|
||||
return locales.map((locale) => {
|
||||
const lang = locale === defaultLocale ? undefined : locale.toLowerCase()
|
||||
return {
|
||||
params: { lang },
|
||||
props: { locale },
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
const { locale } = Astro.props
|
||||
|
||||
Reference in New Issue
Block a user