Colota - Android GPS Location tracker
feat: improve docs homepage with integrations section and updated feature cards
Max Dietrich719539732143
diff --git a/apps/docs/docusaurus.config.ts b/apps/docs/docusaurus.config.tsindex 8b0afd04..a64a85b1 100644--- a/apps/docs/docusaurus.config.ts+++ b/apps/docs/docusaurus.config.ts@@ -63,11 +63,6 @@ const config: Config = {label: "Privacy Policy",position: "left"},- {- href: "https://play.google.com/store/apps/details?id=com.Colota&hl=en-US",- label: "Google Play",- position: "right"- },{href: "https://github.com/dietrichmax/colota",label: "GitHub",diff --git a/apps/docs/src/pages/index.module.css b/apps/docs/src/pages/index.module.cssindex 53990db9..6113b325 100644--- a/apps/docs/src/pages/index.module.css+++ b/apps/docs/src/pages/index.module.css@@ -49,6 +49,30 @@background: rgba(255, 255, 255, 0.1);}+.downloadLinks {+ display: flex;+ align-items: center;+ gap: 0.5rem;+ margin-top: 0.75rem;+ font-size: 0.875rem;+ opacity: 0.8;+}++.downloadLabel {+ color: rgba(255, 255, 255, 0.7);+}++.downloadLink {+ color: white;+ text-decoration: underline;+ text-underline-offset: 2px;+}++.downloadLink:hover {+ color: white;+ opacity: 1;+}+/* Features */.features {@@ -80,6 +104,45 @@color: var(--ifm-font-color-secondary);}+/* Integrations */++.integrations {+ padding: 2rem 0;+ text-align: center;+}++.integrationsLabel {+ font-size: 0.8rem;+ text-transform: uppercase;+ letter-spacing: 0.08em;+ color: var(--ifm-font-color-secondary);+ margin-bottom: 1rem;+}++.integrationsList {+ display: flex;+ flex-wrap: wrap;+ justify-content: center;+ gap: 0.5rem;+}++.integrationBadge {+ padding: 0.35rem 0.85rem;+ border-radius: 999px;+ border: 1px solid var(--colota-border);+ font-size: 0.875rem;+ color: var(--ifm-font-color-base);+ background: var(--colota-card-bg);+ text-decoration: none;+ transition: border-color 0.2s, color 0.2s;+}++.integrationBadge:hover {+ border-color: var(--ifm-color-primary);+ color: var(--ifm-color-primary);+ text-decoration: none;+}+/* Screenshots */.screenshots {diff --git a/apps/docs/src/pages/index.tsx b/apps/docs/src/pages/index.tsxindex a48468d8..045aa934 100644--- a/apps/docs/src/pages/index.tsx+++ b/apps/docs/src/pages/index.tsx@@ -31,6 +31,12 @@ function HomepageHeader() {Google Play</Link></div>+ <div className={styles.downloadLinks}>+ <span className={styles.downloadLabel}>Also available on</span>+ <Link className={styles.downloadLink} href="https://apt.izzysoft.de/fdroid/index/apk/com.Colota">+ IzzyOnDroid+ </Link>+ </div></div><div className={styles.heroScreenshot}><img src="/img/screenshots/Dashboard.png" alt="Colota Dashboard" />@@ -44,12 +50,17 @@ const features = [{title: "Self-Hosted & Private",description:- "No cloud, no analytics, no telemetry. Send data to Dawarich, OwnTracks, Home Assistant, Traccar, or any HTTP backend."+ "No cloud, no analytics, no telemetry. Send data to your own server or any HTTP/S backend. Open source under AGPL-3.0."},{title: "Works Offline",description:- "Locations queue locally and sync when connectivity returns. Export anytime or scheduled as CSV, GeoJSON, GPX, or KML."+ "Locations queue locally and sync when connectivity returns. Download map areas for offline use. Export as CSV, GeoJSON, GPX, or KML."+ },+ {+ title: "Location History",+ description:+ "Trip segmentation with speed-colored tracks, elevation profiles, and stats. Calendar view with activity dots and per-trip export."},{title: "Tracking Profiles",@@ -57,7 +68,13 @@ const features = [},{title: "Maps & Geofencing",- description: "Native maps with speed-colored tracks. Define pause zones to stop tracking at home or work."+ description:+ "GPU-accelerated live tracking map. Define pause zones to automatically stop recording at home or work."+ },+ {+ title: "Flexible Sync",+ description:+ "Instant, batched, Wi-Fi only, or fully offline. Scheduled auto-export to a local directory with configurable format and retention."}]@@ -67,7 +84,7 @@ function HomepageFeatures(): ReactNode {<div className="container"><div className="row">{features.map(({ title, description }, idx) => (- <div key={idx} className="col col--3" style={{ marginBottom: "1.5rem" }}>+ <div key={idx} className="col col--4" style={{ marginBottom: "1.5rem" }}><div className={styles.featureCard}><Heading as="h3">{title}</Heading><p>{description}</p>@@ -93,6 +110,34 @@ const homepageScreenshots = [{ src: "/img/screenshots/DarkMode.png", label: "Dark Mode" }]+const integrations = [+ { label: "Dawarich", to: "/docs/integrations/dawarich" },+ { label: "OwnTracks", to: "/docs/integrations/owntracks" },+ { label: "Home Assistant", to: "/docs/integrations/home-assistant" },+ { label: "Traccar", to: "/docs/integrations/traccar" },+ { label: "GeoPulse", to: "/docs/integrations/geopulse" },+ { label: "PhoneTrack", to: "/docs/integrations/phonetrack" },+ { label: "Reitti", to: "/docs/integrations/reitti" },+ { label: "Custom Backend", to: "/docs/integrations/custom-backend" }+]++function HomepageIntegrations(): ReactNode {+ return (+ <section className={styles.integrations}>+ <div className="container">+ <p className={styles.integrationsLabel}>Works with</p>+ <div className={styles.integrationsList}>+ {integrations.map(({ label, to }) => (+ <Link key={label} to={to} className={styles.integrationBadge}>+ {label}+ </Link>+ ))}+ </div>+ </div>+ </section>+ )+}+function HomepageScreenshots(): ReactNode {return (<section className={styles.screenshots}>@@ -115,6 +160,7 @@ export default function Home(): ReactNode {<HomepageHeader /><main><HomepageFeatures />+ <HomepageIntegrations /><HomepageScreenshots /></main></Layout>diff --git a/apps/mobile/src/types/global.ts b/apps/mobile/src/types/global.tsindex 6e6a2970..11ad1a4d 100644--- a/apps/mobile/src/types/global.ts+++ b/apps/mobile/src/types/global.ts@@ -164,7 +164,7 @@ export const API_TEMPLATES: Record<Exclude<ApiTemplateName, "custom">, ApiTempla},phonetrack: {name: "phonetrack",- label: "Nextcloud PhoneTrack",+ label: "PhoneTrack",description: "Nextcloud PhoneTrack logging format",fieldMap: {lat: "lat",