published the website
This commit is contained in:
16
.firebase/hosting.ZGlzdA.cache
Normal file
16
.firebase/hosting.ZGlzdA.cache
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
index.html,1781625481655,0bdff4efc7941960da87ca866f0e5a5c8902496ed974adb54a0ac0b6ff0bfcc8
|
||||||
|
assets/index-DvsKFHEX.css,1781625481655,5c4f357ff59c59917ce7c70ee28b29bc28c9d7eec3f6afd12e4c2cc8120537e1
|
||||||
|
assets/walk-2q6BKbeA.png,1781625481654,19a9f5d599221a0077761a7777285ca17dbc2775a9c4096304098602f2067b87
|
||||||
|
logo.png,1781605272907,e1d8cae38fa1d4a97f6847ccdc69dae37d8b481e6862625b6d8a6565137a622b
|
||||||
|
assets/airplane-DW4h3HkK.png,1781625481654,8d70ae12e46f5abdb4e1ccdf59af4bcab1805229d02f1260321f1f61d6375af1
|
||||||
|
assets/ship-xaUNk1p4.png,1781625481655,58b126e20c22710d5af92a45b6ec8af6e0b3dea30a743f9e8b91e849ed66cd91
|
||||||
|
assets/car-C6BGShf6.png,1781625481655,ac10c46e0a8245a9e52b8c3cebe110112f57764c9bda1fe93d4fbc077e79a1b2
|
||||||
|
assets/bus-Dy8WA7au.png,1781625481655,8285587abd857cce3b7083e799a8d2a95b019cfc40546e914cc2b8348c448c10
|
||||||
|
assets/default-3-BcrUpMyO.jpeg,1781625481655,f10d24e80f9f94ddf40d1103ea18f96214e89c18102c75be6b816c8ee0a2b4b9
|
||||||
|
assets/logo-signin-BAMDzBb4.png,1781625481654,7e5d35cac2cea449b27ef72e386e66e1b9c8cbb9261a26b85fda4cb2d89ac226
|
||||||
|
assets/train-DAjH23UQ.png,1781625481654,9b3a2b3b0376f74a47daf69b2f202d757fd8425edede28a8263d2ef5994ed5f2
|
||||||
|
assets/default-2-CoZoomA5.jpeg,1781625481679,fbdb512018aba7f68167796632defe75019af5432ed0bfc48d0e24851c47261f
|
||||||
|
assets/profile-lvFMnGZN.png,1781625481655,0892c6fcffa6be93a86ddedc09b6c26ad725fd1dd66479b4382dbfddcb6d392f
|
||||||
|
assets/home-D9_bbHBx.png,1781625481645,201c0fa3a0d38a8ce25c5494d0bd1f2d5d7e0f03fb07cd9c34b3e7593858899f
|
||||||
|
assets/default-1-CZLThRLv.jpeg,1781625481656,72f1614c5862c5fa1b79db6130985b681cd971e4c415758990dc1fd3c9eee1a4
|
||||||
|
assets/index-SWMyx2DH.js,1781625481680,410b9158c346198a52ac2fb23e23d24d403e7c65e144824fd81894e9cac1eec7
|
||||||
@@ -1,5 +1,12 @@
|
|||||||
{
|
{
|
||||||
"storage": {
|
"storage": {
|
||||||
"rules": "storage.rules"
|
"rules": "storage.rules"
|
||||||
|
},
|
||||||
|
"hosting": {
|
||||||
|
"public": "dist",
|
||||||
|
"ignore": ["firebase.json", ".firebaserc"],
|
||||||
|
"rewrites": [
|
||||||
|
{ "source": "**", "destination": "/index.html" }
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -292,22 +292,13 @@
|
|||||||
|
|
||||||
const nameToId = Object.fromEntries(Object.entries(featuresById).filter(([,f]) => f.properties?.name).map(([id, f]) => [f.properties.name, id]));
|
const nameToId = Object.fromEntries(Object.entries(featuresById).filter(([,f]) => f.properties?.name).map(([id, f]) => [f.properties.name, id]));
|
||||||
const entries = get(journals).slice().sort((a, b) => a.date.localeCompare(b.date));
|
const entries = get(journals).slice().sort((a, b) => a.date.localeCompare(b.date));
|
||||||
const trips = entries.length > 0
|
const trips = entries.map(e => ({
|
||||||
? entries.map(e => ({
|
countryName: e.location.country,
|
||||||
countryName: e.location.country,
|
countryCode: nameToId[e.location.country] ?? null,
|
||||||
countryCode: nameToId[e.location.country] ?? null,
|
city: e.location.cities?.[0] ?? e.location.country,
|
||||||
city: e.location.cities?.[0] ?? e.location.country,
|
transport: e.transport ?? 'flight',
|
||||||
transport: e.transport ?? 'flight',
|
date: e.date,
|
||||||
date: e.date,
|
})).filter(t => t.countryCode);
|
||||||
})).filter(t => t.countryCode)
|
|
||||||
: [
|
|
||||||
{ countryName: 'Japan', countryCode: '392', city: 'Tokyo', transport: 'flight', date: '2024-03-15' },
|
|
||||||
{ countryName: 'France', countryCode: '250', city: 'Paris', transport: 'flight', date: '2024-06-20' },
|
|
||||||
{ countryName: 'Spain', countryCode: '724', city: 'Barcelona', transport: 'flight', date: '2024-09-10' },
|
|
||||||
{ countryName: 'United States of America', countryCode: '840', city: 'New York', transport: 'flight', date: '2025-01-05' },
|
|
||||||
{ countryName: 'Thailand', countryCode: '764', city: 'Bangkok', transport: 'flight', date: '2025-04-18' },
|
|
||||||
{ countryName: 'Australia', countryCode: '036', city: 'Sydney', transport: 'flight', date: '2025-08-22' },
|
|
||||||
];
|
|
||||||
|
|
||||||
for (let i = 0; i < trips.length; i++) {
|
for (let i = 0; i < trips.length; i++) {
|
||||||
if (isCancelled || myId !== animId) break;
|
if (isCancelled || myId !== animId) break;
|
||||||
|
|||||||
Reference in New Issue
Block a user