feat(www): locale specific urls (#12508)

This commit is contained in:
Adam
2026-02-06 11:30:40 -06:00
committed by GitHub
parent 8069197329
commit 24cd84cda5
33 changed files with 279 additions and 134 deletions

View File

@@ -1,12 +1,12 @@
import "./index.css"
import { Title, Meta, Link } from "@solidjs/meta"
import { Title, Meta } from "@solidjs/meta"
import { createSignal, Show } from "solid-js"
import { config } from "~/config"
import { Header } from "~/component/header"
import { Footer } from "~/component/footer"
import { Legal } from "~/component/legal"
import { Faq } from "~/component/faq"
import { useI18n } from "~/context/i18n"
import { LocaleLinks } from "~/component/locale-links"
export default function Enterprise() {
const i18n = useI18n()
@@ -57,7 +57,7 @@ export default function Enterprise() {
return (
<main data-page="enterprise">
<Title>{i18n.t("enterprise.title")}</Title>
<Link rel="canonical" href={`${config.baseUrl}/enterprise`} />
<LocaleLinks path="/enterprise" />
<Meta name="description" content={i18n.t("enterprise.meta.description")} />
<div data-component="container">
<Header />