feat: 初始化 Figma 模板库 56 套展示站

- 56 套模板元数据(35 Figma 原生 + 21 非 Figma)
- 静态展示站 (HTML/CSS/JS 无框架):格式筛选、lightbox、搜索
- 35 个 .fig 已真上传 Figma Drafts 云端
- iframe 实时投射(登录态可看私有 Drafts)
- 部署:nginx:alpine + basic-auth (kang)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
kang
2026-04-22 15:31:45 +08:00
commit ee719d07cc
289 changed files with 4016 additions and 0 deletions

39
nginx.conf Normal file
View File

@@ -0,0 +1,39 @@
worker_processes auto;
events { worker_connections 1024; }
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
gzip on;
gzip_types text/plain text/css application/javascript application/json image/svg+xml;
gzip_min_length 1024;
server {
listen 80 default_server;
server_name _;
root /usr/share/nginx/html;
index index.html;
auth_basic "Figma 模板库";
auth_basic_user_file /etc/nginx/.htpasswd;
# cache immutable assets
location ~* \.(jpg|jpeg|png|gif|webp|svg|woff2?|ttf|eot)$ {
expires 30d;
add_header Cache-Control "public, immutable";
}
location ~* \.(css|js)$ {
expires 7d;
}
location ~* \.json$ {
add_header Cache-Control "no-cache";
}
location / {
try_files $uri $uri/ =404;
}
}
}