Skip to content

Commit 7d2c3a3

Browse files
authored
update modal buttons (#1993)
1 parent 8d9e4b8 commit 7d2c3a3

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

frontend/app/modals/about.tsx

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
import Logo from "@/app/asset/logo.svg";
5-
import { LinkButton } from "@/app/element/linkbutton";
65
import { modalsModel } from "@/app/store/modalmodel";
76
import { Modal } from "./modal";
87

@@ -37,24 +36,30 @@ const AboutModal = ({}: AboutModalProps) => {
3736
Update Channel: {updaterChannel}
3837
</div>
3938
<div className="section links">
40-
<LinkButton
41-
className="secondary solid"
39+
<a
4240
href="https://github.com/wavetermdev/waveterm"
4341
target="_blank"
42+
rel="noopener"
43+
className="inline-flex items-center px-4 py-2 rounded border border-border hover:bg-hoverbg transition-colors duration-200"
4444
>
45-
<i className="fa-brands fa-github"></i>Github
46-
</LinkButton>
47-
<LinkButton className="secondary solid" href="https://www.waveterm.dev/" target="_blank">
48-
<i className="fa-sharp fa-light fa-globe"></i>Website
49-
</LinkButton>
50-
<LinkButton
51-
className="secondary solid"
45+
<i className="fa-brands fa-github mr-2"></i>Github
46+
</a>
47+
<a
48+
href="https://www.waveterm.dev/"
49+
target="_blank"
50+
rel="noopener"
51+
className="inline-flex items-center px-4 py-2 rounded border border-border hover:bg-hoverbg transition-colors duration-200"
52+
>
53+
<i className="fa-sharp fa-light fa-globe mr-2"></i>Website
54+
</a>
55+
<a
5256
href="https://github.com/wavetermdev/waveterm/blob/main/ACKNOWLEDGEMENTS.md"
5357
target="_blank"
54-
rel={"noopener"}
58+
rel="noopener"
59+
className="inline-flex items-center px-4 py-2 rounded border border-border hover:bg-hoverbg transition-colors duration-200"
5560
>
56-
<i className="fa-sharp fa-light fa-heart"></i>Acknowledgements
57-
</LinkButton>
61+
<i className="fa-sharp fa-light fa-heart mr-2"></i>Acknowledgements
62+
</a>
5863
</div>
5964
<div className="section text-standard">&copy; {currentDate.getFullYear()} Command Line Inc.</div>
6065
</div>

0 commit comments

Comments
 (0)