diff --git a/web/page/about.go b/web/page/about.go deleted file mode 100644 index 23b3058..0000000 --- a/web/page/about.go +++ /dev/null @@ -1,15 +0,0 @@ -package page - -import ( - "github.com/Redume/EveryNasa/functions" - "github.com/gofiber/fiber/v2" -) - -func About(c *fiber.Ctx) error { - con := functions.Connected() - if con == false { - return c.SendFile("./web/errors/500.html") - } - - return c.SendFile("./web/src/about.html") -} diff --git a/web/page/favorite.go b/web/page/favorite.go deleted file mode 100644 index 22de2f5..0000000 --- a/web/page/favorite.go +++ /dev/null @@ -1,15 +0,0 @@ -package page - -import ( - "github.com/Redume/EveryNasa/functions" - "github.com/gofiber/fiber/v2" -) - -func Favorite(c *fiber.Ctx) error { - con := functions.Connected() - if con == false { - return c.SendFile("./web/errors/500.html") - } - - return c.SendFile("./web/src/favorite.html") -} diff --git a/web/page/gallery.go b/web/page/gallery.go deleted file mode 100644 index 90e53bf..0000000 --- a/web/page/gallery.go +++ /dev/null @@ -1,15 +0,0 @@ -package page - -import ( - "github.com/Redume/EveryNasa/functions" - "github.com/gofiber/fiber/v2" -) - -func Gallery(c *fiber.Ctx) error { - con := functions.Connected() - if con == false { - return c.SendFile("./web/errors/500.html") - } - - return c.SendFile("./web/src/gallery.html") -} diff --git a/web/page/settings.go b/web/page/settings.go deleted file mode 100644 index d3c37dc..0000000 --- a/web/page/settings.go +++ /dev/null @@ -1,15 +0,0 @@ -package page - -import ( - "github.com/Redume/EveryNasa/functions" - "github.com/gofiber/fiber/v2" -) - -func Settings(c *fiber.Ctx) error { - con := functions.Connected() - if con == false { - return c.SendFile("./web/errors/500.html") - } - - return c.SendFile("./web/src/settings.html") -}