mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-28 14:16:41 +07:00
fixed lab header colors
This commit is contained in:
parent
26a061026f
commit
61326f237f
8 changed files with 63 additions and 18 deletions
|
@ -18,6 +18,7 @@ const LabHead: FC<IProps> = ({ isLoading }) => {
|
|||
<Group className={styles.wrap} horizontal>
|
||||
<div className={styles.group}>
|
||||
<LabHeadItem
|
||||
color="green"
|
||||
icon="recent"
|
||||
active={sort === LabNodesSort.New}
|
||||
isLoading={isLoading}
|
||||
|
@ -27,6 +28,7 @@ const LabHead: FC<IProps> = ({ isLoading }) => {
|
|||
</LabHeadItem>
|
||||
|
||||
<LabHeadItem
|
||||
color="orange"
|
||||
icon="hot"
|
||||
active={sort === LabNodesSort.Hot}
|
||||
isLoading={isLoading}
|
||||
|
@ -34,6 +36,16 @@ const LabHead: FC<IProps> = ({ isLoading }) => {
|
|||
>
|
||||
Популярные
|
||||
</LabHeadItem>
|
||||
|
||||
<LabHeadItem
|
||||
color="yellow"
|
||||
icon="star_full"
|
||||
isLoading={isLoading}
|
||||
active={sort === LabNodesSort.Heroic}
|
||||
onClick={() => setSort(LabNodesSort.Heroic)}
|
||||
>
|
||||
Важные
|
||||
</LabHeadItem>
|
||||
</div>
|
||||
</Group>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue