Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

feat(native): make TREK Cloud the primary action, shorter calmer subtext

Mauricea9b05bba1513
diff --git a/client/native-shell/main.ts b/client/native-shell/main.ts
index f4bf8b53d..aa0ea3aa3 100644
--- a/client/native-shell/main.ts
+++ b/client/native-shell/main.ts
@@ -159,7 +159,7 @@ function showWelcome(opts: { back?: boolean } = {}): void {
const connect = el(
'button',
- { type: 'button', className: 'btn' },
+ { type: 'button', className: 'btn btn-ghost' },
el(
'span',
{ className: 'btn-row' },
@@ -175,7 +175,7 @@ function showWelcome(opts: { back?: boolean } = {}): void {
const cloud = el(
'button',
- { type: 'button', className: 'btn btn-ghost' },
+ { type: 'button', className: 'btn' },
el(
'span',
{ className: 'btn-row' },
@@ -199,8 +199,8 @@ function showWelcome(opts: { back?: boolean } = {}): void {
hero,
el('h1', { className: 'title brand-title' }, t('native.welcome.headline')),
el('p', { className: 'sub' }, t('native.welcome.sub')),
- connect,
cloud,
+ connect,
demo,
footLinks(externalLink(t('native.connect.whatIsServer'), SERVER_DOCS_URL))
),
diff --git a/client/native-shell/shell.css b/client/native-shell/shell.css
index 6ba9c54fd..26edaa738 100644
--- a/client/native-shell/shell.css
+++ b/client/native-shell/shell.css
@@ -374,10 +374,10 @@ body::after {
margin: 0;
}
.sub {
- color: var(--muted);
+ color: var(--faint);
margin: 0;
- line-height: 1.5;
- font-size: 0.95rem;
+ line-height: 1.55;
+ font-size: 0.9rem;
overflow-wrap: anywhere;
}
diff --git a/shared/src/i18n/de/native.ts b/shared/src/i18n/de/native.ts
index 77b3fe69c..b8137ed5c 100644
--- a/shared/src/i18n/de/native.ts
+++ b/shared/src/i18n/de/native.ts
@@ -27,7 +27,7 @@ const native: TranslationStrings = {
'native.settings.serverHint': 'Diese App ist mit {server} verbunden.',
'native.welcome.headline': 'Deine Reisen.\nDein Plan.',
'native.welcome.sub':
- 'Plant gemeinsam in Echtzeit auf einer Live-Karte — Touren, Buchungen, Budgets, Packlisten, Journal und Fotobuch, den Rest erledigt die KI. Im Web, am Handy und offline.',
+ 'Gemeinsam in Echtzeit planen: Touren, Budgets, Journal, Fotobuch — mit KI. Web, Handy, offline.',
'native.welcome.connect': 'Mit deinem TREK verbinden',
'native.welcome.connectSub': 'Die Adresse öffnen, die du schon nutzt',
'native.welcome.getCloud': 'TREK Cloud holen',
diff --git a/shared/src/i18n/en/native.ts b/shared/src/i18n/en/native.ts
index f60d39c99..5dbe4d7c5 100644
--- a/shared/src/i18n/en/native.ts
+++ b/shared/src/i18n/en/native.ts
@@ -26,7 +26,7 @@ const native: TranslationStrings = {
'native.settings.serverHint': 'This app is connected to {server}.',
'native.welcome.headline': 'Your Trip.\nYour Plan.',
'native.welcome.sub':
- 'Plan together in real time on a live map — tours, bookings, budgets, packing, journals and the photo book, with AI for the busy work. On the web, on your phone, and offline.',
+ 'Plan together in real time: tours, budgets, journals, photo book — with AI. Web, phone, offline.',
'native.welcome.connect': 'Connect your TREK',
'native.welcome.connectSub': 'Open the address you already use',
'native.welcome.getCloud': 'Get TREK Cloud',