mirror of
https://github.com/hamster1963/HomeDash-Backend.git
synced 2025-06-19 21:51:21 +08:00
update: 初始化代码提交
This commit is contained in:
33
internal/global/g_index/index.go
Normal file
33
internal/global/g_index/index.go
Normal file
@ -0,0 +1,33 @@
|
||||
package g_index
|
||||
|
||||
const IndexHTML = `
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<title>仓鼠咖啡馆</title>
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
height: 100vh;
|
||||
background-image: url('https://s2.loli.net/2023/05/16/Nyaxz3QrsSKmvHE.jpg');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
.text {
|
||||
font-family: Arial, sans-serif;
|
||||
font-size: 24px;
|
||||
color: white;
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
padding: 10px 20px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="text">仓鼠咖啡馆</div>
|
||||
</body>
|
||||
</html>
|
||||
`
|
Reference in New Issue
Block a user