Skip to content

Commit

Permalink
added privacy policy and made scrolling work nicely
Browse files Browse the repository at this point in the history
  • Loading branch information
d3rpp committed Nov 20, 2024
1 parent 21027d6 commit 23cde6d
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 25 deletions.
16 changes: 6 additions & 10 deletions src/lib/components/footers/app-footer.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
<script lang="ts">
import ThemeToggle from "@/theme-toggle.svelte";
</script>

<footer class="border-t border-border/40 bg-background/95">
<div
class="hidden h-24 max-w-screen-2xl px-4 md:flex md:flex-row md:items-center md:justify-end"
>
<ThemeToggle />
</div>
<footer
class="flex h-24 flex-row items-center justify-center gap-4 border-t border-border/40 bg-background/95"
>
<span>&copy; JailBird 2024</span>
<span>|</span>
<a href="/privacy-policy" class="hover:underline">Privacy Policy</a>
</footer>
16 changes: 6 additions & 10 deletions src/lib/components/footers/landing-footer.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
<script lang="ts">
import ThemeToggle from "@/theme-toggle.svelte";
</script>

<footer class="border-t border-border/40 bg-background/95">
<div
class="hidden h-24 max-w-screen-2xl px-4 md:flex md:flex-row md:items-center md:justify-end"
>
<ThemeToggle />
</div>
<footer
class="flex h-24 flex-row items-center justify-center gap-4 border-t border-border/40 bg-background/95"
>
<span>&copy; JailBird 2024</span>
<span>|</span>
<a href="/privacy-policy" class="hover:underline">Privacy Policy</a>
</footer>
7 changes: 2 additions & 5 deletions src/routes/(landing)/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script lang="ts">
import { LandingHeader } from "@/headers";
import { LandingFooter } from "@/footers";
import Main from "@/main.svelte";
const { data, children } = $props();
const { user } = data;
Expand All @@ -12,11 +11,9 @@
<!-- div to add background to pages solely affected by the landing layout -->

<div
class="h-full bg-cover bg-center"
class="min-h-landing-main h-auto bg-cover bg-center"
style="background-image: url('/backgroundsAndAssets/newLandingBackground.jpg');background-attachment: fixed; background-size: cover; background-position: center;"
>
<Main class="h-landing-main">
{@render children()}
</Main>
{@render children()}
</div>
<LandingFooter />
86 changes: 86 additions & 0 deletions src/routes/(landing)/privacy-policy/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<svelte:options runes={true} />

<script lang="ts">
import Main from "@/main.svelte";
import * as Card from "@/ui/card";
</script>

<Main class="min-h-landing-main max-w-screen-md py-12">
<Card.Root>
<Card.Header>
<Card.Title>Privacy Policy</Card.Title>
</Card.Header>

<Card.Content class="flex flex-col gap-4">
<p>
Jailbird is a privacy focussed application, this means that if
we don't need to store information, we won't.
</p>

<p>Below is a list of what information we store and why</p>

<hr class="my-4" />

<strong>User Information</strong>

<p>
We store this information about you as the user to provide our
services, this includes:
</p>

<ul class="flex list-outside list-disc flex-col gap-2 pl-8">
<li>Username</li>
<li>GitHub Profile Name</li>
<li>GitHub User ID</li>
<li>GitHub Profile Picture</li>
</ul>

<p>
We store this information to display on the user account page,
there is no other reason to keep this information other than
that page.
</p>

<strong>User Data</strong>

<p>
We store user data, this is the primary function of the
application, the exact user data we store is listed below:
</p>

<ul class="flex list-outside list-disc flex-col gap-2 pl-8">
<li>Public Keys</li>
<li>Cryptographically Wrapped File Encryption Keys</li>
<li>Encrypted Files as uploaded by the user</li>
</ul>

<p>
Public keys are uploaded in order to enable future sharing
functionality, allowing another user to share a file with you.
The associated <em>private keys</em>
are not uploaded, ever, meaning we are unable to decrypt your files.
</p>

<hr class="my-4" />

<strong>Requesting Deletion of My Information and Data</strong>

<p>
In compliance with EU GDPR and the New Zealand Privacy Act 2020,
you may contact us requesting deletion of you account and all
associated data, at which point we will have 15 days to action
this request.
</p>

<p>If you would like to go through with account deletion please email us at <a href="mailto:jailbird@d3rpp.dev" class="hover:underline opacity-80">jailbird@d3rpp.dev</a></p>
</Card.Content>
</Card.Root>
</Main>

<style>
/* fine */
li {
padding-left: 0.5rem;
}
</style>

0 comments on commit 23cde6d

Please sign in to comment.