File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const Map = dynamic<any>(() => import('@/components/Map'), {
1212} ) ;
1313
1414import { ElevationProfile } from '@/components/ElevationProfile' ;
15+ import pkg from '@/package.json' ;
1516
1617export default function Home ( ) {
1718 const [ bbox , setBbox ] = useState < { south : number ; west : number ; north : number ; east : number } | null > ( null ) ;
@@ -437,7 +438,7 @@ ${route.map(pt => ` <trkpt lat="${pt[1]}" lon="${pt[0]}">${pt[2] !== undefi
437438 return (
438439 < main className = "flex flex-col h-screen bg-gray-50 overflow-hidden" >
439440 < header className = "bg-white border-b border-gray-200 px-6 py-4 flex items-center justify-between shadow-sm shrink-0 z-[1000]" >
440- < a href = "/" className = "flex items-center gap-2 hover:opacity-80 transition-opacity cursor-pointer group" >
441+ < a href = "/" title = { `v ${ pkg . version } ` } className = "flex items-center gap-2 hover:opacity-80 transition-opacity cursor-pointer group" >
441442 < div className = "w-8 h-8 bg-indigo-600 rounded-lg flex items-center justify-center group-hover:bg-indigo-700 transition-colors" >
442443 < svg className = "w-5 h-5 text-white" fill = "none" viewBox = "0 0 24 24" stroke = "currentColor" >
443444 < path strokeLinecap = "round" strokeLinejoin = "round" strokeWidth = { 2 } d = "M9 20l-5.447-2.724A2 2 0 013 15.414V5.586a2 2 0 012.316-1.97l5.447 1.258a2 2 0 001.374 0l5.447-1.258A2 2 0 0121 5.586v9.828a2 2 0 01-1.236 1.861L15 20l-6-2.586L9 20z" />
You can’t perform that action at this time.
0 commit comments