From 80fc87b177e796cc36801fe24c21aa69e932b20c Mon Sep 17 00:00:00 2001 From: S-N-O-R-L-A-X Date: Sun, 7 May 2023 23:33:56 +0800 Subject: [PATCH] refactor --- src/components/Header/Octocat.tsx | 3 ++- src/components/Profile/Profile.tsx | 9 ++------- src/components/Sidebar/Sidebar.tsx | 13 ++++++------- 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/src/components/Header/Octocat.tsx b/src/components/Header/Octocat.tsx index 4d3b346..71f343b 100644 --- a/src/components/Header/Octocat.tsx +++ b/src/components/Header/Octocat.tsx @@ -6,6 +6,7 @@ export default function Octocat() { - + + ); } \ No newline at end of file diff --git a/src/components/Profile/Profile.tsx b/src/components/Profile/Profile.tsx index 3239665..eef0339 100644 --- a/src/components/Profile/Profile.tsx +++ b/src/components/Profile/Profile.tsx @@ -1,16 +1,11 @@ import Label from "../Label/Label"; - -import { Icon } from "@ui5/webcomponents-react"; -import "@ui5/webcomponents-icons/dist/email"; import github_mark from "../../assets/github-mark.png"; export default function Profile() { return ( <> - snorlax.xu@outlook.com -
- S-N-O-R-L-A-X -
+ ✉️snorlax.xu@outlook.com
+ S-N-O-R-L-A-X
diff --git a/src/components/Sidebar/Sidebar.tsx b/src/components/Sidebar/Sidebar.tsx index c526b0b..7dc2770 100644 --- a/src/components/Sidebar/Sidebar.tsx +++ b/src/components/Sidebar/Sidebar.tsx @@ -20,15 +20,13 @@ export default function Sidebar() {
- } + fixedItems={<> + + + } onSelectionChange={navigate} > - - + +