|
|
|
@ -1,7 +1,10 @@
|
|
|
|
|
import { Container } from "@styled-system/jsx";
|
|
|
|
|
import { Cigarette, PawPrint } from "lucide-react";
|
|
|
|
|
import { Container, HStack, Stack } from "@styled-system/jsx";
|
|
|
|
|
|
|
|
|
|
import { Metadata } from "next";
|
|
|
|
|
import { Params } from "../shared";
|
|
|
|
|
import RichText from "@/components/rich-text";
|
|
|
|
|
import { Text } from "@/components/ui/text";
|
|
|
|
|
import { getAbout } from "@/api";
|
|
|
|
|
import { getI18n } from "@/i18n/server";
|
|
|
|
|
|
|
|
|
@ -11,7 +14,23 @@ export default async function About({ params: { locale } }: { params: Params })
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<Container pt={6}>
|
|
|
|
|
<RichText content={about.text!} />
|
|
|
|
|
<Stack gap={10}>
|
|
|
|
|
<RichText content={about.text!} />
|
|
|
|
|
<Stack>
|
|
|
|
|
{about.dogsAllowed && (
|
|
|
|
|
<HStack alignItems="center">
|
|
|
|
|
<PawPrint />
|
|
|
|
|
<Text>{t("about.dogsAllowed")}</Text>
|
|
|
|
|
</HStack>
|
|
|
|
|
)}
|
|
|
|
|
{about.fumoire && (
|
|
|
|
|
<HStack alignItems="center">
|
|
|
|
|
<Cigarette />
|
|
|
|
|
<Text>{t("about.fumoire")}</Text>
|
|
|
|
|
</HStack>
|
|
|
|
|
)}
|
|
|
|
|
</Stack>
|
|
|
|
|
</Stack>
|
|
|
|
|
</Container>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|