-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path+page.svelte
More file actions
44 lines (40 loc) · 1.27 KB
/
+page.svelte
File metadata and controls
44 lines (40 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<script lang="ts">
import { Heading, Subheading } from '$lib/components/headings';
import { Link, Text } from '$lib/components/text';
let { data } = $props();
</script>
<main class="mx-auto max-w-3xl px-4 py-16">
<header class="mb-8">
<Heading size="display" class="mb-4">Security</Heading>
<Text>
Transparency is cool, 10xPrivacy will allways be cool. Below are the security scores from
Mozilla HTTP Observatory and the HTTP headers set on every response.
</Text>
</header>
<section class="mb-10">
<Subheading class="mb-4">Scores</Subheading>
<div class="flex flex-wrap items-center gap-4">
<Link
href="https://observatory.mozilla.org/analyze/10xprivacy.com"
class="inline-flex items-center"
>
<img
src="https://img.shields.io/mozilla-observatory/grade/10xprivacy.com?label=Mozilla%20Observatory"
alt="Mozilla Observatory grade"
class="h-5"
/>
</Link>
</div>
</section>
<section>
<Subheading class="mb-4">HTTP Headers</Subheading>
<ul class="flex flex-col gap-6 rounded-lg bg-base-100 p-4 shadow-sm">
{#each data.headers as header (header.name)}
<li>
<Subheading size="xs" class="mb-2">{header.name}</Subheading>
<Text class="break-all">{header.value}</Text>
</li>
{/each}
</ul>
</section>
</main>