Spaces:
Paused
Paused
muxi feng commited on
Commit ·
1d5e404
1
Parent(s): 3444669
修改用户信息界面样式和按钮贴图
Browse files- app/components/sidebar.tsx +2 -1
- app/components/user.module.scss +1 -0
- app/icons/user.svg +15 -0
app/components/sidebar.tsx
CHANGED
|
@@ -5,6 +5,7 @@ import styles from "./home.module.scss";
|
|
| 5 |
import { IconButton } from "./button";
|
| 6 |
import SettingsIcon from "../icons/settings.svg";
|
| 7 |
import GithubIcon from "../icons/github.svg";
|
|
|
|
| 8 |
import ChatGptIcon from "../icons/chatgpt.svg";
|
| 9 |
import AddIcon from "../icons/add.svg";
|
| 10 |
import CloseIcon from "../icons/close.svg";
|
|
@@ -175,7 +176,7 @@ export function SideBar(props: { className?: string }) {
|
|
| 175 |
</div>
|
| 176 |
<div className={styles["sidebar-action"]}>
|
| 177 |
<Link to={Path.User}>
|
| 178 |
-
<IconButton icon={<
|
| 179 |
</Link>
|
| 180 |
</div>
|
| 181 |
</div>
|
|
|
|
| 5 |
import { IconButton } from "./button";
|
| 6 |
import SettingsIcon from "../icons/settings.svg";
|
| 7 |
import GithubIcon from "../icons/github.svg";
|
| 8 |
+
import User from "../icons/user.svg";
|
| 9 |
import ChatGptIcon from "../icons/chatgpt.svg";
|
| 10 |
import AddIcon from "../icons/add.svg";
|
| 11 |
import CloseIcon from "../icons/close.svg";
|
|
|
|
| 176 |
</div>
|
| 177 |
<div className={styles["sidebar-action"]}>
|
| 178 |
<Link to={Path.User}>
|
| 179 |
+
<IconButton icon={<User />} shadow />
|
| 180 |
</Link>
|
| 181 |
</div>
|
| 182 |
</div>
|
app/components/user.module.scss
CHANGED
|
@@ -9,6 +9,7 @@
|
|
| 9 |
background-color: var(--white);
|
| 10 |
color: var(--black);
|
| 11 |
text-align: right;
|
|
|
|
| 12 |
}
|
| 13 |
|
| 14 |
.kamicode{
|
|
|
|
| 9 |
background-color: var(--white);
|
| 10 |
color: var(--black);
|
| 11 |
text-align: right;
|
| 12 |
+
max-width: 137px;
|
| 13 |
}
|
| 14 |
|
| 15 |
.kamicode{
|
app/icons/user.svg
ADDED
|
|