Skip to content

Commit

Permalink
add privacy policy
Browse files Browse the repository at this point in the history
  • Loading branch information
Isak-Kallini committed Jan 23, 2025
1 parent 2633eda commit 1a182b4
Show file tree
Hide file tree
Showing 7 changed files with 160 additions and 7 deletions.
17 changes: 12 additions & 5 deletions src/routes/(app)/app/account/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<SetPageTitle title={m.account()} />

<div class="flex flex-1 flex-col gap-4 rounded-box bg-base-300 p-2">
{#if data.user && data.member}
<ul class="menu gap-4 [&>li>a]:py-2">
<ul class="menu gap-4 [&>li>a]:py-2">
{#if data.user && data.member}
<li>
<a href="/members/me">
<NavIcon class="text-inherit" icon="i-mdi-account-circle" />
Expand All @@ -33,14 +33,21 @@
{m.navbar_userMenu_inventory()}
</a>
</li>
<!-- <li>
{/if}
<li>
<a class="pl-4" href="/privacy">
<NavIcon class="text-inherit" icon="i-mdi-account-lock" />
{m.privacy_policy()}
</a>
</li>

<!-- <li>
<a href="/nollning">
<NavIcon class="text-inherit" icon="i-mdi-cloud-outline" />
{m.landing_theIntroduction()}
</a>
</li> -->
</ul>
{/if}
</ul>

<div class="mx-6 my-2 flex justify-between gap-8 [&>*]:flex-1">
<LanguageSwitcher class="btn-outline" />
Expand Down
3 changes: 3 additions & 0 deletions src/routes/(app)/privacy/+layout.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="layout-container">
<slot />
</div>
139 changes: 139 additions & 0 deletions src/routes/(app)/privacy/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
<article>
<h1 class="text-center text-4xl">Privacy Policy for D-sektionen</h1>
<br />
D-sektionen (henceforth the D-guild) is part of “Teknologkåren vid Lunds Tekniska
Högskola”. This privacy policy will explain how our organization uses the personal
data we collect from you when you use our website/app.
<br /> <br />
<h2 class="text-2xl">Topics</h2>
<br />
<ul class="list-disc pl-5">
<li>What data do we collect?</li>
<li>How do we collect your data?</li>
<li>How will we use your data?</li>
<li>How do we store your data?</li>
<li>What are your data protection rights?</li>
<li>What are cookies?</li>
<li>What types of cookies do we use?</li>
<li>How to manage your cookies</li>
<li>Privacy policies of other websites</li>
<li>Changes to our privacy policy</li>
<li>How to contact us</li>
<li>How to contact the appropriate authorities</li>
</ul>
</article>
<br />
<h2 class="text-2xl">What data do we collect?</h2>
The D-guild collects the following data:
<ul class="list-disc pl-5">
<li>Name</li>
<li>Class year</li>
<li>Email address</li>
<li>Food preferences</li>
</ul>
<br />
<h2 class="text-2xl">How do we collect your data?</h2>
You directly provide the D-guild with all of the data we collect. We collect data
and process data when you:
<ul class="list-disc pl-5">
<li>Create an account on our website</li>
<li>Modify any information in your profile</li>
</ul>
<br />
<h2 class="text-2xl">How will we use your data?</h2>
The D-guild collects your data so that we can:
<ul class="list-disc pl-5">
<li class="">Manage your account</li>
<li>
Provide information about who is part of the D-guild and what roles they
have within the organization
</li>
</ul>
Your name, class year and email address is displayed publicly on your profile, otherwise
data is not shared with any third parties.
<br />
<br />
<h2 class="text-2xl">How do we store your data?</h2>
Your data is stored securely in the D-guild’s servers located on our premises. All
traffic between our app/website is encrypted, and an access control system is in
place to keep your data secure on our servers. Your data is stored until you request
it be removed.
<br />
<br />

<h2 class="text-2xl">What are your data protection rights?</h2>
The D-guild would like to make sure you are fully aware of all of your data protection
rights. Every user is entitled to the following:
<br />
<span class="font-bold">The right to access</span> – You have the right to
request the D-guild for copies of your personal data. We may charge you a small
fee for this service.<br />
<span class="font-bold">The right to rectification</span> – You have the right
to request that the D-guild correct any information you believe is inaccurate.
You also have the right to request the D-guild to complete the information you
believe is incomplete.<br />
<span class="font-bold">The right to erasure</span> – You have the right to
request that the D-guild erase your personal data, under certain conditions.<br
/>
<span class="font-bold">The right to restrict processing</span> – You have the
right to request that the D-guild restrict the processing of your personal data,
under certain conditions.<br />
<span class="font-bold">The right to object to processing</span> – You have the
right to object to the D-guild’s processing of your personal data, under certain
conditions.<br />
<span class="font-bold">The right to data portability</span> – You have the
right to request that the D-guild transfer the data that we have collected to
another organization, or directly to you, under certain conditions.<br />
If you make a request, we have one month to respond to you. If you would like to
exercise any of these rights, please contact us at our email: [email protected]
<br />
<br />
<h2 class="text-2xl">Cookies</h2>
Cookies are text files placed on your computer to collect standard Internet log information
and visitor behavior information. When you visit our websites, we may collect information
from you automatically through cookies or similar technology.<br />

For further information, visit
<a href="https://allaboutcookies.org/">allaboutcookies.org</a>.
<br /><br />
<h2 class="text-2xl">How do we use cookies?</h2>
The D-guild uses cookies in a range of ways to improve your experience on our website,
including:
<ul class="list-disc pl-5">
<li>Keeping you signed in</li>
<li>Storing information about your preferences when using the website</li>
</ul>
<br />
<h2 class="text-2xl">What types of cookies do we use?</h2>
There are a number of different types of cookies, however, our website uses:<br
/>
Functionality – The D-guild uses these cookies so that we recognize you on our website
and remember your previously selected preferences. These could include what language
you prefer and location you are in. A mix of first-party and third-party cookies
are used.
<br /><br />
<h2 class="text-2xl">How to manage cookies</h2>
You can set your browser not to accept cookies, and the above website tells you how
to remove cookies from your browser. However, in a few cases, some of our website
features may not function as a result.
<br /><br />
<h2 class="text-2xl">Privacy policies of other websites</h2>
The D-guild website contains links to other websites. Our privacy policy applies
only to our website/app, so if you click on a link to another website, you should
read their privacy policy.
<br /><br />
<h2 class="text-2xl">Changes to our privacy policy</h2>
The D-guild keeps its privacy policy under regular review and places any updates
on this web page. This privacy policy was last updated on 23 January 2025.
<br /><br />
<h2 class="text-2xl">How to contact us</h2>
If you have any questions about the D-guild’s privacy policy, the data we hold on
you, or you would like to exercise one of your data protection rights, please do
not hesitate to contact us. Email us at: [email protected]
<br /><br />
<h2 class="text-2xl">How to contact the appropriate authority</h2>
Should you wish to report a complaint or if you feel that the D-guild has not addressed
your concern in a satisfactory manner, you may contact the Information Commissioner’s
Office.
<br />
Email: [email protected]
1 change: 1 addition & 0 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
{ title: m.events(), href: "/events" },
{ title: m.theGuild(), href: "/committees" },
{ title: m.footer_contact(), href: "/info/contact" },
{ title: m.privacy_policy(), href: "/privacy" },
] as const;
const SOCIALS = [
Expand Down
1 change: 1 addition & 0 deletions src/routes/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<a class="btn btn-ghost" href="https://github.com/Dsek-LTH/web"
>{m.footer_sourceCode()}</a
>
<a class="btn btn-ghost" href="/privacy">{m.privacy_policy()}</a>
</nav>

<nav
Expand Down
3 changes: 2 additions & 1 deletion src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -814,5 +814,6 @@
"admin_info_create": "Create",
"admin_info_createNewInfoPage": "Create new information page",
"admin_info_infoPageCreated": "Information page created",
"info": "Info"
"info": "Info",
"privacy_policy": "Privacy Policy"
}
3 changes: 2 additions & 1 deletion src/translations/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -810,5 +810,6 @@
"admin_info_create": "Skapa",
"admin_info_createNewInfoPage": "Skapa en ny informationssida",
"admin_info_infoPageCreated": "Informationssida skapad",
"info": "Info"
"info": "Info",
"privacy_policy": "Integritetspolicy"
}

0 comments on commit 1a182b4

Please sign in to comment.