From 2d89881aac66b8bca0b157d7135cd4a8dc3678fe Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Thu, 13 Aug 2026 12:05:44 -0700 Subject: [PATCH] Add links to website --- .env | 1 + src/app/components/Landing.svelte | 11 +++++++++-- src/app/env.ts | 2 ++ src/routes/settings/about/+page.svelte | 10 +++++----- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/.env b/.env index 048b35b6..de1082be 100644 --- a/.env +++ b/.env @@ -3,6 +3,7 @@ VITE_DEFAULT_BLOSSOM_SERVERS=https://blossom.primal.net/ VITE_DEFAULT_SPACES=https://support.flotilla.social/ VITE_POMADE_SIGNERS=https://pomade.coracle.social,https://pomade.fiatjaf.com,https://pomade.nostrver.se,https://pomade.scuttle.works VITE_PLATFORM_URL=https://app.flotilla.social +VITE_PLATFORM_ABOUT=https://flotilla.social VITE_PLATFORM_TERMS=https://flotilla.social/terms VITE_PLATFORM_PRIVACY=https://flotilla.social/privacy VITE_PLATFORM_NAME=Flotilla diff --git a/src/app/components/Landing.svelte b/src/app/components/Landing.svelte index 29ecd529..0c738732 100644 --- a/src/app/components/Landing.svelte +++ b/src/app/components/Landing.svelte @@ -9,7 +9,13 @@ import CardButton from "@lib/components/CardButton.svelte" import LogIn from "@app/components/LogIn.svelte" import SignUp from "@app/components/SignUp.svelte" - import {PLATFORM_TERMS, PLATFORM_PRIVACY, PLATFORM_NAME, PLATFORM_DESCRIPTION} from "@app/env" + import { + PLATFORM_ABOUT, + PLATFORM_TERMS, + PLATFORM_PRIVACY, + PLATFORM_NAME, + PLATFORM_DESCRIPTION, + } from "@app/env" import {pushModal} from "@app/modal" const logIn = () => pushModal(LogIn) @@ -50,7 +56,8 @@

- By using {PLATFORM_NAME}, you consent to our + By using {PLATFORM_NAME}, you consent + to our Terms of Service and Privacy Policy.

diff --git a/src/app/env.ts b/src/app/env.ts index 172d63bf..d4e45d1d 100644 --- a/src/app/env.ts +++ b/src/app/env.ts @@ -38,6 +38,8 @@ export const PLATFORM_RELAYS = fromCsv(env("VITE_PLATFORM_RELAYS")).map(normaliz export const PLATFORM_URL = env("VITE_PLATFORM_URL") +export const PLATFORM_ABOUT = env("VITE_PLATFORM_ABOUT") + export const PLATFORM_TERMS = env("VITE_PLATFORM_TERMS") export const PLATFORM_PRIVACY = env("VITE_PLATFORM_PRIVACY") diff --git a/src/routes/settings/about/+page.svelte b/src/routes/settings/about/+page.svelte index 5e2dd294..5325d85f 100644 --- a/src/routes/settings/about/+page.svelte +++ b/src/routes/settings/about/+page.svelte @@ -5,13 +5,13 @@ import Icon from "@lib/components/Icon.svelte" import Card from "@lib/components/Card.svelte" import Code from "@assets/icons/code-2.svg?dataurl" - import Global from "@assets/icons/global.svg?dataurl" + import Planet from "@assets/icons/planet.svg?dataurl" import Pen from "@assets/icons/pen.svg?dataurl" import HeadphonesRound from "@assets/icons/headphones-round.svg?dataurl" import Zap from "@app/components/Zap.svelte" import ZapInvoice from "@app/components/ZapInvoice.svelte" import ProfileDetail from "@app/components/ProfileDetail.svelte" - import {PLATFORM_NAME} from "@app/env" + import {PLATFORM_NAME, PLATFORM_ABOUT} from "@app/env" import {wallet} from "@app/lightning" import {pushModal} from "@app/modal" import {makeSpacePath} from "@app/routes" @@ -68,9 +68,9 @@ -
- - +
+ +