mirror of
http://100.103.83.12:3003/fegger/time_to_leave.git
synced 2026-09-17 09:42:44 +00:00
mobile app phase 1
This commit is contained in:
@@ -0,0 +1 @@
|
||||
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,39798,e=>{"use strict";var t=e.i(43476),i=e.i(49550),s=e.i(29803),n=e.i(20264);e.s(["default",0,function(){let{events:e}=(0,i.useEventsStore)(),{station:a}=(0,s.useOriginStation)(),r=e.filter(e=>e.eventTime>=new Date).sort((e,t)=>e.eventTime.getTime()-t.eventTime.getTime());return(0,t.jsx)("main",{className:"max-w-3xl mx-auto w-full px-4 py-6",children:0===r.length?(0,t.jsxs)("div",{className:"text-center py-16 text-gray-500 dark:text-gray-400",children:[(0,t.jsx)("p",{className:"text-lg font-medium",children:"No upcoming events"}),(0,t.jsx)("p",{className:"text-sm mt-1",children:'Use "Add Event" to add one, or import from the Calendar.'})]}):(0,t.jsx)("div",{className:"space-y-4",children:r.map(e=>(0,t.jsx)(n.default,{event:e,originStation:a},e.id))})})}])}]);
|
||||
Reference in New Issue
Block a user