Skip to content

Commit 6332848

Browse files
committed
add website
1 parent d10bef0 commit 6332848

27 files changed

+4908
-2
lines changed

.gitignore

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
# Dependency directories
11+
node_modules
12+
.pnpm-store/
13+
14+
# Build outputs
15+
dist
16+
dist-ssr
17+
*.local
18+
.vite/
19+
20+
# Local env files
21+
.env
22+
.env.local
23+
.env.*.local
24+
25+
# Editor directories and files
26+
.vscode/*
27+
!.vscode/extensions.json
28+
!.vscode/settings.json
29+
.idea
30+
.DS_Store
31+
*.suo
32+
*.ntvs*
33+
*.njsproj
34+
*.sln
35+
*.sw?
36+
37+
# Coverage directory used by tools like istanbul
38+
coverage
39+
40+
# Cache directories
41+
.npm
42+
.eslintcache
43+
.stylelintcache
44+
45+
# Optional: Uncomment if using Cypress for testing
46+
# cypress/videos/
47+
# cypress/screenshots/

.gitlab-ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
image: node:22
2+
3+
stages:
4+
- pages
5+
6+
pages:
7+
stage: pages
8+
before_script:
9+
- corepack enable
10+
- corepack prepare pnpm@latest-9 --activate
11+
- pnpm config set store-dir .pnpm-store
12+
script:
13+
- pnpm install # install dependencies
14+
- pnpm run build --base=/fire-web/
15+
- rm -rf public/*
16+
- cp -a dist/. public/
17+
cache:
18+
key:
19+
files:
20+
- pnpm-lock.yaml
21+
paths:
22+
- .pnpm-store
23+
artifacts:
24+
paths:
25+
- public

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Computer Use Agents
3+
Copyright (c) 2025 dart-gui
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# dart-gui
1+
# dart-gui.github.io

change_color.py

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
def replace_colors_in_vue(input_file, output_file):
2+
"""
3+
将Vue文件中的蓝色系配色替换为紫色系
4+
"""
5+
6+
# 定义所有需要替换的颜色映射
7+
color_replacements = [
8+
# 主要颜色替换
9+
('#1a237e', '#4a148c'), # 深紫色,用于标题
10+
11+
# 链接和强调色
12+
('#1976d2', '#7b1fa2'), # 主紫色
13+
('#1565c0', '#6a1b9a'), # 深一点的紫色,hover状态
14+
('#0d47a1', '#4a148c'), # 更深的紫色,hover状态
15+
16+
# 浅色背景和边框
17+
('#90caf9', '#ce93d8'), # 浅紫色,用于边框
18+
('#64b5f6', '#ba68c8'), # 渐变色的浅端
19+
('#42a5f5', '#ab47bc'), # hover渐变的浅端
20+
21+
# 背景色调整
22+
('#e3f0fc', '#f3e5f5'), # 很浅的紫色背景
23+
('#e3f2fd', '#f3e5f5'), # 图标颜色
24+
('#e3eaf2', '#e1bee7'), # 边框色
25+
26+
# 阴影颜色调整
27+
('rgba(25, 118, 210, 0.04)', 'rgba(123, 31, 162, 0.04)'),
28+
('rgba(25, 118, 210, 0.06)', 'rgba(123, 31, 162, 0.06)'),
29+
('rgba(25, 118, 210, 0.08)', 'rgba(123, 31, 162, 0.08)'),
30+
('rgba(25, 118, 210, 0.13)', 'rgba(123, 31, 162, 0.13)'),
31+
('rgba(25, 118, 210, 0.18)', 'rgba(123, 31, 162, 0.18)'),
32+
33+
# 渐变调整
34+
('linear-gradient(90deg, #1976d2 0%, #64b5f6 100%)',
35+
'linear-gradient(90deg, #7b1fa2 0%, #ba68c8 100%)'),
36+
('linear-gradient(90deg, #1565c0 0%, #42a5f5 100%)',
37+
'linear-gradient(90deg, #6a1b9a 0%, #ab47bc 100%)'),
38+
]
39+
40+
# 读取输入文件
41+
try:
42+
with open(input_file, 'r', encoding='utf-8') as f:
43+
content = f.read()
44+
except FileNotFoundError:
45+
print(f"错误:找不到输入文件 {input_file}")
46+
return
47+
except Exception as e:
48+
print(f"读取文件时出错:{e}")
49+
return
50+
51+
# 执行所有替换
52+
replaced_count = 0
53+
for old_color, new_color in color_replacements:
54+
count = content.count(old_color)
55+
if count > 0:
56+
content = content.replace(old_color, new_color)
57+
replaced_count += count
58+
print(f"替换 {old_color} -> {new_color} ({count} 处)")
59+
60+
# 写入输出文件
61+
try:
62+
with open(output_file, 'w', encoding='utf-8') as f:
63+
f.write(content)
64+
print(f"\n✅ 成功!总共替换了 {replaced_count} 处颜色")
65+
print(f"新文件已保存到:{output_file}")
66+
except Exception as e:
67+
print(f"写入文件时出错:{e}")
68+
return
69+
70+
# 使用示例
71+
if __name__ == "__main__":
72+
# 设置输入和输出文件路径
73+
input_vue_file = "D:\科研\ICLR2026\dart\src\components\Main.vue" # 替换为你的原始Vue文件路径
74+
output_vue_file = "D:\科研\ICLR2026\dart\src\components\Main_alt.vue" # 输出的紫色主题Vue文件
75+
76+
# 执行颜色替换
77+
replace_colors_in_vue(input_vue_file, output_vue_file)
78+
79+
print("\n提示:请将你的Vue代码保存为 'original.vue' 文件,")
80+
print("然后运行这个脚本,会生成 'purple_theme.vue' 文件")

index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" href="./icon.png" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title> Efficient Multi-turn RL for GUI Agents via Decoupled Training and Adaptive Data Curation </title>
8+
</head>
9+
<body>
10+
<div id="app"></div>
11+
<script type="module" src="/src/main.js"></script>
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)