aboutsummaryrefslogtreecommitdiff
path: root/.config/startpage
diff options
context:
space:
mode:
Diffstat (limited to '.config/startpage')
-rw-r--r--.config/startpage/background.jpgbin522763 -> 0 bytes
-rw-r--r--.config/startpage/index.html67
-rw-r--r--.config/startpage/server.go22
3 files changed, 0 insertions, 89 deletions
diff --git a/.config/startpage/background.jpg b/.config/startpage/background.jpg
deleted file mode 100644
index 3e8476f..0000000
--- a/.config/startpage/background.jpg
+++ /dev/null
Binary files differ
diff --git a/.config/startpage/index.html b/.config/startpage/index.html
deleted file mode 100644
index 18b2dd2..0000000
--- a/.config/startpage/index.html
+++ /dev/null
@@ -1,67 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Welcome, Vidhu Kant!</title>
-</head>
-<body>
- <style>
- body {
- margin: 7px;
- background-color: #111111;
- background-image: url('main/background.jpg');
- background-repeat: no-repeat;
- background-size: cover;
- }
-
- .nav-container {
- margin: -7px;
- background-color: #3333330d;
- overflow: hidden;
- position: fixed;
- bottom: 6px;
- width: 100%;
- padding: 13px 0px 22px 0px;
- }
-
- .nav {
- max-width: 96%;
- margin: 3%;
- padding: 12px 12px 12px 12px;
- background-color: #FCFCFCdd;
- border: 2px solid #232627;
- border-radius: 90px 90px 90px 90px;
- }
-
- .nav a {
- color: #FFFFFF;
- background-color: #5b76b7;
- text-decoration: none;
- padding: 8px 18px;
- border-radius: 20px;
- margin-right: 3px;
- margin-left: 3px;
- }
-
- </style>
- <div class="clock">
- {{ .time }}
- </div>
- <div class="nav-container">
- <span class="nav">
- <a href="https://myanimelist.net">MyAnimeList</a>
- <a href="https://old.reddit.com">Reddit</a>
- <a href="https://myanimelist.net/profile/MikunoNaka">MAL Profile</a>
- <a href="https://twitter.com">Twitter</a>
- <a href="https://youtube.com">YouTube</a>
- <a href="https://amazon.in">Amazon</a>
- <a href="https://mega.nz">Mega</a>
- <a href="https://nyaa.si">Nyaa</a>
- <a href="https://www.youtube.com/playlist?list=PL8lRJQHQWdduy2V0DQQ4Lm0P572XJFVB9">Music</a>
- <a href="https://www.youtube.com/playlist?list=PL8lRJQHQWddu55nsz8CezmJJ-GRVISZ1E">音楽</a>
- <a href="http://localhost:8080">localhost</a>
- <a href="https://colorpicker.me/#5B76B7">color picker</a>
- </span>
- </div>
-</body>
-</html>
diff --git a/.config/startpage/server.go b/.config/startpage/server.go
deleted file mode 100644
index b2eef0c..0000000
--- a/.config/startpage/server.go
+++ /dev/null
@@ -1,22 +0,0 @@
-package main
-
-import (
- "github.com/gin-gonic/gin"
- "net/http"
- "time"
-)
-
-func main() {
- router := gin.New()
- router.LoadHTMLGlob("/home/zt/.config/startpage/index.html")
- router.Static("main", "/home/zt/.config/startpage/")
-
- router.GET("/", func (c *gin.Context) {
- time := time.Now().Format("15:04 02 Jan (Monday)")
- c.HTML(http.StatusOK, "index.html", gin.H{
- "time": time,
- })
- })
-
- router.Run(":8081")
-}