From 0b959ccd5e1f68bc54dce7b11d17a18e38f9a1f1 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 19 Oct 2020 18:06:57 +0530 Subject: hell girl busy --- main.go | 8 ++++++++ static/css/new.main.css | 3 +++ templates/maintain.html | 11 +++++++++++ templates/new.index.html | 10 ++++++++++ templates/redirect.index.html | 2 +- templates/skeleton.htm | 8 ++++++++ 6 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 static/css/new.main.css create mode 100644 templates/maintain.html create mode 100644 templates/new.index.html create mode 100644 templates/skeleton.htm diff --git a/main.go b/main.go index b7f035a..aaf0287 100644 --- a/main.go +++ b/main.go @@ -34,5 +34,13 @@ func main() { c.HTML(http.StatusOK, "redirect.index.html", nil) }) + router.GET("/new", func(c *gin.Context) { + c.HTML(http.StatusOK, "new.index.html", nil) + }) + + router.GET("/site-down", func(c *gin.Context) { + c.HTML(http.StatusOK, "maintain.html", nil) + }) + router.Run(":" + port) } diff --git a/static/css/new.main.css b/static/css/new.main.css new file mode 100644 index 0000000..44e3bc4 --- /dev/null +++ b/static/css/new.main.css @@ -0,0 +1,3 @@ +body { + background-color: #101010; +} diff --git a/templates/maintain.html b/templates/maintain.html new file mode 100644 index 0000000..31d38fe --- /dev/null +++ b/templates/maintain.html @@ -0,0 +1,11 @@ + + + + Site inactive + + +
+ Hell girl is busy lol +
+ + diff --git a/templates/new.index.html b/templates/new.index.html new file mode 100644 index 0000000..fd1aba7 --- /dev/null +++ b/templates/new.index.html @@ -0,0 +1,10 @@ + + + + + Hell Correspondence + + + hh + + diff --git a/templates/redirect.index.html b/templates/redirect.index.html index 63b279b..3efe297 100644 --- a/templates/redirect.index.html +++ b/templates/redirect.index.html @@ -3,7 +3,7 @@ diff --git a/templates/skeleton.htm b/templates/skeleton.htm new file mode 100644 index 0000000..3977919 --- /dev/null +++ b/templates/skeleton.htm @@ -0,0 +1,8 @@ + + + + + + + + -- cgit v1.2.3