diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a547bf3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,24 @@
+# Logs
+logs
+*.log
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+pnpm-debug.log*
+lerna-debug.log*
+
+node_modules
+dist
+dist-ssr
+*.local
+
+# Editor directories and files
+.vscode/*
+!.vscode/extensions.json
+.idea
+.DS_Store
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.sw?
diff --git a/App.tsx b/App.tsx
new file mode 100644
index 0000000..bf8d272
--- /dev/null
+++ b/App.tsx
@@ -0,0 +1,21 @@
+import React from 'react';
+import { HashRouter as Router, Routes, Route, Navigate } from 'react-router-dom';
+import { SearchPage } from './pages/SearchPage';
+import { DashboardPage } from './pages/DashboardPage';
+import { DetailPage } from './pages/DetailPage';
+
+const App: React.FC = () => {
+ return (
+
+
+ } />
+ } />
+ } />
+ {/* Fallback */}
+ } />
+
+
+ );
+};
+
+export default App;
\ No newline at end of file
diff --git a/README.md b/README.md
index e69de29..ab6a948 100644
--- a/README.md
+++ b/README.md
@@ -0,0 +1,20 @@
+
+

+
+
+# Run and deploy your AI Studio app
+
+This contains everything you need to run your app locally.
+
+View your app in AI Studio: https://ai.studio/apps/drive/1ukYcPlCYB97O2tjajF3GI8pxlmamIjpO
+
+## Run Locally
+
+**Prerequisites:** Node.js
+
+
+1. Install dependencies:
+ `npm install`
+2. Set the `GEMINI_API_KEY` in [.env.local](.env.local) to your Gemini API key
+3. Run the app:
+ `npm run dev`
diff --git a/README_DEPLOY.md b/README_DEPLOY.md
new file mode 100644
index 0000000..c83638d
--- /dev/null
+++ b/README_DEPLOY.md
@@ -0,0 +1,117 @@
+# 部署到自己服务器指南
+
+## ✅ 已完成的优化
+
+### 1. 移除 Tailwind CSS CDN
+- ✅ 已安装 `tailwindcss@^3`、`postcss`、`autoprefixer`
+- ✅ 已创建 `tailwind.config.js` 和 `postcss.config.js`
+- ✅ 已创建 `src/index.css` 并在 `index.tsx` 中导入
+- ✅ 样式会被打包到 `dist/assets/index-*.css`
+
+### 2. 移除 React 相关的 ESM.sh CDN
+- ✅ `package.json` 中已有所有依赖
+- ✅ 移除了 HTML 中的 `
+