aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-12-24 19:54:48 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2025-12-24 19:54:48 +0100
commit6ca5575b11938d70bb1cc9cc86d146a11164e6dc (patch)
tree673588879f9c450b999e22dfe2038ff555762a0c /src
parentcfbb1625e7873264e2ef435cc76fec2b59cf58d8 (diff)
Update icons
Diffstat (limited to 'src')
-rw-r--r--src/frontend/app/components/shared/AppMap.tsx4
-rw-r--r--src/frontend/app/root.tsx15
-rw-r--r--src/frontend/public/favicon.icobin16958 -> 7873 bytes
-rw-r--r--src/frontend/public/icon-round.pngbin0 -> 7217 bytes
-rw-r--r--src/frontend/public/icon-square.pngbin0 -> 3768 bytes
-rw-r--r--src/frontend/public/icon-transparent.pngbin0 -> 4994 bytes
-rw-r--r--src/frontend/public/icon-transparent.svg5
-rw-r--r--src/frontend/public/logo-256.jpgbin7492 -> 0 bytes
-rw-r--r--src/frontend/public/logo-256.pngbin37843 -> 0 bytes
-rw-r--r--src/frontend/public/logo-512.jpgbin16746 -> 0 bytes
-rw-r--r--src/frontend/public/manifest.webmanifest33
-rw-r--r--src/frontend/public/map-pin-icon.pngbin4033 -> 0 bytes
12 files changed, 31 insertions, 26 deletions
diff --git a/src/frontend/app/components/shared/AppMap.tsx b/src/frontend/app/components/shared/AppMap.tsx
index adf860d..9a83197 100644
--- a/src/frontend/app/components/shared/AppMap.tsx
+++ b/src/frontend/app/components/shared/AppMap.tsx
@@ -195,6 +195,10 @@ export const AppMap = forwardRef<MapRef, AppMapProps>(
onRotateStart={onRotateStart}
onPitchStart={onPitchStart}
onLoad={onLoad}
+ dragPan={{
+ linearity: 0.4,
+ deceleration: 3000,
+ }}
>
{showNavigation && <NavigationControl position="bottom-right" />}
{showGeolocate && (
diff --git a/src/frontend/app/root.tsx b/src/frontend/app/root.tsx
index 656c75c..7b56b2d 100644
--- a/src/frontend/app/root.tsx
+++ b/src/frontend/app/root.tsx
@@ -36,11 +36,12 @@ export function Layout({ children }: { children: React.ReactNode }) {
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
- <link rel="icon" type="image/jpg" href="/logo-512.jpg" />
- <link rel="icon" href="/favicon.ico" sizes="64x64" />
- <link rel="apple-touch-icon" href="/logo-512.jpg" sizes="512x512" />
+
+ <link rel="icon" type="image/png" href="/icon-round.png" />
+ <link rel="apple-touch-icon" href="/icon-round.png" sizes="256x256" />
+
<meta name="theme-color" content="#F7F7FF" />
- <link rel="canonical" href="https://busurbano.costas.dev/" />
+ <link rel="canonical" href="https://enmarcha.app/" />
<meta
name="description"
@@ -52,12 +53,12 @@ export function Layout({ children }: { children: React.ReactNode }) {
/>
<meta name="author" content="Ariel Costas Guerrero" />
- <meta property="og:title" content="Busurbano Web" />
+ <meta property="og:title" content="EnMarcha" />
<meta property="og:type" content="website" />
- <meta property="og:url" content="https://busurbano.costas.dev/" />
+ <meta property="og:url" content="https://enmarcha.app/" />
<meta
property="og:image"
- content="https://busurbano.costas.dev/logo-512.jpg"
+ content="https://enmarcha.app/icon-round.png"
/>
<meta
property="og:description"
diff --git a/src/frontend/public/favicon.ico b/src/frontend/public/favicon.ico
index b81c323..f7646bd 100644
--- a/src/frontend/public/favicon.ico
+++ b/src/frontend/public/favicon.ico
Binary files differ
diff --git a/src/frontend/public/icon-round.png b/src/frontend/public/icon-round.png
new file mode 100644
index 0000000..d0b35aa
--- /dev/null
+++ b/src/frontend/public/icon-round.png
Binary files differ
diff --git a/src/frontend/public/icon-square.png b/src/frontend/public/icon-square.png
new file mode 100644
index 0000000..c94f82f
--- /dev/null
+++ b/src/frontend/public/icon-square.png
Binary files differ
diff --git a/src/frontend/public/icon-transparent.png b/src/frontend/public/icon-transparent.png
new file mode 100644
index 0000000..06ec34b
--- /dev/null
+++ b/src/frontend/public/icon-transparent.png
Binary files differ
diff --git a/src/frontend/public/icon-transparent.svg b/src/frontend/public/icon-transparent.svg
new file mode 100644
index 0000000..f6c3d87
--- /dev/null
+++ b/src/frontend/public/icon-transparent.svg
@@ -0,0 +1,5 @@
+<svg width="256" height="256" viewBox="0 0 256 256" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M56 184C56 188.243 57.6857 192.313 60.6863 195.314C63.6869 198.314 67.7565 200 72 200C76.2435 200 80.3131 198.314 83.3137 195.314C86.3143 192.313 88 188.243 88 184C88 179.757 86.3143 175.687 83.3137 172.686C80.3131 169.686 76.2435 168 72 168C67.7565 168 63.6869 169.686 60.6863 172.686C57.6857 175.687 56 179.757 56 184Z" stroke="#27187D" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/>
+<path d="M184 88C188.243 88 192.313 86.3143 195.314 83.3137C198.314 80.3131 200 76.2435 200 72C200 67.7565 198.314 63.6869 195.314 60.6863C192.313 57.6857 188.243 56 184 56C179.757 56 175.687 57.6857 172.686 60.6863C169.686 63.6869 168 67.7565 168 72C168 76.2435 169.686 80.3131 172.686 83.3137C175.687 86.3143 179.757 88 184 88Z" stroke="#27187D" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/>
+<path d="M120 184H164C171.426 184 178.548 181.05 183.799 175.799C189.05 170.548 192 163.426 192 156C192 148.574 189.05 141.452 183.799 136.201C178.548 130.95 171.426 128 164 128H100C92.5739 128 85.452 125.05 80.201 119.799C74.95 114.548 72 107.426 72 100C72 92.5739 74.95 85.452 80.201 80.201C85.452 74.95 92.5739 72 100 72H136" stroke="#27187D" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/>
+</svg>
diff --git a/src/frontend/public/logo-256.jpg b/src/frontend/public/logo-256.jpg
deleted file mode 100644
index c823056..0000000
--- a/src/frontend/public/logo-256.jpg
+++ /dev/null
Binary files differ
diff --git a/src/frontend/public/logo-256.png b/src/frontend/public/logo-256.png
deleted file mode 100644
index a1d6c25..0000000
--- a/src/frontend/public/logo-256.png
+++ /dev/null
Binary files differ
diff --git a/src/frontend/public/logo-512.jpg b/src/frontend/public/logo-512.jpg
deleted file mode 100644
index cf45e80..0000000
--- a/src/frontend/public/logo-512.jpg
+++ /dev/null
Binary files differ
diff --git a/src/frontend/public/manifest.webmanifest b/src/frontend/public/manifest.webmanifest
index e849bd1..b660826 100644
--- a/src/frontend/public/manifest.webmanifest
+++ b/src/frontend/public/manifest.webmanifest
@@ -10,32 +10,28 @@
"lang": "es",
"background_color": "#F7F7FF",
"theme_color": "#27187E",
- "categories": ["productivity"],
+ "categories": [
+ "productivity"
+ ],
"prefer_related_applications": false,
"icons": [
{
- "src": "/logo-512.jpg",
- "sizes": "512x512",
- "type": "image/jpg",
- "purpose": "any maskable"
+ "src": "/icon-square.png",
+ "sizes": "any",
+ "type": "image/png",
+ "purpose": "any"
},
{
- "src": "/logo-256.jpg",
- "sizes": "256x256",
- "type": "image/jpg",
- "purpose": "any maskable"
+ "src": "/icon-transparent.svg",
+ "type": "image/svg+xml",
+ "sizes": "any",
+ "purpose": "any monochrome"
},
{
- "src": "/logo-256.png",
- "sizes": "256x256",
+ "src": "/icon-transparent.png",
"type": "image/png",
- "purpose": "any maskable"
- },
- {
- "src": "/favicon.ico",
- "sizes": "64x64",
- "type": "image/x-icon",
- "purpose": "any maskable"
+ "sizes": "any",
+ "purpose": "any monochrome"
}
],
"screenshots": [
@@ -60,7 +56,6 @@
"form_factor": "narrow",
"label": "Estimaciones de llegada a parada"
},
-
{
"src": "/screenshots/stoplist-wide.jpeg",
"sizes": "1788x891",
diff --git a/src/frontend/public/map-pin-icon.png b/src/frontend/public/map-pin-icon.png
deleted file mode 100644
index 0015b64..0000000
--- a/src/frontend/public/map-pin-icon.png
+++ /dev/null
Binary files differ