Restructure assets to top-level package and add Reset Map button
- Move assets from internal/assets to top-level assets/ package for clean embed directive - Consolidate all static files in single location (assets/static/) - Remove duplicate static file locations to maintain single source of truth - Add Reset Map button to map controls with full functionality - Implement resetMap() method to return map to calculated origin position - Store origin in this.mapOrigin for reset functionality - Fix go:embed pattern to work without parent directory references 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
af9bf8ecac
commit
1425f0a018
20 changed files with 263 additions and 2139 deletions
|
|
@ -1,10 +0,0 @@
|
|||
// Package assets provides embedded static web assets for the SkyView application.
|
||||
// This package embeds all files from the static/ directory at build time.
|
||||
package assets
|
||||
|
||||
import "embed"
|
||||
|
||||
// Static contains all embedded static assets
|
||||
// The files are accessed with paths like "static/index.html", "static/css/style.css", etc.
|
||||
//go:embed static/*
|
||||
var Static embed.FS
|
||||
Loading…
Add table
Add a link
Reference in a new issue