Skip to content

Commit 28d50dc

Browse files
committed
feat(headerBar): fix style
1 parent 5a7f8f9 commit 28d50dc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/components/Home/Nav/HeaderBar/info.tsx renamed to app/components/Home/Nav/HeaderBar/Modal.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Icon } from '@iconify/react/dist/iconify.js';
22
import React from 'react';
33

4-
const Info: React.FC = () => {
4+
const Modal: React.FC = () => {
55
return (
66
<div
77
id="header-info"
@@ -17,4 +17,4 @@ const Info: React.FC = () => {
1717
);
1818
};
1919

20-
export default Info;
20+
export default Modal;

app/components/Home/Nav/HeaderBar/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import ChanLink from '@/components/Partial/ChanLink';
44
import styles from './headerBar.module.scss';
5-
import Info from './Info';
65
import Search from './Search';
6+
import Modal from './Modal';
77

88
const links = [
99
{ name: '主页', href: '/' },
@@ -28,7 +28,7 @@ const HeaderBar: React.FC = () => {
2828
})}
2929
</nav>
3030
<Search></Search>
31-
<Info></Info>
31+
<Modal></Modal>
3232
</header>
3333
);
3434
};

0 commit comments

Comments
 (0)