-
Notifications
You must be signed in to change notification settings - Fork 0
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
20 changed files
with
21,359 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,57 @@ | ||
{ | ||
"name": "my-website", | ||
"version": "1.0.0", | ||
"description": "A personal website", | ||
"main": "index.js", | ||
"scripts": { | ||
"start": "react-scripts start", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test", | ||
"eject": "react-scripts eject" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@fortawesome/fontawesome-svg-core": "^6.5.2", | ||
"@fortawesome/free-brands-svg-icons": "^6.5.2", | ||
"@fortawesome/free-solid-svg-icons": "^6.5.2", | ||
"@fortawesome/react-fontawesome": "^0.2.2", | ||
"@types/react": "^18.3.3", | ||
"@types/react-dom": "^18.3.0", | ||
"autoprefixer": "^10.4.19", | ||
"axios": "^1.7.2", | ||
"crypto-browserify": "^3.12.0", | ||
"dotenv": "^16.4.5", | ||
"os-browserify": "^0.3.0", | ||
"path-browserify": "^1.0.1", | ||
"postcss": "^8.4.38", | ||
"react": "^18.3.1", | ||
"react-app-rewired": "^2.2.1", | ||
"react-dom": "^18.3.1", | ||
"react-router-dom": "^6.24.1", | ||
"react-scripts": "^5.0.1", | ||
"react-simple-typewriter": "^5.0.1", | ||
"shadcn-ui": "^0.2.3", | ||
"tailwindcss": "^3.4.4", | ||
"typescript": "^4.9.5", | ||
"web-vitals": "^4.2.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/plugin-proposal-private-property-in-object": "^7.14.5", | ||
"@types/axios": "^0.14.0", | ||
"dotenv-webpack": "^8.1.0" | ||
}, | ||
"browserslist": { | ||
"production": [ | ||
">0.2%", | ||
"not dead", | ||
"not op_mini all" | ||
], | ||
"development": [ | ||
"last 1 chrome version", | ||
"last 1 firefox version", | ||
"last 1 safari version" | ||
] | ||
} | ||
} |
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,6 @@ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} |
Binary file not shown.
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,28 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh-CN"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>LittleSheep Minecraft服务器</title> | ||
|
||
<!-- SEO Meta Tags --> | ||
<meta name="description" content="LittleSheep Minecraft Server - 探索机械工艺的无限可能,与朋友们一起创造和冒险。"> | ||
<meta name="keywords" content="Minecraft, 机械工艺, LittleSheep, 服务器, 游戏"> | ||
<meta name="author" content="LittleSheep的Minecraft服务器"> | ||
|
||
<!-- Favicon --> | ||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico"> | ||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png"> | ||
|
||
<!-- Manifest --> | ||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json"> | ||
|
||
<!-- CSS and Fonts --> | ||
<link href="https://cdn.jsdelivr.net/npm/misans@4.0.0/lib/Normal/MiSans-Medium.min.css" rel="stylesheet"> | ||
</head> | ||
<body> | ||
<noscript>您需要启用JavaScript来运行此应用程序。</noscript> | ||
<div id="root"></div> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,21 @@ | ||
{ | ||
"short_name": "LMS Server", | ||
"name": "LittleSheep Minecraft Server", | ||
"icons": [ | ||
{ | ||
"src": "favicon.ico", | ||
"sizes": "64x64 32x32 24x24 16x16", | ||
"type": "image/x-icon" | ||
}, | ||
{ | ||
"src": "logo192.png", | ||
"type": "image/png", | ||
"sizes": "192x192" | ||
} | ||
], | ||
"start_url": ".", | ||
"display": "standalone", | ||
"theme_color": "#000000", | ||
"background_color": "#ffffff" | ||
} | ||
|
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,72 @@ | ||
.admin-page.leave, .admin-page.login { | ||
animation: fadeOut 0.5s forwards; | ||
} | ||
|
||
@keyframes fadeOut { | ||
from { | ||
opacity: 1; | ||
transform: translateY(0); | ||
} | ||
to { | ||
opacity: 0; | ||
transform: translateY(20px); | ||
} | ||
} | ||
|
||
.loading-overlay { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
background: rgba(255, 255, 255, 0.8); | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
z-index: 10000; | ||
} | ||
|
||
.login-container { | ||
width: 100%; | ||
max-width: 400px; | ||
padding: 2rem; | ||
border-radius: 8px; | ||
background: #fff; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.login-container h1 { | ||
font-size: 1.75rem; | ||
margin-bottom: 1.5rem; | ||
text-align: center; | ||
} | ||
|
||
.login-container input[type="password"] { | ||
width: 100%; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.password-input { | ||
width: 100%; /* 增加密码输入框的宽度 */ | ||
} | ||
|
||
.button-full-width { | ||
width: 100%; /* 使按钮宽度占满父容器 */ | ||
} | ||
|
||
.login-container label { | ||
font-size: 0.875rem; | ||
color: #4a4a4a; | ||
} | ||
|
||
.admin-form { | ||
padding: 2rem; | ||
} | ||
|
||
.admin-form .border { | ||
margin-bottom: 0.1rem; | ||
} | ||
|
||
.title-text{ | ||
margin-top: 45px; | ||
} |
Oops, something went wrong.