-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
272 additions
and
261 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,6 @@ import "embed" | |
|
||
//go:embed frontend/* | ||
var PublicFS embed.FS | ||
|
||
//go:embed website/* | ||
var WebsiteFS embed.FS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<html lang="zh-CN"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>404 Not Found</title> | ||
<style> | ||
body { | ||
background-color: #f9f9f9; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
.container { | ||
max-width: 800px; | ||
margin: 2em auto; | ||
background-color: #ffffff; | ||
padding: 20px; | ||
border-radius: 12px; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
} | ||
h1 { | ||
font-size: 2.5em; | ||
margin-top: 0; | ||
margin-bottom: 20px; | ||
text-align: center; | ||
color: #333; | ||
border-bottom: 2px solid #ddd; | ||
padding-bottom: 0.5em; | ||
} | ||
p { | ||
color: #555; | ||
line-height: 1.8; | ||
text-align: center; | ||
} | ||
a { | ||
text-decoration: none; | ||
color: #007bff; | ||
} | ||
@media screen and (max-width: 768px) { | ||
.container { | ||
padding: 15px; | ||
margin: 2em 15px; | ||
} | ||
h1 { | ||
font-size: 1.8em; | ||
} | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>404 Not Found</h1> | ||
<p>由 <a target="_blank" href="https://panel.haozi.net">耗子面板</a> 强力驱动</p> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh-CN"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>耗子面板</title> | ||
<style> | ||
body { | ||
background-color: #f9f9f9; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
.container { | ||
max-width: 800px; | ||
margin: 2em auto; | ||
background-color: #ffffff; | ||
padding: 20px; | ||
border-radius: 12px; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
} | ||
h1 { | ||
font-size: 2.5em; | ||
margin-top: 0; | ||
margin-bottom: 20px; | ||
text-align: center; | ||
color: #333; | ||
border-bottom: 2px solid #ddd; | ||
padding-bottom: 0.5em; | ||
} | ||
p { | ||
color: #555; | ||
line-height: 1.8; | ||
text-align: center; | ||
} | ||
a { | ||
text-decoration: none; | ||
color: #007bff; | ||
} | ||
@media screen and (max-width: 768px) { | ||
.container { | ||
padding: 15px; | ||
margin: 2em 15px; | ||
} | ||
h1 { | ||
font-size: 1.8em; | ||
} | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>耗子面板</h1> | ||
<p>这是耗子面板的网站默认页面!</p> | ||
<p>当您看到此页面,说明您的网站已创建成功。</p> | ||
<p>由 <a target="_blank" href="https://panel.haozi.net">耗子面板</a> 强力驱动</p> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.