From 4efe10b1668c77f4f6fe7917692d26e55aa9aaa0 Mon Sep 17 00:00:00 2001 From: Luka Dekanozishvili Date: Thu, 29 Jan 2026 19:56:23 +0100 Subject: [PATCH] feat: fixed #links, static-adapter works --- deno.lock | 8 +++++ package.json | 1 + src/lib/Footer.svelte | 6 ++-- src/routes/+layout.ts | 1 + src/routes/+page.svelte | 4 +-- src/routes/dashboard/[id]/+page.ts | 2 ++ src/routes/dashboard/[id]/delete/+page.ts | 1 + src/routes/privacy-policy/+page.svelte | 36 ++++++++++----------- src/routes/terms-of-service/+page.svelte | 38 +++++++++++------------ src/routes/verify-email/[token]/+page.ts | 2 ++ svelte.config.js | 9 ++++-- 11 files changed, 64 insertions(+), 44 deletions(-) create mode 100644 src/routes/+layout.ts create mode 100644 src/routes/dashboard/[id]/+page.ts create mode 100644 src/routes/dashboard/[id]/delete/+page.ts create mode 100644 src/routes/verify-email/[token]/+page.ts diff --git a/deno.lock b/deno.lock index a209083..1226341 100644 --- a/deno.lock +++ b/deno.lock @@ -4,6 +4,7 @@ "npm:@eslint/compat@^1.4.1": "1.4.1_eslint@9.39.2", "npm:@eslint/js@^9.39.2": "9.39.2", "npm:@sveltejs/adapter-node@^5.4.0": "5.4.0_@sveltejs+kit@2.49.3__@sveltejs+vite-plugin-svelte@6.2.2___svelte@5.46.1____acorn@8.15.0___vite@7.3.0____@types+node@22.19.3____picomatch@4.0.3___@types+node@22.19.3__svelte@5.46.1___acorn@8.15.0__typescript@5.9.3__vite@7.3.0___@types+node@22.19.3___picomatch@4.0.3__acorn@8.15.0__@types+node@22.19.3_rollup@4.53.3_@sveltejs+vite-plugin-svelte@6.2.2__svelte@5.46.1___acorn@8.15.0__vite@7.3.0___@types+node@22.19.3___picomatch@4.0.3__@types+node@22.19.3_svelte@5.46.1__acorn@8.15.0_typescript@5.9.3_vite@7.3.0__@types+node@22.19.3__picomatch@4.0.3_@types+node@22.19.3", + "npm:@sveltejs/adapter-static@^3.0.10": "3.0.10_@sveltejs+kit@2.49.3__@sveltejs+vite-plugin-svelte@6.2.2___svelte@5.46.1____acorn@8.15.0___vite@7.3.0____@types+node@22.19.3____picomatch@4.0.3___@types+node@22.19.3__svelte@5.46.1___acorn@8.15.0__typescript@5.9.3__vite@7.3.0___@types+node@22.19.3___picomatch@4.0.3__acorn@8.15.0__@types+node@22.19.3_@sveltejs+vite-plugin-svelte@6.2.2__svelte@5.46.1___acorn@8.15.0__vite@7.3.0___@types+node@22.19.3___picomatch@4.0.3__@types+node@22.19.3_svelte@5.46.1__acorn@8.15.0_typescript@5.9.3_vite@7.3.0__@types+node@22.19.3__picomatch@4.0.3_@types+node@22.19.3", "npm:@sveltejs/kit@^2.49.3": "2.49.3_@sveltejs+vite-plugin-svelte@6.2.2__svelte@5.46.1___acorn@8.15.0__vite@7.3.0___@types+node@22.19.3___picomatch@4.0.3__@types+node@22.19.3_svelte@5.46.1__acorn@8.15.0_typescript@5.9.3_vite@7.3.0__@types+node@22.19.3__picomatch@4.0.3_acorn@8.15.0_@types+node@22.19.3", "npm:@sveltejs/vite-plugin-svelte@^6.2.2": "6.2.2_svelte@5.46.1__acorn@8.15.0_vite@7.3.0__@types+node@22.19.3__picomatch@4.0.3_@types+node@22.19.3", "npm:@tailwindcss/forms@~0.5.11": "0.5.11_tailwindcss@4.1.18", @@ -449,6 +450,12 @@ "rollup" ] }, + "@sveltejs/adapter-static@3.0.10_@sveltejs+kit@2.49.3__@sveltejs+vite-plugin-svelte@6.2.2___svelte@5.46.1____acorn@8.15.0___vite@7.3.0____@types+node@22.19.3____picomatch@4.0.3___@types+node@22.19.3__svelte@5.46.1___acorn@8.15.0__typescript@5.9.3__vite@7.3.0___@types+node@22.19.3___picomatch@4.0.3__acorn@8.15.0__@types+node@22.19.3_@sveltejs+vite-plugin-svelte@6.2.2__svelte@5.46.1___acorn@8.15.0__vite@7.3.0___@types+node@22.19.3___picomatch@4.0.3__@types+node@22.19.3_svelte@5.46.1__acorn@8.15.0_typescript@5.9.3_vite@7.3.0__@types+node@22.19.3__picomatch@4.0.3_@types+node@22.19.3": { + "integrity": "sha512-7D9lYFWJmB7zxZyTE/qxjksvMqzMuYrrsyh1f4AlZqeZeACPRySjbC3aFiY55wb1tWUaKOQG9PVbm74JcN2Iew==", + "dependencies": [ + "@sveltejs/kit" + ] + }, "@sveltejs/kit@2.49.3_@sveltejs+vite-plugin-svelte@6.2.2__svelte@5.46.1___acorn@8.15.0__vite@7.3.0___@types+node@22.19.3___picomatch@4.0.3__@types+node@22.19.3_svelte@5.46.1__acorn@8.15.0_typescript@5.9.3_vite@7.3.0__@types+node@22.19.3__picomatch@4.0.3_acorn@8.15.0_@types+node@22.19.3": { "integrity": "sha512-luTmE2Isk9GRJnitqanLoByKBiyLdfLpV2qV9a25JMxjbQt919TVqG8pibJDkxTvX9+w2k/9IL7o+/RtG++3QA==", "dependencies": [ @@ -1701,6 +1708,7 @@ "npm:@eslint/compat@^1.4.1", "npm:@eslint/js@^9.39.2", "npm:@sveltejs/adapter-node@^5.4.0", + "npm:@sveltejs/adapter-static@^3.0.10", "npm:@sveltejs/kit@^2.49.3", "npm:@sveltejs/vite-plugin-svelte@^6.2.2", "npm:@tailwindcss/forms@~0.5.11", diff --git a/package.json b/package.json index 15ecfc4..145e04a 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "lint": "eslint ." }, "dependencies": { + "@sveltejs/adapter-static": "^3.0.10", "daisyui": "^5.5.14", "mdsvex": "^0.12.6" }, diff --git a/src/lib/Footer.svelte b/src/lib/Footer.svelte index 36b874b..050ab9b 100644 --- a/src/lib/Footer.svelte +++ b/src/lib/Footer.svelte @@ -26,7 +26,7 @@ {:else} Search for a domain {/if} - Contact us! + Contact us! - \ No newline at end of file + diff --git a/src/routes/+layout.ts b/src/routes/+layout.ts new file mode 100644 index 0000000..189f71e --- /dev/null +++ b/src/routes/+layout.ts @@ -0,0 +1 @@ +export const prerender = true; diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 7eb8d49..7319c95 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -285,7 +285,7 @@
-

+

Get in touch

@@ -293,4 +293,4 @@
- \ No newline at end of file + diff --git a/src/routes/dashboard/[id]/+page.ts b/src/routes/dashboard/[id]/+page.ts new file mode 100644 index 0000000..ae88a27 --- /dev/null +++ b/src/routes/dashboard/[id]/+page.ts @@ -0,0 +1,2 @@ +export const prerender = false; +export const ssr = false; diff --git a/src/routes/dashboard/[id]/delete/+page.ts b/src/routes/dashboard/[id]/delete/+page.ts new file mode 100644 index 0000000..d43d0cd --- /dev/null +++ b/src/routes/dashboard/[id]/delete/+page.ts @@ -0,0 +1 @@ +export const prerender = false; diff --git a/src/routes/privacy-policy/+page.svelte b/src/routes/privacy-policy/+page.svelte index dd6f62c..41c08c6 100644 --- a/src/routes/privacy-policy/+page.svelte +++ b/src/routes/privacy-policy/+page.svelte @@ -34,7 +34,7 @@

What are your rights? Depending on where you are located geographically, the applicable privacy law may mean you have certain rights regarding your personal information. Learn more about your privacy rights .

How do you exercise your rights? The easiest way to exercise your rights is by writing us an email.

Want to learn more about what we do with any information we collect? Review the Privacy Notice in full .

-

TABLE OF CONTENTS

+

TABLE OF CONTENTS

1. WHAT INFORMATION DO WE COLLECT?

2. HOW DO WE PROCESS YOUR INFORMATION?

3. WHAT LEGAL BASES DO WE RELY ON TO PROCESS YOUR PERSONAL INFORMATION?

@@ -48,8 +48,8 @@

11. DO WE MAKE UPDATES TO THIS NOTICE?

12. HOW CAN YOU CONTACT US ABOUT THIS NOTICE?

13. HOW CAN YOU REVIEW, UPDATE, OR DELETE THE DATA WE COLLECT FROM YOU?

-

1. WHAT INFORMATION DO WE COLLECT?

-

Personal information you disclose to us

In Short: We collect personal information that you provide to us. +

1. WHAT INFORMATION DO WE COLLECT?

+

Personal information you disclose to us

In Short: We collect personal information that you provide to us.

We collect personal information that you voluntarily provide to us when you register on the Services, express an interest in obtaining information about us or our products and Services, when you participate in activities on the Services, or otherwise when you contact us.

Personal Information Provided by You. The personal information that we collect depends on the context of your interactions with us and the Services, the choices you make, and the products and features you use. The personal information we collect may include the following:

Sensitive Information. We do not process sensitive information.

All personal information that you provide to us must be true, complete, and accurate, and you must notify us of any changes to such personal information.

-

2. HOW DO WE PROCESS YOUR INFORMATION?

In Short: We process your information to provide, improve, and administer our Services, communicate with you, for security and fraud prevention, and to comply with law. We process the personal information for the following purposes listed below. We may also process your information for other purposes only with your prior explicit consent. +

2. HOW DO WE PROCESS YOUR INFORMATION?

In Short: We process your information to provide, improve, and administer our Services, communicate with you, for security and fraud prevention, and to comply with law. We process the personal information for the following purposes listed below. We may also process your information for other purposes only with your prior explicit consent.

We process your personal information for a variety of reasons, depending on how you interact with our Services, including: