整理项目架构
This commit is contained in:
15
SmyWorkCollect-Frontend/public/.htaccess
Normal file
15
SmyWorkCollect-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
SmyWorkCollect-Frontend/public/_redirects
Normal file
2
SmyWorkCollect-Frontend/public/_redirects
Normal file
@@ -0,0 +1,2 @@
|
||||
# Netlify redirects for SPA
|
||||
/* /index.html 200
|
||||
BIN
SmyWorkCollect-Frontend/public/assets/logo.png
Normal file
BIN
SmyWorkCollect-Frontend/public/assets/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
26
SmyWorkCollect-Frontend/public/assets/logo.svg
Normal file
26
SmyWorkCollect-Frontend/public/assets/logo.svg
Normal file
@@ -0,0 +1,26 @@
|
||||
<svg width="120" height="60" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<linearGradient id="logoGradient" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" style="stop-color:#81c784;stop-opacity:1" />
|
||||
<stop offset="100%" style="stop-color:#66bb6a;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
|
||||
<!-- 背景圆角矩形 -->
|
||||
<rect x="0" y="0" width="120" height="60" rx="10" ry="10" fill="url(#logoGradient)"/>
|
||||
|
||||
<!-- 树的主干 -->
|
||||
<rect x="55" y="35" width="10" height="20" fill="#4a4a4a"/>
|
||||
|
||||
<!-- 树叶/树冠 -->
|
||||
<circle cx="45" cy="25" r="12" fill="#2e7d32"/>
|
||||
<circle cx="60" cy="20" r="15" fill="#388e3c"/>
|
||||
<circle cx="75" cy="25" r="12" fill="#2e7d32"/>
|
||||
|
||||
<!-- 萌芽 -->
|
||||
<circle cx="35" cy="30" r="4" fill="#a5d6a7"/>
|
||||
<circle cx="85" cy="28" r="4" fill="#a5d6a7"/>
|
||||
|
||||
<!-- 文字 -->
|
||||
<text x="60" y="52" text-anchor="middle" font-family="Arial, sans-serif" font-size="8" fill="white" font-weight="bold">树萌芽</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 994 B |
32
SmyWorkCollect-Frontend/public/index.html
Normal file
32
SmyWorkCollect-Frontend/public/index.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
||||
<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>
|
||||
Reference in New Issue
Block a user