Skip to content

Commit c7e9e88

Browse files
authored
migrate about modal to use tailwind (#2275)
1 parent d2730b2 commit c7e9e88

File tree

2 files changed

+8
-75
lines changed

2 files changed

+8
-75
lines changed

frontend/app/modals/about.scss

Lines changed: 0 additions & 66 deletions
This file was deleted.

frontend/app/modals/about.tsx

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { Modal } from "./modal";
88
import { isDev } from "@/util/isdev";
99
import { useState } from "react";
1010
import { getApi } from "../store/global";
11-
import "./about.scss";
1211

1312
interface AboutModalProps {}
1413

@@ -18,24 +17,24 @@ const AboutModal = ({}: AboutModalProps) => {
1817
const [updaterChannel] = useState(() => getApi().getUpdaterChannel());
1918

2019
return (
21-
<Modal className="about-modal" onClose={() => modalsModel.popModal()}>
22-
<div className="section-wrapper">
23-
<div className="section logo-section">
20+
<Modal className="pb-[34px]" onClose={() => modalsModel.popModal()}>
21+
<div className="flex flex-col gap-[26px] w-full">
22+
<div className="flex flex-col items-center justify-center gap-4 self-stretch w-full text-center">
2423
<Logo />
25-
<div className="app-name">Wave Terminal</div>
26-
<div className="text-standard">
24+
<div className="text-[25px]">Wave Terminal</div>
25+
<div className="leading-5">
2726
Open-Source AI-Native Terminal
2827
<br />
2928
Built for Seamless Workflows
3029
</div>
3130
</div>
32-
<div className="section text-standard">
31+
<div className="items-center gap-4 self-stretch w-full text-center">
3332
Client Version {details.version} ({isDev() ? "dev-" : ""}
3433
{details.buildTime})
3534
<br />
3635
Update Channel: {updaterChannel}
3736
</div>
38-
<div className="section links">
37+
<div className="flex items-start gap-[10px] self-stretch w-full text-center">
3938
<a
4039
href="https://github.com/wavetermdev/waveterm"
4140
target="_blank"
@@ -61,7 +60,7 @@ const AboutModal = ({}: AboutModalProps) => {
6160
<i className="fa-sharp fa-light fa-heart mr-2"></i>Acknowledgements
6261
</a>
6362
</div>
64-
<div className="section text-standard">&copy; {currentDate.getFullYear()} Command Line Inc.</div>
63+
<div className="items-center gap-4 self-stretch w-full text-center">&copy; {currentDate.getFullYear()} Command Line Inc.</div>
6564
</div>
6665
</Modal>
6766
);

0 commit comments

Comments
 (0)