22 lines
583 B
Plaintext
22 lines
583 B
Plaintext
---
|
|
import yaml from "js-yaml";
|
|
import fs from "fs";
|
|
import DefaultLayout from "../../layouts/DefaultLayout.astro";
|
|
import Markdown from "../../islands/Markdown.jsx";
|
|
|
|
const privacy = yaml.load(
|
|
fs.readFileSync("./src/content/polityka-prywatnosci/privacy.yaml", "utf8"),
|
|
);
|
|
---
|
|
|
|
<DefaultLayout title={privacy.title}>
|
|
<section class="fuz-section">
|
|
<div class="fuz-section-grid">
|
|
<h1 class="text-3xl font-bold">
|
|
{privacy.title}
|
|
</h1>
|
|
<Markdown text={privacy.content} />
|
|
</div>
|
|
</section>
|
|
</DefaultLayout>
|