45 lines
851 B
Plaintext
45 lines
851 B
Plaintext
---
|
|
|
|
import Layout from '@layouts/Layout.astro';
|
|
import { fetchData } from '@utils/fetch-data';
|
|
|
|
import Search from '@components/things/Search.svelte';
|
|
|
|
const categories = (await fetchData())?.categories;
|
|
|
|
---
|
|
|
|
<Layout title="Search | Awesome Privacy">
|
|
<section>
|
|
<h1>Search</h1>
|
|
<Search client:visible data={categories} />
|
|
</section>
|
|
</Layout>
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 1rem;
|
|
box-shadow: 4px 4px 0 var(--foreground);
|
|
background: var(--accent-fg);
|
|
border: 2px solid var(--foreground);
|
|
border-radius: var(--curve-sm);
|
|
margin: 2rem auto;
|
|
padding: 1rem;
|
|
width: calc(100% - 5rem);
|
|
max-width: 1100px;
|
|
min-height: 80vh;
|
|
|
|
h1 {
|
|
font-size: 3rem;
|
|
color: var(--accent-3);
|
|
font-family: "Lekton", sans-serif;
|
|
text-align: center;
|
|
margin: 1rem 0;
|
|
}
|
|
}
|
|
</style>
|