- 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>
11 lines
No EOL
368 B
Go
11 lines
No EOL
368 B
Go
// 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 |