Skip to content

Commit 87b41b8

Browse files
author
doubleface
committed
feat: Sidebar relooking
1 parent c4c01dd commit 87b41b8

6 files changed

Lines changed: 15 additions & 10 deletions

File tree

src/locales/en.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"Nav": {
3-
"item_drive": "Files",
4-
"item_recent": "Recent",
3+
"item_drive": "My Drive",
4+
"item_recent": "Recents",
55
"item_sharings": "Sharings",
66
"item_shared": "Shared by me",
77
"item_activity": "Activity",
8-
"item_trash": "Trash",
8+
"item_trash": "Bin",
99
"item_settings": "Settings",
1010
"item_collect": "Administrative",
1111
"item_shared_drives": "Shared drives",

src/locales/fr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Nav": {
3-
"item_drive": "Fichiers",
3+
"item_drive": "Mon Drive",
44
"item_recent": "Récents",
55
"item_sharings": "Partages",
66
"item_shared": "Partagés",

src/locales/ru.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Nav": {
3-
"item_drive": "Файлы",
3+
"item_drive": "Мой диск",
44
"item_recent": "Недавние",
55
"item_sharings": "Общие",
66
"item_shared": "Мои отправленные файлы",

src/locales/vi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Nav": {
3-
"item_drive": "Tệp",
3+
"item_drive": "Ổ đĩa của tôi",
44
"item_recent": "Gần đây",
55
"item_sharings": "Chia sẻ",
66
"item_shared": "Chia sẻ bởi tôi",

src/modules/navigation/FavoriteListItem.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,12 @@ const FavoriteListItem: FC<FavoriteListItemProps> = ({
5050
onClick={(): void => setLastClicked(undefined)}
5151
>
5252
<NavIcon icon={ItemIcon} />
53-
<Typography variant="inherit" color="inherit" noWrap>
53+
<Typography
54+
className="u-fz-small"
55+
variant="inherit"
56+
color="inherit"
57+
noWrap
58+
>
5459
{filename}
5560
</Typography>
5661
</FileLink>

src/modules/navigation/Nav.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from 'react'
22

33
import Icon from 'cozy-ui/transpiled/react/Icon'
4-
import ClockIcon from 'cozy-ui/transpiled/react/Icons/Clock'
5-
import FolderIcon from 'cozy-ui/transpiled/react/Icons/Folder'
4+
import ClockIcon from 'cozy-ui/transpiled/react/Icons/ClockOutline'
5+
import CloudIcon from 'cozy-ui/transpiled/react/Icons/Cloud2'
66
import StarIcon from 'cozy-ui/transpiled/react/Icons/Star'
77
import TrashIcon from 'cozy-ui/transpiled/react/Icons/Trash'
88
import UINav from 'cozy-ui/transpiled/react/Nav'
@@ -22,7 +22,7 @@ export const Nav = () => {
2222
<UINav>
2323
<NavItem
2424
to="/folder"
25-
icon={<Icon icon={FolderIcon} />}
25+
icon={<Icon icon={CloudIcon} />}
2626
label="drive"
2727
rx={/\/(folder|nextcloud)(\/.*)?/}
2828
clickState={clickState}

0 commit comments

Comments
 (0)