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): drop the demo button from the connect screen

Mauricee3ac025a5946
diff --git a/client/native-shell/main.ts b/client/native-shell/main.ts
index 45cffbab0..aa3e821a1 100644
--- a/client/native-shell/main.ts
+++ b/client/native-shell/main.ts
@@ -256,9 +256,6 @@ function showConnect(prefill = '', opts: { back?: boolean } = {}): void {
fail(result.reason);
});
- const demo = el('button', { type: 'button', className: 'demo-link' }, t('native.connect.tryDemo'));
- demo.addEventListener('click', () => runDemo(demo, error));
-
show(
el(
'div',
@@ -267,7 +264,6 @@ function showConnect(prefill = '', opts: { back?: boolean } = {}): void {
el('h1', { className: 'title-sm' }, t('native.connect.title')),
el('p', { className: 'sub' }, t('native.connect.hint')),
form,
- demo,
footLinks(externalLink(t('native.connect.whatIsServer'), SERVER_DOCS_URL))
),
opts