Cookie obsługa
This commit is contained in:
21
src/pages/polityka-prywatnosci/index.astro
Normal file
21
src/pages/polityka-prywatnosci/index.astro
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
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>
|
||||
Reference in New Issue
Block a user