forked from 027xiguapi/code-box
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.tsx
50 lines (47 loc) · 1.25 KB
/
popup.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import { ThemeProvider } from "~theme"
import Content from "./component/content"
import "./index.css"
export default function IndexPopup() {
return (
<ThemeProvider>
<div className="App popup">
<div className="App-header">
<h2 className="title">CodeBox 🎉</h2>
<p className="desc">更方便操作网页代码</p>
</div>
<div className="App-body">
<Content />
</div>
<div className="App-link">
<div className="item">
<a
className="btn"
href="/tabs/history.html"
target="_blank"
rel="noreferrer">
历史记录🕮
</a>
</div>
<div className="item">
<a
className="btn"
href="/options.html"
target="_blank"
rel="noreferrer">
更多设置⚙️
</a>
</div>
<div>
<a
className="btn"
href="https://github.com/027xiguapi/code-box"
target="_blank"
rel="noreferrer">
支持作者更新👍
</a>
</div>
</div>
</div>
</ThemeProvider>
)
}