summaryrefslogtreecommitdiffstats
path: root/apps/portal
diff options
context:
space:
mode:
Diffstat (limited to 'apps/portal')
-rw-r--r--apps/portal/src/app/pages/_layout.svelte47
-rw-r--r--apps/portal/src/vite.config.ts4
2 files changed, 3 insertions, 48 deletions
diff --git a/apps/portal/src/app/pages/_layout.svelte b/apps/portal/src/app/pages/_layout.svelte
index 8c2e4a8..713a430 100644
--- a/apps/portal/src/app/pages/_layout.svelte
+++ b/apps/portal/src/app/pages/_layout.svelte
@@ -1,5 +1,4 @@
<script>
- import Details from "$shared/components/details.svelte";
import Button from "$shared/components/button.svelte";
import {switch_theme} from "$shared/lib/helpers";
</script>
@@ -31,52 +30,6 @@
<main class="container-fluid padding-x-xs padding-x-xxl@xs padding-y-md padding-y-lg@md max-width-sm">
<slot/>
- <Details summary="About">
- <p>Time Tracker is a tool to keep track of time spent.</p>
- <p>Use demo@demo.demo 123456 to demo the app.</p>
- <a href="https://git.ivarlovlie.no/time-tracker">Source</a>
- <a href="https://git.ivarlovlie.no/time-tracker/tree/LICENSE">License</a>
- <a href="/assets/third-party-licenses.txt">License notices</a>
- </Details>
-
- <Details summary="Pricing"/>
-
- <Details summary="Privacy policy">
- <h3>Information we collect</h3>
- <p>We collect information you the user provide, explicitly this means:</p>
- <ul>
- <li>Username</li>
- <li>Password</li>
- <li>Entries generated by you</li>
- <li>Labels generated by you</li>
- <li>Categories generated by you</li>
- <li>Your IP address when making requests to our API (using the service)</li>
- </ul>
-
- <h3>How we use your information</h3>
- <p>We use your information to provide the time-tracker service.</p>
-
- <h3>How we share your information</h3>
- <p>
- We do not share your information with anyone nor any entity. All information is handled by us the provider and you the user
- exclusively.
- </p>
-
- <h3>Right to delete</h3>
- <p>
- You can at any time delete any data related to your personal information by navigating to your profile page inside of the
- service.
- </p>
-
- <h3>Right to inspect</h3>
- <p>You can at any time download all of your generated data by navigating to your profile page inside of the service.</p>
-
- <h3>Contact</h3>
- <p>Please direct any inquires about your personal data to time-tracker@ivarlovlie.no.</p>
- </Details>
-
- <Details summary="Terms of service"/>
-
<Button on:click={() => switch_theme()}
text="Switch theme"
variant="secondary"/>
diff --git a/apps/portal/src/vite.config.ts b/apps/portal/src/vite.config.ts
index 907422e..684ef14 100644
--- a/apps/portal/src/vite.config.ts
+++ b/apps/portal/src/vite.config.ts
@@ -21,7 +21,9 @@ export default defineConfig({
}
}
},
-
+ server: {
+ port: 3001
+ },
plugins: [
svelte({
preprocess: sveltePreprocess()