feat: add SproutWorkCollect apps
This commit is contained in:
15
SproutWorkCollect-Frontend/public/.htaccess
Normal file
15
SproutWorkCollect-Frontend/public/.htaccess
Normal file
@@ -0,0 +1,15 @@
|
||||
# Apache配置 - SPA路由支持
|
||||
Options -MultiViews
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^ index.html [QSA,L]
|
||||
|
||||
# 大文件上传支持
|
||||
# 注意:这些配置可能需要服务器级别的权限才能生效
|
||||
# 如果遇到问题,请联系服务器管理员
|
||||
<IfModule mod_php.c>
|
||||
php_value upload_max_filesize 500M
|
||||
php_value post_max_size 500M
|
||||
php_value max_execution_time 300
|
||||
php_value max_input_time 300
|
||||
</IfModule>
|
||||
2
SproutWorkCollect-Frontend/public/_redirects
Normal file
2
SproutWorkCollect-Frontend/public/_redirects
Normal file
@@ -0,0 +1,2 @@
|
||||
# Netlify redirects for SPA
|
||||
/* /index.html 200
|
||||
BIN
SproutWorkCollect-Frontend/public/assets/favicon.ico
Normal file
BIN
SproutWorkCollect-Frontend/public/assets/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 112 KiB |
BIN
SproutWorkCollect-Frontend/public/assets/logo.png
Normal file
BIN
SproutWorkCollect-Frontend/public/assets/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 MiB |
34
SproutWorkCollect-Frontend/public/index.html
Normal file
34
SproutWorkCollect-Frontend/public/index.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" type="image/png" href="%PUBLIC_URL%/assets/icon.png" />
|
||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/assets/icon.png" />
|
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.webmanifest" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#81c784" />
|
||||
<meta name="description" content="树萌芽の作品集 - 展示我的创意作品和项目" />
|
||||
<title>树萌芽の作品集</title>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
||||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
||||
sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
background: linear-gradient(135deg, #e8f5e8 0%, #f1f8e9 100%);
|
||||
min-height: 100vh;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>您需要启用JavaScript来运行此应用程序。</noscript>
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
27
SproutWorkCollect-Frontend/public/manifest.webmanifest
Normal file
27
SproutWorkCollect-Frontend/public/manifest.webmanifest
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "萌芽作品集",
|
||||
"short_name": "萌芽作品集",
|
||||
"lang": "zh-CN",
|
||||
"start_url": ".",
|
||||
"scope": ".",
|
||||
"display": "standalone",
|
||||
"orientation": "any",
|
||||
"background_color": "#e8f5e9",
|
||||
"theme_color": "#81c784",
|
||||
"description": "展示个人制作的一些小创意和小项目,支持安装到桌面使用。",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/assets/icon.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "/assets/icon.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "any maskable"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user