พอร์ต UI จาก web-at-transit-mock เข้า Next.js + data sync เข้า Postgres/SeaweedFS
- 8 หน้า (home/stops/routes/stop/check/blog/about/credits) แปลง partials → React component ตรง mock
- ตรรกะพอร์ตเป็น src/lib/ui/*.ts (mount()) + runtime/PageRuntime
- CSS: base + pages/*.css import ต่อ route (คงลำดับ cascade ของ mock)
- asset/content: public/{image,resource/data,content,locales,vendor}
- แก้ path รูปไทล์พาร์ทเนอร์ (.image → /image) + fallback absolute
- ลบ UI เดิมที่ไม่ตรง mock (expanded/stops details/old components/globals.css)
- script/sync_data_to_postgres.mjs + sync_images_to_storage.mjs (dry-run/--apply, backup)
- docs/UI-PORT.md + DESIGN.md + README
This commit is contained in:
1 parent
24187fc3b7
commit
138a3d15d8
300 files changed
+20213
-1978
No files matched your search
@@ -0,0 +1 @@
|
||||
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"route_id":"dream-samko-wisad-angthong"},"geometry":{"type":"MultiLineString","coordinates":[[[100.24724,14.60619],[100.24823,14.60574],[100.24915,14.6053],[100.25,14.60488],[100.2508,14.60448],[100.25155,14.6041],[100.25224,14.60374],[100.2529,14.60341],[100.25352,14.60309],[100.2541,14.60281],[100.25466,14.60254],[100.25519,14.6023],[100.2557,14.60208],[100.25618,14.60187],[100.25665,14.60167],[100.25711,14.60148],[100.25756,14.6013],[100.258,14.60112],[100.25843,14.60094],[100.25886,14.60077],[100.25927,14.6006],[100.25967,14.60044],[100.26005,14.60029],[100.26043,14.60014],[100.26078,14.6],[100.26111,14.59987],[100.26143,14.59975],[100.26174,14.59963],[100.26203,14.59952],[100.26231,14.59941],[100.26258,14.5993],[100.26285,14.59919],[100.26311,14.59908],[100.26337,14.59897],[100.26363,14.59886],[100.2639,14.59874],[100.26416,14.59861],[100.26443,14.59848],[100.26471,14.59833],[100.265,14.59818],[100.2653,14.59801],[100.26561,14.59783],[100.26593,14.59764],[100.26626,14.59743],[100.2666,14.59721],[100.26694,14.59697],[100.26729,14.59672],[100.26764,14.59645],[100.26798,14.59616],[100.26832,14.59586],[100.26866,14.59554],[100.269,14.59521],[100.26933,14.59488],[100.26966,14.59454],[100.26999,14.59419],[100.27031,14.59385],[100.27063,14.59352],[100.27095,14.59319],[100.27126,14.59287],[100.27157,14.59255],[100.27188,14.59225],[100.27218,14.59196],[100.27248,14.59168],[100.27278,14.59141],[100.27307,14.59116],[100.27336,14.59091],[100.27365,14.59068],[100.27393,14.59046],[100.27422,14.59024],[100.27451,14.59003],[100.2748,14.58982],[100.27509,14.58961],[100.27538,14.58939],[100.27568,14.58917],[100.27598,14.58894],[100.27629,14.5887],[100.27661,14.58846],[100.27694,14.5882],[100.27728,14.58794],[100.27762,14.58766],[100.27798,14.58738],[100.27836,14.58708],[100.27874,14.58677],[100.27913,14.58646],[100.27953,14.58613],[100.27993,14.5858],[100.28033,14.58547],[100.28072,14.58513],[100.28112,14.58478],[100.28151,14.58443],[100.28189,14.58409],[100.28227,14.58374],[100.28265,14.5834],[100.28302,14.58306],[100.2834,14.58273],[100.28377,14.58241],[100.28415,14.58209],[100.28453,14.58179],[100.28491,14.5815],[100.28528,14.58123],[100.28564,14.58097],[100.28598,14.58072],[100.2863,14.5805],[100.2866,14.58029],[100.28686,14.5801],[100.28709,14.57994],[100.2873,14.5798],[100.28752,14.5797],[100.28777,14.57964],[100.28807,14.57964],[100.28844,14.57969],[100.2889,14.5798],[100.28947,14.57999],[100.29018,14.58026],[100.291,14.58059],[100.29192,14.58098],[100.29291,14.58141],[100.29396,14.58188],[100.29504,14.58236],[100.29614,14.58285],[100.29723,14.58333],[100.2983,14.5838],[100.29934,14.58425],[100.30036,14.58468],[100.30135,14.58509],[100.30231,14.58548],[100.30325,14.58584],[100.30416,14.58619],[100.30504,14.58651],[100.3059,14.58681],[100.30673,14.5871],[100.30754,14.58736],[100.30833,14.58762],[100.30909,14.58787],[100.30983,14.58812],[100.31055,14.58837],[100.31124,14.58863],[100.31192,14.58889],[100.31258,14.58917],[100.31321,14.58944],[100.31382,14.58973],[100.3144,14.59],[100.31494,14.59028],[100.31546,14.59055],[100.31594,14.59081],[100.31638,14.59105],[100.31679,14.59129],[100.31718,14.59151],[100.31755,14.59172],[100.3179,14.59192],[100.31824,14.59211],[100.31857,14.59228],[100.31891,14.59245],[100.31926,14.5926],[100.31961,14.59275],[100.31999,14.59289],[100.32039,14.59302],[100.32082,14.59314],[100.32128,14.59326],[100.32179,14.59337],[100.32235,14.59348],[100.32296,14.59359],[100.32361,14.5937],[100.32431,14.5938],[100.32502,14.5939],[100.32576,14.594],[100.3265,14.59409],[100.32724,14.59418],[100.32797,14.59427],[100.32869,14.59435],[100.32939,14.59443],[100.3301,14.59451],[100.33081,14.59459],[100.33155,14.59467],[100.33231,14.59476],[100.33312,14.59485],[100.33397,14.59494],[100.33487,14.59505],[100.33583,14.59516],[100.33681,14.59528],[100.33782,14.5954],[100.33884,14.59552],[100.33985,14.59564],[100.34084,14.59575],[100.3418,14.59587],[100.34272,14.59597],[100.34359,14.59607],[100.34442,14.59617],[100.3452,14.59625],[100.34593,14.59634],[100.34662,14.59641],[100.34725,14.59648],[100.34784,14.59654],[100.34837,14.5966],[100.34885,14.59665],[100.34929,14.59669],[100.34969,14.59673],[100.35006,14.59677],[100.35039,14.5968],[100.35069,14.59683],[100.35097,14.59686],[100.35124,14.59688],[100.35149,14.5969],[100.35174,14.59693],[100.35201,14.59696],[100.3523,14.59699],[100.35262,14.59704],[100.35299,14.59709],[100.35341,14.59715],[100.3539,14.59722],[100.35444,14.59731],[100.35504,14.59742],[100.35569,14.59754],[100.35639,14.59768],[100.35712,14.59785],[100.35789,14.59804],[100.35869,14.59825],[100.35951,14.59849],[100.36035,14.59875],[100.3612,14.59902],[100.36205,14.59928],[100.36291,14.59954],[100.36376,14.59979],[100.36459,14.6],[100.3654,14.60018],[100.36619,14.60032],[100.36697,14.60042],[100.36775,14.6005],[100.36854,14.60055],[100.36936,14.60058],[100.37021,14.60061],[100.37112,14.60064],[100.37209,14.60068],[100.37314,14.60Line truncated
|
||||
Reference in new issue
Block a user