Skip to content

Commit fe59cca

Browse files
committed
Remove PocketBase and authentication features, add community chat link
- Remove PocketBase configuration and auth store integration - Delete authentication, checkout, and login pages - Remove login link from navigation header - Add community chat link to homepage
1 parent f75a713 commit fe59cca

7 files changed

Lines changed: 2 additions & 226 deletions

File tree

src/lib/components/Header.svelte

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import * as m from '$lib/paraglide/messages';
44
import { onMount } from 'svelte';
55
import { themeChange } from 'theme-change';
6-
import pb from '$lib/pocketbase';
7-
86
// NOTE: the element that is using one of the theme attributes must be in the DOM on mount
97
onMount(() => {
108
themeChange(false);
@@ -44,11 +42,6 @@
4442
</svg>
4543
</label>
4644
</li>
47-
{#if !pb.authStore.isValid}
48-
<li>
49-
<a href="/login" class="link">Login</a>
50-
</li>
51-
{/if}
5245
<li>
5346
<a href="/pricing" class="link">Pricing</a>
5447
</li>

src/lib/pocketbase.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/routes/(functional)/+layout.svelte

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/routes/(functional)/checkout/+page.svelte

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/routes/(functional)/checkout/success/+page.svelte

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/routes/(functional)/login/+page.svelte

Lines changed: 0 additions & 124 deletions
This file was deleted.

src/routes/+page.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
<ul class="flex justify-center items-center flex-col gap-1">
4545
<li class="text-gray-600"><b class=" mr-1">{m.email()}: </b>bret@pdnode.com</li>
4646
<li class="link text-blue-500"><a href="https://github.com/BretRen/pdnode/issues">Github Issue</a></li>
47+
<li class="link text-blue-500"><a href="https://chat.p67.click">Join our Community Chat!</a></li>
48+
4749
</ul>
4850
</div>
4951

0 commit comments

Comments
 (0)