Skip to content

Commit 60e8de5

Browse files
committed
新增提示词工程指南的超链接
1 parent a1f0efd commit 60e8de5

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

index.html

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,47 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Prompt Tools - 提示词管理器</title>
88
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
9+
<style>
10+
.header-links {
11+
display: flex;
12+
align-items: center;
13+
gap: 0.5rem;
14+
margin-right: 1rem;
15+
}
16+
17+
.header-link {
18+
display: flex;
19+
align-items: center;
20+
justify-content: center;
21+
width: 32px;
22+
height: 32px;
23+
border-radius: 6px;
24+
color: #666;
25+
text-decoration: none;
26+
transition: all 0.2s ease;
27+
background: transparent;
28+
}
29+
30+
.header-link:hover {
31+
background: #f0f0f0;
32+
color: #333;
33+
text-decoration: none;
34+
}
35+
36+
.header-link i {
37+
font-size: 14px;
38+
}
39+
40+
/* 暗色主题适配 */
41+
.theme-dark .header-link {
42+
color: #ccc;
43+
}
44+
45+
.theme-dark .header-link:hover {
46+
background: #333;
47+
color: #fff;
48+
}
49+
</style>
950
</head>
1051

1152
<body class="theme-light">
@@ -131,6 +172,16 @@
131172
</div>
132173

133174
<div class="header-right">
175+
<!-- 链接区域 -->
176+
<div class="header-links">
177+
<a href="https://www.promptingguide.ai/zh" target="_blank" class="header-link" title="提示词工程指南">
178+
<i class="fas fa-book"></i>
179+
</a>
180+
<a href="https://github.com/jwangkun/Prompt-Tools" target="_blank" class="header-link" title="项目仓库">
181+
<i class="fab fa-github"></i>
182+
</a>
183+
</div>
184+
134185
<button id="createBtn" class="btn btn-primary">
135186
<i class="fas fa-plus"></i>
136187
创建提示词
@@ -335,6 +386,7 @@ <h2 id="detailTitle">提示词详情</h2>
335386
</div>
336387
</div>
337388

389+
338390
<script type="module" src="/src/main.ts"></script>
339391
</body>
340392
</html>

0 commit comments

Comments
 (0)