mirror of
https://github.com/hamster1963/HomeDash-Backend.git
synced 2025-06-16 12:11:22 +08:00
34 lines
787 B
Go
34 lines
787 B
Go
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>
|
|
`
|