From a6db18bcb572772cc96a1ce34718e9bd7fa328f3 Mon Sep 17 00:00:00 2001 From: Steve Y Lin Date: Wed, 13 Aug 2025 12:52:38 +0800 Subject: [PATCH] feat(website): enhance TechStackSection with new icons and improved layout --- website/src/components/TechStackSection.tsx | 653 ++++++++++++-------- 1 file changed, 400 insertions(+), 253 deletions(-) diff --git a/website/src/components/TechStackSection.tsx b/website/src/components/TechStackSection.tsx index a7d5fa8..e43274c 100644 --- a/website/src/components/TechStackSection.tsx +++ b/website/src/components/TechStackSection.tsx @@ -1,5 +1,14 @@ import React from "react"; import { motion } from "framer-motion"; +import { + CameraIcon, + HeartIcon, + ArchiveBoxIcon, + AdjustmentsHorizontalIcon, + ShareIcon, + ChartPieIcon, + TableCellsIcon, +} from "@heroicons/react/24/outline"; import { SiReact, SiTypescript, @@ -10,7 +19,9 @@ import { SiNotion, SiDocker, SiKubernetes, + SiGithub, SiGithubactions, + SiPrometheus, } from "@icons-pack/react-simple-icons"; const TechStackSection: React.FC = () => { @@ -122,10 +133,8 @@ const TechStackSection: React.FC = () => {
{/* 左側漸層遮罩 */}
- {/* 右側漸層遮罩 */}
- {/* 跑馬燈軌道 */}
{ 從前端 React 生態系統到後端 Node.js 微服務架構, 再到容器化部署和 CI/CD 自動化流程,提供企業級的開發體驗。

- - {/* 技術亮點 */} - {/*
-
-
- -
-
-
- 高效能 -
-
- 優化的渲染與快取 -
-
-
-
-
- 🔒 -
-
-
- 安全性 -
-
類型安全驗證
-
-
-
-
- 🚀 -
-
-
- 可擴展 -
-
微服務架構
-
-
-
-
- 📱 -
-
-
- 響應式 -
-
跨平台支援
-
-
-
*/}
- {/* 下半部 - 系統架構示意圖區域 */}
@@ -259,240 +217,429 @@ const TechStackSection: React.FC = () => { backgroundSize: "18px 18px", }} >
- - {/* 系統架構圖 */} -
-

+ {/* 系統架構圖 - 分層式垂直排列 */} +
+

系統架構圖

- - {/* 橫向架構流程 */} -
- {/* 前端層 */} -
-
-
- - +
+ {/* Frontend Layer */} +
+
+ {/* badge 垂直置於頂端正中間,圓弧矩形 */} +
+
+ Frontend Layer +
+
+
+
+ {/* 技術選型 */} +
+
+ + +
+
+ 技術選型 +
+
+ React / TailwindCSS +
+
+ {/* 分隔線 */} +
+ {/* 功能模組 */} +
+ {/* Query Builder */} +
+
+ +
+
+ Query Builder +
+
+ 動態組合查詢 +
+
+ {/* 分享與嵌入功能 */} +
+
+ +
+
+ Shared & Embed +
+
+ 一鍵分享/嵌入 +
+
+ {/* 圖表生成器 */} +
+
+ +
+
+ Chart Viewer +
+
+ ECharts 驅動 +
+
+ {/* 表格檢視器 */} +
+
+ +
+
+ Table Viewer +
+
+ 資料表格展示 +
+
+
+
-
-
- 前端介面 -
-
- React + TypeScript
- - {/* 連接箭頭 1 */} - + {/* Arrow with Gradient Flow */} +
- - {/* 添加箭頭尾巴的動畫線條 */} - - - + + + + + + - {/* API 層 */} -
-
-
- - -
-
-
- 後端服務 -
-
- NestJS + Node.js -
-
+ + + + +
- {/* 連接箭頭 2 */} - - + {/* Shadow */} - {/* 添加箭頭尾巴的動畫線條 */} - - - - {/* 外部服務層 */} -
-
-
- - +
+ {/* Backend Layer */} +
+
+ {/* badge 垂直置於頂端正中間,圓弧矩形 */} +
+
+ Backend Layer +
+
+
+
+ {/* 技術選型 */} +
+
+ + +
+
+ 技術選型 +
+
+ Node.js / NestJS +
+
+
+ {/* 功能模組 */} +
+ {/* Notion API */} +
+
+ +
+
+ Notion API +
+
+ 資料庫與頁面檢索 +
+
+ {/* Snapshot API */} +
+
+ +
+
+ Snapshot API +
+
+ 快照管理 +
+
+ {/* Health API */} +
+
+ +
+
+ Health API +
+
+ 狀態檢查 +
+
+ {/* Metric */} +
+
+ +
+
+ Metric +
+
+ 指標監控 +
+
+
+
-
-
- 外部服務 -
-
- Notion + Charts
- - {/* 連接箭頭 3 */} - + {/* Arrow with Gradient Flow */} +
+ + + + + + + + + + + + + + {/* Shadow */} - {/* 添加箭頭尾巴的動畫線條 */} - - - - {/* 部署層 */} -
-
-
- - +
+ {/* Containerized */} +
+
+ {/* badge 垂直置於頂端正中間,圓弧矩形 */} +
+
+ Containerized +
+
+
+
+ {/* 技術選型 */} +
+
+ + +
+
+ 技術選型 +
+
+ Docker / k8s +
+
+
+ {/* 功能模組 */} +
+ {/* GitHub Actions */} +
+
+ +
+
+ GitHub Actions +
+
+ CI/CD 自動化 +
+
+ {/* Notion API Service */} +
+
+ +
+
+ Docker +
+
+ 建立容器映像檔 +
+
+ {/* 快照儲存系統 */} +
+
+ +
+
+ Container Registry +
+
+ 容器映像檔儲存 +
+
+ {/* Kubernetes */} +
+
+ +
+
+ Kubernetes +
+
+ 雲端部署管理 +
+
+
+
-
- 容器部署 -
-
Docker + K8s