diff --git a/.gitignore b/.gitignore index 2a52939..358349c 100644 --- a/.gitignore +++ b/.gitignore @@ -23,7 +23,7 @@ internal/assets/css internal/templates/html/* internal/mdi/mdi-cheat-sheets internal/pages/guide/guide-assets -internal/editor/editor-assets +internal/pages/editor/editor-assets internal/weather/icons .DS_Store tmp diff --git a/build/build.go b/build/build.go index e745f4e..1430ed1 100644 --- a/build/build.go +++ b/build/build.go @@ -11,7 +11,7 @@ func main() { ) builder.TaskForSimpleIcons("internal/resources/simpleicon") builder.TaskForGuideAssets("embed/assets/vendor/guide-assets", "internal/pages/guide/guide-assets") - builder.TaskForEditorAssets("embed/assets/vendor/editor-assets", "internal/editor/editor-assets") + builder.TaskForEditorAssets("embed/assets/vendor/editor-assets", "internal/pages/editor/editor-assets") builder.TaskForStyles("config/state/style.go") builder.TaskForFavicon("embed/assets/favicon.ico", "internal/resources/assets/favicon.ico") builder.TaskForTemplates("embed/templates", "internal/resources/templates/html") diff --git a/cmd/daemon.go b/cmd/daemon.go index d85785b..1475fd5 100644 --- a/cmd/daemon.go +++ b/cmd/daemon.go @@ -23,8 +23,8 @@ import ( FlareTemplates "github.com/soulteary/flare/internal/resources/templates" FlareDeprecated "github.com/soulteary/flare/internal/deprecated" - FlareEditor "github.com/soulteary/flare/internal/editor" FlareHealth "github.com/soulteary/flare/internal/health" + FlareEditor "github.com/soulteary/flare/internal/pages/editor" FlareGuide "github.com/soulteary/flare/internal/pages/guide" FlareHome "github.com/soulteary/flare/internal/pages/home" FlareRedir "github.com/soulteary/flare/internal/redir" diff --git a/internal/editor/editor.go b/internal/pages/editor/editor.go similarity index 100% rename from internal/editor/editor.go rename to internal/pages/editor/editor.go