Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Move a few more icons to Lucide

Blue Mouse0676b2d70d4a
diff --git a/web/app/pages/Captcha/View/ViewCaptcha.tsx b/web/app/pages/Captcha/View/ViewCaptcha.tsx
index 9a3cb038b..a0569ee01 100644
--- a/web/app/pages/Captcha/View/ViewCaptcha.tsx
+++ b/web/app/pages/Captcha/View/ViewCaptcha.tsx
@@ -5,7 +5,7 @@ import useSize from '~/hooks/useSize'
import { useNavigate } from '@remix-run/react'
import { ClientOnly } from 'remix-utils/client-only'
import bb from 'billboard.js'
-import { Cog8ToothIcon, GlobeAltIcon } from '@heroicons/react/24/outline'
+import { GlobeAltIcon } from '@heroicons/react/24/outline'
import cx from 'clsx'
import { useTranslation } from 'react-i18next'
import _keys from 'lodash/keys'
@@ -68,7 +68,7 @@ import { StateType, useAppDispatch } from '~/lib/store'
import Filters from './components/Filters'
import TBPeriodSelector from './components/TBPeriodSelector'
import UIActions from '~/lib/reducers/ui'
-import { DownloadIcon, RotateCw } from 'lucide-react'
+import { DownloadIcon, RotateCw, SettingsIcon } from 'lucide-react'
const PageLoader = () => (
<div className='min-h-min-footer bg-gray-50 dark:bg-slate-900'>
@@ -731,7 +731,7 @@ const ViewCaptcha = ({ ssrTheme }: ViewCaptchaProps) => {
className='flex px-3 text-sm font-medium text-gray-700 hover:text-gray-600 dark:text-gray-50 dark:hover:text-gray-200'
>
<>
- <Cog8ToothIcon className='mr-1 h-5 w-5' />
+ <SettingsIcon className='mr-1 h-5 w-5' strokeWidth={1.5} />
{t('common.settings')}
</>
</button>
diff --git a/web/app/pages/Project/View/ViewProject.tsx b/web/app/pages/Project/View/ViewProject.tsx
index b4c322f09..38f4a6c6d 100644
--- a/web/app/pages/Project/View/ViewProject.tsx
+++ b/web/app/pages/Project/View/ViewProject.tsx
@@ -14,14 +14,7 @@ import { ClientOnly } from 'remix-utils/client-only'
import useSize from '~/hooks/useSize'
import { useNavigate, Link, useSearchParams, useLoaderData } from '@remix-run/react'
import bb from 'billboard.js'
-import {
- Cog8ToothIcon,
- NoSymbolIcon,
- MagnifyingGlassIcon,
- ChevronLeftIcon,
- GlobeAltIcon,
- ClockIcon,
-} from '@heroicons/react/24/outline'
+import { MagnifyingGlassIcon, ChevronLeftIcon, GlobeAltIcon, ClockIcon } from '@heroicons/react/24/outline'
import {
BugIcon,
GaugeIcon,
@@ -34,6 +27,8 @@ import {
BookmarkIcon,
PencilIcon,
DownloadIcon,
+ SettingsIcon,
+ BanIcon,
} from 'lucide-react'
import cx from 'clsx'
import dayjs from 'dayjs'
@@ -909,7 +904,7 @@ const ViewProject = () => {
{
id: 'settings',
label: t('common.settings'),
- icon: Cog8ToothIcon,
+ icon: SettingsIcon,
},
]
: []
@@ -3510,7 +3505,7 @@ const ViewProject = () => {
if (_isEmpty(panelsData.customs)) {
return (
<span className='flex cursor-not-allowed items-center px-4 py-2'>
- <NoSymbolIcon className='mr-1 h-5 w-5' />
+ <BanIcon className='mr-1 h-5 w-5' strokeWidth={1.5} />
{label}
</span>
)