feat: new icons (#5412)

This commit is contained in:
zxhlyh
2024-06-20 11:05:08 +08:00
committed by GitHub
parent 0105129fa8
commit 2328ed8ffa
338 changed files with 880 additions and 3669 deletions

View File

@@ -4,7 +4,10 @@ import { useTranslation } from 'react-i18next'
import Link from 'next/link'
import { useSelectedLayoutSegment } from 'next/navigation'
import classNames from 'classnames'
import { Tools, ToolsActive } from '../../base/icons/src/public/header-nav/tools'
import {
RiHammerFill,
RiHammerLine,
} from '@remixicon/react'
type ToolsNavProps = {
className?: string
}
@@ -24,8 +27,8 @@ const ToolsNav = ({
)}>
{
actived
? <ToolsActive className='mr-2 w-4 h-4' />
: <Tools className='mr-2 w-4 h-4' />
? <RiHammerFill className='mr-2 w-4 h-4' />
: <RiHammerLine className='mr-2 w-4 h-4' />
}
{t('common.menus.tools')}
</Link>