// SPDX-License-Identifier: AGPL-3.0-or-later // Package web is the canonical home for comail's frontend // assets. The Go package only exists to expose embed.FS handles to the // HTTP handlers that serve /ui/static/*; the templates themselves live // in the sibling web/templates package, and design tokens / stylesheets // will land in web/styles when the Tailwind pipeline ships. package web import "embed" // StaticFiles bundles everything under web/static/* into the binary. // The /ui/static/ HTTP handler in internal/admin/ui/handlers.go serves // from this. Path is relative to this file's directory. // //go:embed static/* var StaticFiles embed.FS // StyleFiles bundles everything under web/styles/*.css into the binary. // The /ui/styles/ HTTP handler in internal/admin/ui/handlers.go serves // from this. Path is relative to this file's directory. Stylesheets // were extracted from inline