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!

Icons refresh

Blue Mousee95d4eb6097e
diff --git a/web/app/components/Footer/index.tsx b/web/app/components/Footer/index.tsx
index 5ff6dfafe..e2e866204 100644
--- a/web/app/components/Footer/index.tsx
+++ b/web/app/components/Footer/index.tsx
@@ -22,7 +22,7 @@ import {
CAPTCHA_URL,
} from '~/lib/constants'
import routesPath from '~/utils/routes'
-import { ArrowTopRightOnSquareIcon } from '@heroicons/react/24/solid'
+import { SquareArrowOutUpRightIcon } from 'lucide-react'
const CONTACT_US_URL = `https://swetrix.com${routesPath.contact}`
const ABOUT_US_URL = `https://swetrix.com${routesPath.about}`
@@ -299,7 +299,7 @@ const Footer = ({ authenticated, showDBIPMessage }: FooterProps) => {
className='block max-w-max items-center border-b-2 border-transparent text-base text-gray-300 hover:border-gray-300'
>
{t('main.ukrSupport')}
- <ArrowTopRightOnSquareIcon className='mb-1 ml-1 inline size-4' />
+ <SquareArrowOutUpRightIcon className='mb-1 ml-1 inline size-4' strokeWidth={1.5} />
</a>
</div>
<div className='mt-12 xl:mt-0'>
diff --git a/web/app/components/Header/index.tsx b/web/app/components/Header/index.tsx
index c36849243..71a410ded 100644
--- a/web/app/components/Header/index.tsx
+++ b/web/app/components/Header/index.tsx
@@ -17,19 +17,10 @@ import {
MenuItem,
MenuItems,
} from '@headlessui/react'
-import {
- Bars3Icon,
- XMarkIcon,
- ChevronDownIcon,
- ChartPieIcon,
- PlayCircleIcon,
- PhoneIcon,
- BoltIcon,
- FaceSmileIcon,
- PuzzlePieceIcon,
-} from '@heroicons/react/24/outline'
+import { Bars3Icon, XMarkIcon, ChevronDownIcon } from '@heroicons/react/24/outline'
import { ArrowRightIcon } from '@heroicons/react/20/solid'
import { MoonIcon, SunIcon } from '@heroicons/react/24/solid'
+import { SiYoutube } from '@icons-pack/react-simple-icons'
import dayjs from 'dayjs'
import utc from 'dayjs/plugin/utc'
import duration from 'dayjs/plugin/duration'
@@ -37,6 +28,7 @@ import _map from 'lodash/map'
import _includes from 'lodash/includes'
import _startsWith from 'lodash/startsWith'
import cx, { clsx } from 'clsx'
+import { GaugeIcon, ChartPieIcon, BugIcon, PuzzleIcon, PhoneIcon } from 'lucide-react'
import routes from '~/utils/routes'
import { authActions } from '~/lib/reducers/auth'
@@ -80,24 +72,24 @@ const getSolutions = (t: typeof i18next.t) => [
name: t('header.solutions.performance.title'),
description: t('header.solutions.performance.desc'),
link: routes.performance,
- icon: BoltIcon,
+ icon: GaugeIcon,
},
{
name: t('header.solutions.errors.title'),
description: t('header.solutions.errors.desc'),
link: routes.errorTracking,
- icon: FaceSmileIcon,
+ icon: BugIcon,
},
{
name: t('header.solutions.captcha.title'),
description: t('header.solutions.captcha.desc'),
link: CAPTCHA_URL,
- icon: PuzzlePieceIcon,
+ icon: PuzzleIcon,
},
]
const getCallsToAction = (t: typeof i18next.t) => [
- { name: t('header.watchDemo'), link: 'https://www.youtube.com/watch?v=XBp38fZREIE', icon: PlayCircleIcon },
+ { name: t('header.watchDemo'), link: 'https://www.youtube.com/watch?v=XBp38fZREIE', icon: SiYoutube },
{ name: t('header.contactSales'), link: routes.contact, icon: PhoneIcon },
]
@@ -137,7 +129,11 @@ const SolutionsMenu = () => {
key={item.name}
className='group relative flex gap-x-2 rounded-lg p-2 hover:bg-gray-300/50 dark:hover:bg-slate-700/80'
>
- <item.icon className='mt-1 h-5 w-5 text-gray-600 dark:text-gray-300' aria-hidden='true' />
+ <item.icon
+ className='mt-1 h-5 w-5 text-gray-600 dark:text-gray-300'
+ aria-hidden='true'
+ strokeWidth={1.5}
+ />
<div>
{_startsWith(item.link, '/') ? (
<Link to={item.link} className='text-sm font-semibold text-gray-900 dark:text-gray-50'>
@@ -173,6 +169,7 @@ const SolutionsMenu = () => {
<item.icon
className='h-5 w-5 flex-none text-gray-400 dark:text-gray-300'
aria-hidden='true'
+ strokeWidth={1.5}
/>
{item.name}
</Link>
@@ -187,7 +184,11 @@ const SolutionsMenu = () => {
rel='noopener noreferrer'
className='flex items-center justify-center gap-x-2 rounded-lg p-3 text-gray-800 hover:bg-gray-300/50 dark:text-gray-100 dark:hover:bg-slate-700/80'
>
- <item.icon className='h-5 w-5 flex-none text-gray-400 dark:text-gray-300' aria-hidden='true' />
+ <item.icon
+ className='h-5 w-5 flex-none text-gray-400 dark:text-gray-300'
+ aria-hidden='true'
+ strokeWidth={1.5}
+ />
{item.name}
</a>
)
@@ -705,7 +706,6 @@ const NotAuthedHeader = ({
target='_blank'
rel='noreferrer noopener'
>
- {/* <DocumentTextIcon className='w-5 h-5 mr-1' /> */}
{t('common.docs')}
</a>
</div>
diff --git a/web/app/modals/Forecast.tsx b/web/app/modals/Forecast.tsx
index 5b4864e97..61c0b1f96 100644
--- a/web/app/modals/Forecast.tsx
+++ b/web/app/modals/Forecast.tsx
@@ -8,7 +8,8 @@ import Modal from '~/ui/Modal'
import Input from '~/ui/Input'
import { FORECAST_MAX_MAPPING } from '~/lib/constants'
import _toString from 'lodash/toString'
-import { Bars3BottomRightIcon, ChartBarIcon } from '@heroicons/react/24/outline'
+import { Bars3BottomRightIcon } from '@heroicons/react/24/outline'
+import { ChartNoAxesColumnIcon } from 'lucide-react'
const DEFAULT_PERIOD = '3'
@@ -36,7 +37,7 @@ const Forecast = ({ onClose, onSubmit, isOpened, activeTB, tb }: ForecastProps)
{
id: 'chart' as const,
label: t('modals.forecast.chart'),
- icon: ChartBarIcon,
+ icon: ChartNoAxesColumnIcon,
},
{
id: 'details' as const,
@@ -126,6 +127,7 @@ const Forecast = ({ onClose, onSubmit, isOpened, activeTB, tb }: ForecastProps)
'-ml-0.5 mr-2 h-5 w-5',
)}
aria-hidden='true'
+ strokeWidth={1.5}
/>
<span>{tab.label}</span>
</div>
diff --git a/web/app/modals/NewFunnel.tsx b/web/app/modals/NewFunnel.tsx
index 2c583a0c1..e72bc2301 100644
--- a/web/app/modals/NewFunnel.tsx
+++ b/web/app/modals/NewFunnel.tsx
@@ -3,7 +3,6 @@ import _map from 'lodash/map'
import _every from 'lodash/every'
import _isUndefined from 'lodash/isUndefined'
import cx from 'clsx'
-import { TrashIcon } from '@heroicons/react/24/outline'
import { useTranslation } from 'react-i18next'
import Modal from '~/ui/Modal'
@@ -13,6 +12,7 @@ import { MIN_FUNNEL_STEPS, MAX_FUNNEL_STEPS } from '~/lib/constants'
import { getFilters } from '~/api'
import { Funnel } from '~/lib/models/Project'
import { ProjectForShared } from '~/lib/models/SharedProject'
+import { Trash2Icon } from 'lucide-react'
interface NewFunnelProps {
project: ProjectForShared
@@ -138,7 +138,7 @@ const NewFunnel = ({
disabled={!allowedToManage}
/>
{steps.length > MIN_FUNNEL_STEPS && allowedToManage && (
- <TrashIcon
+ <Trash2Icon
role='button'
aria-label='Remove step'
className='h-5 w-5 cursor-pointer text-gray-400 hover:text-gray-500 dark:text-gray-200 dark:hover:text-gray-300'
@@ -147,6 +147,7 @@ const NewFunnel = ({
newSteps.splice(index, 1)
setSteps(newSteps)
}}
+ strokeWidth={1.5}
/>
)}
</div>
diff --git a/web/app/pages/Captcha/Settings/CaptchaSettings.tsx b/web/app/pages/Captcha/Settings/CaptchaSettings.tsx
index ad1dd0dc2..b18c5ac2c 100644
--- a/web/app/pages/Captcha/Settings/CaptchaSettings.tsx
+++ b/web/app/pages/Captcha/Settings/CaptchaSettings.tsx
@@ -12,7 +12,7 @@ import _split from 'lodash/split'
import _keys from 'lodash/keys'
import _map from 'lodash/map'
import _includes from 'lodash/includes'
-import { ExclamationTriangleIcon, TrashIcon, XCircleIcon } from '@heroicons/react/24/outline'
+import { ExclamationTriangleIcon, XCircleIcon } from '@heroicons/react/24/outline'
import { withAuthentication, auth } from '~/hoc/protected'
import { TITLE_SUFFIX } from '~/lib/constants'
@@ -35,6 +35,7 @@ import { CaptchaProject } from '~/lib/models/Project'
import { useRequiredParams } from '~/hooks/useRequiredParams'
import { useSelector } from 'react-redux'
import { StateType } from '~/lib/store'
+import { Trash2Icon } from 'lucide-react'
const MAX_NAME_LENGTH = 50
const MAX_ORIGINS_LENGTH = 300
@@ -437,7 +438,7 @@ const CaptchaSettings = ({ isSettings }: CaptchaSettingsProps) => {
semiSmall
>
<>
- <TrashIcon className='mr-1 h-5 w-5' />
+ <Trash2Icon className='mr-1 h-5 w-5' strokeWidth={1.5} />
{t('project.settings.reset')}
</>
</Button>
diff --git a/web/app/pages/Captcha/View/ViewCaptcha.helpers.tsx b/web/app/pages/Captcha/View/ViewCaptcha.helpers.tsx
index 28aa03859..95e4bf3d4 100644
--- a/web/app/pages/Captcha/View/ViewCaptcha.helpers.tsx
+++ b/web/app/pages/Captcha/View/ViewCaptcha.helpers.tsx
@@ -1,15 +1,7 @@
import React from 'react'
import type i18next from 'i18next'
// @ts-ignore
-import {
- GlobeEuropeAfricaIcon,
- LanguageIcon,
- DocumentTextIcon,
- DeviceTabletIcon,
- ArrowRightCircleIcon,
- MagnifyingGlassIcon,
- ServerIcon,
-} from '@heroicons/react/24/outline'
+import { LanguageIcon, ArrowRightCircleIcon } from '@heroicons/react/24/outline'
import dayjs from 'dayjs'
import { area, bar } from 'billboard.js'
import type { ChartOptions } from 'billboard.js'
@@ -27,6 +19,7 @@ import {
// @ts-ignore
import * as d3 from 'd3'
import { nFormatter } from '~/utils/generic'
+import { CompassIcon, FileTextIcon, MapPinIcon, MonitorCog, TabletSmartphoneIcon } from 'lucide-react'
const PANELS_ORDER = ['cc', 'br', 'os', 'dv']
@@ -203,13 +196,13 @@ const typeNameMapping = (t: typeof i18next.t) => ({
const iconClassName = 'w-6 h-6'
const panelIconMapping = {
- cc: <GlobeEuropeAfricaIcon className={iconClassName} />,
- pg: <DocumentTextIcon className={iconClassName} />,
+ cc: <MapPinIcon className={iconClassName} strokeWidth={1.5} />,
+ pg: <FileTextIcon className={iconClassName} strokeWidth={1.5} />,
lc: <LanguageIcon className={iconClassName} />,
ref: <ArrowRightCircleIcon className={iconClassName} />,
- dv: <DeviceTabletIcon className={iconClassName} />,
- br: <MagnifyingGlassIcon className={iconClassName} />,
- os: <ServerIcon className={iconClassName} />,
+ dv: <TabletSmartphoneIcon className={iconClassName} strokeWidth={1.5} />,
+ br: <CompassIcon className={iconClassName} strokeWidth={1.5} />,
+ os: <MonitorCog className={iconClassName} strokeWidth={1.5} />,
}
// This function return date using the same format as the backend
diff --git a/web/app/pages/Captcha/View/ViewCaptcha.tsx b/web/app/pages/Captcha/View/ViewCaptcha.tsx
index b4fc733e3..c37398da9 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 { ArrowDownTrayIcon, Cog8ToothIcon, ArrowPathIcon, GlobeAltIcon } from '@heroicons/react/24/outline'
+import { Cog8ToothIcon, GlobeAltIcon } from '@heroicons/react/24/outline'
import cx from 'clsx'
import { useTranslation } from 'react-i18next'
import _keys from 'lodash/keys'
@@ -68,6 +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'
const PageLoader = () => (
<div className='min-h-min-footer bg-gray-50 dark:bg-slate-900'>
@@ -623,12 +624,12 @@ const ViewCaptcha = ({ ssrTheme }: ViewCaptchaProps) => {
},
)}
>
- <ArrowPathIcon className='h-5 w-5 text-gray-700 dark:text-gray-50' />
+ <RotateCw className='h-5 w-5 text-gray-700 dark:text-gray-50' />
</button>
<Dropdown
header={t('project.exportData')}
items={exportTypes}
- title={[<ArrowDownTrayIcon key='download-icon' className='h-5 w-5' />]}
+ title={[<DownloadIcon key='download-icon' className='h-5 w-5' strokeWidth={1.5} />]}
labelExtractor={(item) => item.label}
keyExtractor={(item) => item.label}
onSelect={(item) => item.onClick()}
diff --git a/web/app/pages/Captcha/View/components/Filters.tsx b/web/app/pages/Captcha/View/components/Filters.tsx
index b7255bdeb..d789eb1ff 100644
--- a/web/app/pages/Captcha/View/components/Filters.tsx
+++ b/web/app/pages/Captcha/View/components/Filters.tsx
@@ -1,4 +1,4 @@
-import { FunnelIcon, XMarkIcon } from '@heroicons/react/24/outline'
+import { XMarkIcon } from '@heroicons/react/24/outline'
import React, { memo } from 'react'
import cx from 'clsx'
import _truncate from 'lodash/truncate'
@@ -10,6 +10,7 @@ import { useTranslation } from 'react-i18next'
import countries from '~/utils/isoCountries'
import { getLocaleDisplayName } from '~/utils/generic'
+import { FilterIcon } from 'lucide-react'
interface FilterProps {
column: string
@@ -129,7 +130,10 @@ const Filters = ({ onRemoveFilter, onChangeExclusive, tnMapping, resetFilters, f
return (
<div className='flex items-center justify-between rounded-md bg-slate-200 p-1 shadow dark:border dark:border-slate-800/50 dark:bg-slate-800/25'>
<div className='flex items-center'>
- <FunnelIcon className='box-content size-6 flex-shrink-0 px-1 text-gray-700 dark:text-gray-200' />
+ <FilterIcon
+ className='box-content size-6 flex-shrink-0 px-1 text-gray-700 dark:text-gray-200'
+ strokeWidth={1.5}
+ />
<div className='flex flex-wrap'>
{_map(filters, (props) => {
const { column, filter } = props
diff --git a/web/app/pages/Captcha/View/components/TBPeriodSelector.tsx b/web/app/pages/Captcha/View/components/TBPeriodSelector.tsx
index 09c80b615..8bba7d2e8 100644
--- a/web/app/pages/Captcha/View/components/TBPeriodSelector.tsx
+++ b/web/app/pages/Captcha/View/components/TBPeriodSelector.tsx
@@ -1,12 +1,12 @@
import React, { memo, Fragment, useMemo } from 'react'
import { Popover, PopoverButton, PopoverPanel, Transition } from '@headlessui/react'
-import { CalendarDaysIcon } from '@heroicons/react/24/outline'
import { ChevronDownIcon } from '@heroicons/react/20/solid'
import { useTranslation } from 'react-i18next'
import _map from 'lodash/map'
import _includes from 'lodash/includes'
import cx from 'clsx'
import { ALL_PERIODS } from '~/lib/constants'
+import { CalendarIcon } from 'lucide-react'
interface TBPeriodSelectorProps {
title: string | number | React.ReactNode
@@ -46,7 +46,7 @@ const TBPeriodSelector = ({
{({ open }) => (
<>
<PopoverButton className='group inline-flex w-full px-2.5 py-2 text-sm font-medium text-gray-700 outline-none dark:text-gray-50 md:px-4'>
- <CalendarDaysIcon className='mr-1 h-5 w-5' />
+ <CalendarIcon className='mr-1 h-5 w-5' strokeWidth={1.5} />
<span>{title}</span>
<ChevronDownIcon
className={cx(
diff --git a/web/app/pages/Contact/index.tsx b/web/app/pages/Contact/index.tsx
index aa8aa1c7d..4e5054a83 100644
--- a/web/app/pages/Contact/index.tsx
+++ b/web/app/pages/Contact/index.tsx
@@ -1,7 +1,7 @@
/* eslint-disable jsx-a11y/anchor-has-content */
+import { SquareArrowOutUpRightIcon } from 'lucide-react'
import React from 'react'
import { useTranslation, Trans } from 'react-i18next'
-import { ArrowTopRightOnSquareIcon } from '@heroicons/react/24/outline'
import { CONTACT_EMAIL, TWITTER_URL, TWITTER_USERNAME, DISCORD_URL, DOCS_URL, BOOK_A_CALL_URL } from '~/lib/constants'
@@ -18,7 +18,10 @@ const Panel = ({ href, title, description }: PanelProps) => (
rel='noopener noreferrer'
className='relative block rounded-2xl border border-gray-300/80 bg-gray-100 p-10 hover:bg-gray-200 dark:border-slate-900/80 dark:bg-slate-800/80 dark:hover:bg-slate-800'
>
- <ArrowTopRightOnSquareIcon className='absolute right-5 top-5 h-5 w-5 text-gray-900 dark:text-gray-100' />
+ <SquareArrowOutUpRightIcon
+ className='absolute right-5 top-5 h-5 w-5 text-gray-900 dark:text-gray-100'
+ strokeWidth={1.5}
+ />
<h3 className='text-lg font-semibold leading-7 text-gray-900 dark:text-gray-100'>{title}</h3>
<p className='mt-3 text-sm leading-6 text-gray-600 dark:text-gray-200'>{description}</p>
</a>
diff --git a/web/app/pages/Dashboard/ProjectCard.tsx b/web/app/pages/Dashboard/ProjectCard.tsx
index e9b8eeff3..bf6aae47e 100644
--- a/web/app/pages/Dashboard/ProjectCard.tsx
+++ b/web/app/pages/Dashboard/ProjectCard.tsx
@@ -7,7 +7,7 @@ import _isNumber from 'lodash/isNumber'
import _replace from 'lodash/replace'
import _find from 'lodash/find'
import { useTranslation } from 'react-i18next'
-import { AdjustmentsVerticalIcon, ArrowTopRightOnSquareIcon } from '@heroicons/react/24/outline'
+import { AdjustmentsVerticalIcon } from '@heroicons/react/24/outline'
import { ChevronUpIcon, ChevronDownIcon } from '@heroicons/react/20/solid'
import Modal from '~/ui/Modal'
@@ -21,6 +21,7 @@ import { OverallObject, Project } from '~/lib/models/Project'
import { useSelector } from 'react-redux'
import { StateType, useAppDispatch } from '~/lib/store'
import { authActions } from '~/lib/reducers/auth'
+import { SquareArrowOutUpRightIcon } from 'lucide-react'
interface ProjectCardProps {
live?: string | number
@@ -195,7 +196,10 @@ export const ProjectCard = ({ live = 'N/A', project, overallStats }: ProjectCard
target='_blank'
rel='noopener noreferrer'
>
- <ArrowTopRightOnSquareIcon className='h-6 w-6 text-gray-800 hover:text-gray-900 dark:text-slate-400 dark:hover:text-slate-500' />
+ <SquareArrowOutUpRightIcon
+ className='h-6 w-6 text-gray-800 hover:text-gray-900 dark:text-slate-400 dark:hover:text-slate-500'
+ strokeWidth={1.5}
+ />
</a>
</div>
</div>
diff --git a/web/app/pages/ErrorTracking/index.tsx b/web/app/pages/ErrorTracking/index.tsx
index 735fff18b..6d9a3017a 100644
--- a/web/app/pages/ErrorTracking/index.tsx
+++ b/web/app/pages/ErrorTracking/index.tsx
@@ -3,7 +3,7 @@ import React, { memo } from 'react'
import { useTranslation, Trans } from 'react-i18next'
import { useSelector } from 'react-redux'
import { ClientOnly } from 'remix-utils/client-only'
-import { ArrowTopRightOnSquareIcon, ChevronRightIcon } from '@heroicons/react/24/solid'
+import { ChevronRightIcon } from '@heroicons/react/24/solid'
import { ArrowRightIcon } from '@heroicons/react/20/solid'
import _map from 'lodash/map'
import _isEmpty from 'lodash/isEmpty'
@@ -18,6 +18,7 @@ import BackgroundSvg from '~/ui/icons/BackgroundSvg'
import Header from '~/components/Header'
import Pricing from '../../components/marketing/Pricing'
import { DitchGoogle } from '~/components/marketing/DitchGoogle'
+import { SquareArrowOutUpRightIcon } from 'lucide-react'
const Lines = () => (
<div className='pointer-events-none relative'>
@@ -88,7 +89,10 @@ const ErrorTracking = ({ ssrTheme, ssrAuthenticated }: ErrorTrackingProps) => {
>
{t('main.ukrSupport')}
</a>
- <ArrowTopRightOnSquareIcon className='ml-1 hidden h-4 w-4 text-slate-800 dark:text-white md:block' />
+ <SquareArrowOutUpRightIcon
+ className='ml-1 hidden h-4 w-4 text-slate-800 dark:text-white md:block'
+ strokeWidth={1.5}
+ />
</div>
<div className='relative mx-auto min-h-[740px] pb-5 pt-10 sm:px-3 lg:px-6 lg:pt-24 xl:px-8'>
<div className='relative z-20 flex flex-row content-between justify-center lg:justify-start 2xl:mr-[14vw] 2xl:justify-center'>
diff --git a/web/app/pages/Landings/Marketers.tsx b/web/app/pages/Landings/Marketers.tsx
index 80fc4b26f..698883457 100644
--- a/web/app/pages/Landings/Marketers.tsx
+++ b/web/app/pages/Landings/Marketers.tsx
@@ -6,7 +6,6 @@ import { StateType } from '~/lib/store'
import { BOOK_A_CALL_URL, DISCORD_URL, isBrowser, LIVE_DEMO_URL } from '~/lib/constants'
import routesPath from '~/utils/routes'
-import { ArrowTopRightOnSquareIcon } from '@heroicons/react/24/outline'
import { ArrowRightIcon } from '@heroicons/react/20/solid'
import Header from '~/components/Header'
@@ -15,6 +14,7 @@ import { getAccessToken } from '~/utils/accessToken'
import _map from 'lodash/map'
import { ComparisonTable } from '~/components/marketing/ComparisonTable'
import { DitchGoogle } from '~/components/marketing/DitchGoogle'
+import { SquareArrowOutUpRightIcon } from 'lucide-react'
interface LoaderProps {
theme: 'dark' | 'light'
@@ -74,7 +74,10 @@ const Marketers = () => {
>
{t('main.ukrSupport')}
</a>
- <ArrowTopRightOnSquareIcon className='ml-1 hidden h-4 w-4 text-slate-800 dark:text-white md:block' />
+ <SquareArrowOutUpRightIcon
+ className='ml-1 hidden h-4 w-4 text-slate-800 dark:text-white md:block'
+ strokeWidth={1.5}
+ />
</div>
<div className='relative mx-auto min-h-[740px] pb-5 pt-10 sm:px-3 lg:px-6 lg:pt-24 xl:px-8'>
<div className='relative z-20 flex flex-col content-between justify-center'>
diff --git a/web/app/pages/Landings/SmallBusinesses.tsx b/web/app/pages/Landings/SmallBusinesses.tsx
index cc264ce39..d9c16566e 100644
--- a/web/app/pages/Landings/SmallBusinesses.tsx
+++ b/web/app/pages/Landings/SmallBusinesses.tsx
@@ -6,7 +6,6 @@ import { StateType } from '~/lib/store'
import { BOOK_A_CALL_URL, DISCORD_URL, isBrowser, LIVE_DEMO_URL, TWITTER_URL } from '~/lib/constants'
import routesPath from '~/utils/routes'
-import { ArrowTopRightOnSquareIcon } from '@heroicons/react/24/outline'
import { ArrowRightIcon } from '@heroicons/react/20/solid'
import Header from '~/components/Header'
@@ -15,6 +14,7 @@ import { getAccessToken } from '~/utils/accessToken'
import _map from 'lodash/map'
import { ComparisonTable } from '~/components/marketing/ComparisonTable'
import { DitchGoogle } from '~/components/marketing/DitchGoogle'
+import { SquareArrowOutUpRightIcon } from 'lucide-react'
interface LoaderProps {
theme: 'dark' | 'light'
@@ -74,7 +74,10 @@ const SmallBusinesses = () => {
>
{t('main.ukrSupport')}
</a>
- <ArrowTopRightOnSquareIcon className='ml-1 hidden h-4 w-4 text-slate-800 dark:text-white md:block' />
+ <SquareArrowOutUpRightIcon
+ className='ml-1 hidden h-4 w-4 text-slate-800 dark:text-white md:block'
+ strokeWidth={1.5}
+ />
</div>
<div className='relative mx-auto min-h-[740px] pb-5 pt-10 sm:px-3 lg:px-6 lg:pt-24 xl:px-8'>
<div className='relative z-20 flex flex-col content-between justify-center'>
diff --git a/web/app/pages/Landings/Startups.tsx b/web/app/pages/Landings/Startups.tsx
index 42ddb93fa..a505f5eaa 100644
--- a/web/app/pages/Landings/Startups.tsx
+++ b/web/app/pages/Landings/Startups.tsx
@@ -6,7 +6,6 @@ import { StateType } from '~/lib/store'
import { BOOK_A_CALL_URL, DISCORD_URL, isBrowser, LIVE_DEMO_URL } from '~/lib/constants'
import routesPath from '~/utils/routes'
-import { ArrowTopRightOnSquareIcon } from '@heroicons/react/24/outline'
import { ArrowRightIcon } from '@heroicons/react/20/solid'
import Header from '~/components/Header'
@@ -15,6 +14,7 @@ import { getAccessToken } from '~/utils/accessToken'
import _map from 'lodash/map'
import { ComparisonTable } from '~/components/marketing/ComparisonTable'
import { DitchGoogle } from '~/components/marketing/DitchGoogle'
+import { SquareArrowOutUpRightIcon } from 'lucide-react'
interface LoaderProps {
theme: 'dark' | 'light'
@@ -74,7 +74,10 @@ const Startups = () => {
>
{t('main.ukrSupport')}
</a>
- <ArrowTopRightOnSquareIcon className='ml-1 hidden h-4 w-4 text-slate-800 dark:text-white md:block' />
+ <SquareArrowOutUpRightIcon
+ className='ml-1 hidden h-4 w-4 text-slate-800 dark:text-white md:block'
+ strokeWidth={1.5}
+ />
</div>
<div className='relative mx-auto min-h-[740px] pb-5 pt-10 sm:px-3 lg:px-6 lg:pt-24 xl:px-8'>
<div className='relative z-20 flex flex-col content-between justify-center'>
diff --git a/web/app/pages/Organisations/Settings/People.tsx b/web/app/pages/Organisations/Settings/People.tsx
index 542dc56c4..4e740f483 100644
--- a/web/app/pages/Organisations/Settings/People.tsx
+++ b/web/app/pages/Organisations/Settings/People.tsx
@@ -1,7 +1,6 @@
import React, { useState, useEffect, useRef } from 'react'
import { toast } from 'sonner'
import { ChevronDownIcon, CheckIcon } from '@heroicons/react/24/solid'
-import { TrashIcon, UserPlusIcon } from '@heroicons/react/24/outline'
import { useTranslation } from 'react-i18next'
import cx from 'clsx'
import dayjs from 'dayjs'
@@ -20,6 +19,7 @@ import { DetailedOrganisation, Role } from '~/lib/models/Organisation'
import { useSelector } from 'react-redux'
import { StateType } from '~/lib/store'
import { changeOrganisationRole, inviteOrganisationMember, removeOrganisationMember } from '~/api'
+import { Trash2Icon, UserRoundPlusIcon } from 'lucide-react'
const NoPeople = () => {
const { t } = useTranslation('common')
@@ -136,7 +136,7 @@ const UsersList = ({ members, onRemove }: UsersListProps) => {
small
onClick={() => onRemove(member)}
>
- <TrashIcon className='h-4 w-4' />
+ <Trash2Icon className='h-4 w-4' strokeWidth={1.5} />
</Button>
</div>
)}
@@ -281,7 +281,7 @@ const People = ({ organisation, reloadOrganisation }: PeopleProps) => {
</div>
<Button className='h-8 pl-2' primary regular type='button' onClick={() => setShowModal(true)}>
<>
- <UserPlusIcon className='mr-1 h-5 w-5' />
+ <UserRoundPlusIcon className='mr-1 h-5 w-5' strokeWidth={1.5} />
{t('project.settings.invite')}
</>
</Button>
diff --git a/web/app/pages/Organisations/Settings/Projects.tsx b/web/app/pages/Organisations/Settings/Projects.tsx
index 8c4bf8167..9417d31de 100644
--- a/web/app/pages/Organisations/Settings/Projects.tsx
+++ b/web/app/pages/Organisations/Settings/Projects.tsx
@@ -1,6 +1,6 @@
import React, { useState, useEffect } from 'react'
import { toast } from 'sonner'
-import { InformationCircleIcon, PlusIcon, MagnifyingGlassIcon } from '@heroicons/react/24/outline'
+import { InformationCircleIcon, MagnifyingGlassIcon, FolderPlusIcon } from '@heroicons/react/24/outline'
import { useTranslation } from 'react-i18next'
import _isEmpty from 'lodash/isEmpty'
import _replace from 'lodash/replace'
@@ -242,7 +242,7 @@ export const Projects = ({ organisation, reloadOrganisation }: ProjectsProps) =>
}}
>
<>
- <PlusIcon className='mr-1 h-5 w-5' />
+ <FolderPlusIcon className='mr-1 h-5 w-5' />
{t('organisations.addProject')}
</>
</Button>
diff --git a/web/app/pages/Organisations/Settings/index.tsx b/web/app/pages/Organisations/Settings/index.tsx
index 5b84c91cb..cd1ffb1c4 100644
--- a/web/app/pages/Organisations/Settings/index.tsx
+++ b/web/app/pages/Organisations/Settings/index.tsx
@@ -21,7 +21,8 @@ import { DetailedOrganisation } from '~/lib/models/Organisation'
import { StateType } from '~/lib/store'
import { useSelector } from 'react-redux'
import { Projects } from './Projects'
-import { TrashIcon, XCircleIcon } from '@heroicons/react/24/outline'
+import { XCircleIcon } from '@heroicons/react/24/outline'
+import { Trash2Icon } from 'lucide-react'
// import { ArrowLeftRight } from 'lucide-react'
const MAX_NAME_LENGTH = 50
@@ -289,7 +290,7 @@ const OrganisationSettings = () => {
{t('project.settings.transfer')}
</Button> */}
<Button onClick={() => setShowDelete(true)} disabled={isDeleting} danger semiSmall>
- <TrashIcon className='mr-1 h-5 w-5' />
+ <Trash2Icon className='mr-1 h-5 w-5' strokeWidth={1.5} />
{t('organisations.delete')}
</Button>
</div>
diff --git a/web/app/pages/Performance/index.tsx b/web/app/pages/Performance/index.tsx
index 5d54d3d0c..402fe746e 100644
--- a/web/app/pages/Performance/index.tsx
+++ b/web/app/pages/Performance/index.tsx
@@ -3,7 +3,7 @@ import React, { memo } from 'react'
import { useTranslation, Trans } from 'react-i18next'
import { useSelector } from 'react-redux'
import { ClientOnly } from 'remix-utils/client-only'
-import { ArrowTopRightOnSquareIcon, ChevronRightIcon } from '@heroicons/react/24/solid'
+import { ChevronRightIcon } from '@heroicons/react/24/solid'
import { ArrowRightIcon } from '@heroicons/react/20/solid'
import _map from 'lodash/map'
import _isEmpty from 'lodash/isEmpty'
@@ -18,6 +18,7 @@ import BackgroundSvg from '~/ui/icons/BackgroundSvg'
import Header from '~/components/Header'
import Pricing from '../../components/marketing/Pricing'
import { DitchGoogle } from '~/components/marketing/DitchGoogle'
+import { SquareArrowOutUpRightIcon } from 'lucide-react'
const Lines = () => (
<div className='pointer-events-none relative'>
@@ -88,7 +89,10 @@ const Performance = ({ ssrTheme, ssrAuthenticated }: PerformanceProps) => {
>
{t('main.ukrSupport')}
</a>
- <ArrowTopRightOnSquareIcon className='ml-1 hidden h-4 w-4 text-slate-800 dark:text-white md:block' />
+ <SquareArrowOutUpRightIcon
+ className='ml-1 hidden h-4 w-4 text-slate-800 dark:text-white md:block'
+ strokeWidth={1.5}
+ />
</div>
<div className='relative mx-auto min-h-[740px] pb-5 pt-10 sm:px-3 lg:px-6 lg:pt-24 xl:px-8'>
<div className='relative z-20 flex flex-row content-between justify-center lg:justify-start 2xl:mr-[14vw] 2xl:justify-center'>
diff --git a/web/app/pages/Project/Alerts/View/ProjectAlertsView.tsx b/web/app/pages/Project/Alerts/View/ProjectAlertsView.tsx
index 87ab2d095..1d130fe5d 100644
--- a/web/app/pages/Project/Alerts/View/ProjectAlertsView.tsx
+++ b/web/app/pages/Project/Alerts/View/ProjectAlertsView.tsx
@@ -10,10 +10,8 @@ import { useTranslation } from 'react-i18next'
import { useSelector } from 'react-redux'
import { toast } from 'sonner'
import {
- BellIcon,
CurrencyDollarIcon,
AdjustmentsVerticalIcon,
- TrashIcon,
PlusCircleIcon,
ExclamationTriangleIcon,
XCircleIcon,
@@ -29,6 +27,7 @@ import { StateType } from '~/lib/store'
import { Alerts } from '~/lib/models/Alerts'
import Loader from '~/ui/Loader'
import Pagination from '~/ui/Pagination'
+import { Trash2Icon, BellRingIcon } from 'lucide-react'
const Separator = () => (
<svg viewBox='0 0 2 2' className='h-0.5 w-0.5 flex-none fill-gray-400'>
@@ -123,7 +122,7 @@ const AlertCard = ({
}}
className='h-6 w-6 text-gray-800 hover:text-gray-900 dark:text-slate-400 dark:hover:text-slate-500'
/>
- <TrashIcon
+ <Trash2Icon
onClick={(e) => {
e.stopPropagation()
setShowDeleteModal(true)
@@ -131,6 +130,7 @@ const AlertCard = ({
role='button'
aria-label={t('common.delete')}
className='h-6 w-6 text-gray-800 hover:text-gray-900 dark:text-slate-400 dark:hover:text-slate-500'
+ strokeWidth={1.5}
/>
</div>
</div>
@@ -318,7 +318,7 @@ const ProjectAlerts = ({ projectId }: ProjectAlertsProps) => {
{_isEmpty(alerts) ? (
<div className='mt-5 rounded-xl bg-gray-700 p-5'>
<div className='flex items-center text-gray-50'>
- <BellIcon className='mr-2 h-8 w-8' />
+ <BellRingIcon className='mr-2 h-8 w-8' strokeWidth={1.5} />
<p className='text-3xl font-bold'>{t('dashboard.alerts')}</p>
</div>
<p className='mt-2 whitespace-pre-wrap text-lg text-gray-100'>{t('dashboard.alertsDesc')}</p>
diff --git a/web/app/pages/Project/Settings/Emails/Emails.tsx b/web/app/pages/Project/Settings/Emails/Emails.tsx
index c2a61e4b9..72f0e2fba 100644
--- a/web/app/pages/Project/Settings/Emails/Emails.tsx
+++ b/web/app/pages/Project/Settings/Emails/Emails.tsx
@@ -1,6 +1,6 @@
import React, { useState, useEffect, useRef } from 'react'
import { toast } from 'sonner'
-import { TrashIcon, InboxStackIcon, ChevronDownIcon, CheckIcon } from '@heroicons/react/24/outline'
+import { ChevronDownIcon, CheckIcon } from '@heroicons/react/24/outline'
import { useTranslation } from 'react-i18next'
import dayjs from 'dayjs'
import _keys from 'lodash/keys'
@@ -22,6 +22,7 @@ import Loader from '~/ui/Loader'
import cx from 'clsx'
import { Badge } from '~/ui/Badge'
import { Subscriber } from '~/lib/models/Subscriber'
+import { MailPlusIcon, Trash2Icon } from 'lucide-react'
interface ModalMessageProps {
handleInput: (e: React.ChangeEvent<HTMLInputElement>) => void
@@ -233,7 +234,7 @@ const EmailList = ({ data, onRemove, setEmails }: EmailListProps) => {
small
onClick={onRemove}
>
- <TrashIcon className='h-4 w-4' />
+ <Trash2Icon className='h-4 w-4' strokeWidth={1.5} />
</Button>
</div>
)}
@@ -398,7 +399,7 @@ const Emails = ({ projectId }: { projectId: string }) => {
</div>
<Button className='h-8 whitespace-nowrap pl-2' primary regular type='button' onClick={() => setShowModal(true)}>
<>
- <InboxStackIcon className='mr-1 h-5 w-5' />
+ <MailPlusIcon className='mr-1 h-5 w-5' strokeWidth={1.5} />
{t('project.emails.add')}
</>
</Button>
diff --git a/web/app/pages/Project/Settings/People/People.tsx b/web/app/pages/Project/Settings/People/People.tsx
index bb0ff91e8..f7f678e89 100644
--- a/web/app/pages/Project/Settings/People/People.tsx
+++ b/web/app/pages/Project/Settings/People/People.tsx
@@ -1,7 +1,6 @@
import React, { useState, useEffect, useRef } from 'react'
import { toast } from 'sonner'
import { ChevronDownIcon, CheckIcon } from '@heroicons/react/24/solid'
-import { TrashIcon, UserPlusIcon } from '@heroicons/react/24/outline'
import { useTranslation } from 'react-i18next'
import cx from 'clsx'
import dayjs from 'dayjs'
@@ -22,6 +21,7 @@ import { Project, ShareOwnerProject } from '~/lib/models/Project'
import { Role } from '~/lib/models/Organisation'
import { useSelector } from 'react-redux'
import { StateType } from '~/lib/store'
+import { Trash2Icon, UserRoundPlusIcon } from 'lucide-react'
const NoPeople = () => {
const { t } = useTranslation('common')
@@ -130,7 +130,7 @@ const UsersList = ({ data, onRemove, language, authedUserEmail }: UsersListProps
small
onClick={onRemove}
>
- <TrashIcon className='h-4 w-4' />
+ <Trash2Icon className='h-4 w-4' strokeWidth={1.5} />
</Button>
</div>
)}
@@ -272,7 +272,7 @@ const People = ({ project }: PeopleProps) => {
</div>
<Button className='h-8 pl-2' primary regular type='button' onClick={() => setShowModal(true)}>
<>
- <UserPlusIcon className='mr-1 h-5 w-5' />
+ <UserRoundPlusIcon className='mr-1 h-5 w-5' strokeWidth={1.5} />
{t('project.settings.invite')}
</>
</Button>
diff --git a/web/app/pages/Project/Settings/ProjectSettings.tsx b/web/app/pages/Project/Settings/ProjectSettings.tsx
index 2fc06e7a6..59fc58ee1 100644
--- a/web/app/pages/Project/Settings/ProjectSettings.tsx
+++ b/web/app/pages/Project/Settings/ProjectSettings.tsx
@@ -15,7 +15,7 @@ import _filter from 'lodash/filter'
import _map from 'lodash/map'
import _toUpper from 'lodash/toUpper'
import _includes from 'lodash/includes'
-import { TrashIcon, XCircleIcon } from '@heroicons/react/24/outline'
+import { XCircleIcon } from '@heroicons/react/24/outline'
import { withAuthentication, auth } from '~/hoc/protected'
import { isSelfhosted, TITLE_SUFFIX, FILTERS_PANELS_ORDER, isBrowser } from '~/lib/constants'
@@ -48,7 +48,7 @@ import People from './People'
import Emails from './Emails'
import Select from '~/ui/Select'
import { useRequiredParams } from '~/hooks/useRequiredParams'
-import { ArrowLeftRight, RotateCcw } from 'lucide-react'
+import { ArrowLeftRight, RotateCcw, Trash2Icon } from 'lucide-react'
import { StateType } from '~/lib/store'
import { useSelector } from 'react-redux'
@@ -774,7 +774,7 @@ const ProjectSettings = () => {
</Button>
<Button onClick={() => !isDeleting && setShowDelete(true)} loading={isDeleting} danger semiSmall>
<>
- <TrashIcon className='mr-1 h-5 w-5' />
+ <Trash2Icon className='mr-1 h-5 w-5' strokeWidth={1.5} />
{t('project.settings.delete')}
</>
</Button>
diff --git a/web/app/pages/Project/View/Panels.tsx b/web/app/pages/Project/View/Panels.tsx
index 235786b2d..f3e21e593 100644
--- a/web/app/pages/Project/View/Panels.tsx
+++ b/web/app/pages/Project/View/Panels.tsx
@@ -2,15 +2,6 @@ import React, { memo, useState, useEffect, useMemo, Fragment } from 'react'
import InnerHTML from 'dangerously-set-html-content'
import { ArrowLongRightIcon, ArrowLongLeftIcon } from '@heroicons/react/24/solid'
import { ChevronUpIcon, ChevronDownIcon } from '@heroicons/react/20/solid'
-import {
- FunnelIcon,
- MapIcon,
- Bars4Icon,
- ArrowsPointingOutIcon,
- ChartPieIcon,
- PuzzlePieceIcon,
- RectangleGroupIcon,
-} from '@heroicons/react/24/outline'
import cx from 'clsx'
import { pie } from 'billboard.js'
import _keys from 'lodash/keys'
@@ -49,6 +40,15 @@ import { useTranslation } from 'react-i18next'
import CustomEventsDropdown from './components/CustomEventsDropdown'
import { Customs, Filter, Properties } from './interfaces/traffic'
import { useViewProjectContext } from './ViewProject'
+import {
+ AlignJustifyIcon,
+ ChartPieIcon,
+ MapIcon,
+ MaximizeIcon,
+ WorkflowIcon,
+ FilterIcon,
+ PuzzleIcon,
+} from 'lucide-react'
const ENTRIES_PER_PANEL = 5
const ENTRIES_PER_CUSTOM_EVENTS_PANEL = 6
@@ -147,12 +147,13 @@ const PanelContainer = ({
</h3>
<div className='flex'>
{(checkIfBarsNeeded(type) || checkCustomTabs(type, customTabs)) && (
- <Bars4Icon
+ <AlignJustifyIcon
className={cx(iconClassName, 'cursor-pointer', {
'text-slate-900 dark:text-gray-50': activeFragment === 0,
'text-slate-400 dark:text-slate-500': _isString(activeFragment) || activeFragment === 1,
})}
onClick={() => setActiveFragment(0)}
+ strokeWidth={1.5}
/>
)}
@@ -165,30 +166,34 @@ const PanelContainer = ({
'text-slate-400 dark:text-slate-500': _isString(activeFragment) || activeFragment === 0,
})}
onClick={() => setActiveFragment(1)}
+ strokeWidth={1.5}
/>
- <ArrowsPointingOutIcon
+ <MaximizeIcon
className={cx(iconClassName, 'ml-2 cursor-pointer text-slate-400 dark:text-slate-500', {
hidden: activeFragment === 0,
})}
onClick={onExpandClick}
+ strokeWidth={1.5}
/>
</>
)}
{type === 'pg' && activeTab !== PROJECT_TABS.performance && activeTab !== PROJECT_TABS.errors && (
<>
- <RectangleGroupIcon
+ <WorkflowIcon
className={cx(iconClassName, 'ml-2 cursor-pointer', {
'text-slate-900 dark:text-gray-50': activeFragment === 1,
'text-slate-400 dark:text-slate-500': _isString(activeFragment) || activeFragment === 0,
})}
onClick={() => setActiveFragment(1)}
+ strokeWidth={1.5}
/>
- <ArrowsPointingOutIcon
+ <MaximizeIcon
className={cx(iconClassName, 'ml-2 cursor-pointer text-slate-400 dark:text-slate-500', {
hidden: activeFragment === 0,
})}
onClick={onExpandClick}
+ strokeWidth={1.5}
/>
</>
)}
@@ -201,15 +206,17 @@ const PanelContainer = ({
'text-slate-400 dark:text-slate-500': _isString(activeFragment) || activeFragment === 0,
})}
onClick={() => setActiveFragment(1)}
+ strokeWidth={1.5}
/>
)}
{/* if it is a 'Custom events' tab */}
{(type === 'ce' || type === 'props') && (
<>
- <ArrowsPointingOutIcon
+ <MaximizeIcon
className={cx(iconClassName, 'ml-2 cursor-pointer text-slate-400 dark:text-slate-500')}
onClick={onExpandClick}
+ strokeWidth={1.5}
/>
</>
)}
@@ -229,13 +236,14 @@ const PanelContainer = ({
}
return (
- <PuzzlePieceIcon
+ <PuzzleIcon
key={`${extensionID}-${panelID}`}
className={cx(iconClassName, 'ml-2 cursor-pointer', {
'text-slate-900 dark:text-gray-50': activeFragment === extensionID,
'text-slate-400 dark:text-slate-500': activeFragment === 0,
})}
onClick={onClick}
+ strokeWidth={1.5}
/>
)
})}
@@ -435,7 +443,10 @@ const KVTable = ({ listId, data, displayKeyAsHeader, onClick }: KVTableProps) =>
>
<td className='flex items-center py-1 pl-2 text-left'>
{event}
- <FunnelIcon className='ml-2 hidden h-4 w-4 text-gray-500 group-hover:block dark:text-gray-300' />
+ <FilterIcon
+ className='ml-2 hidden h-4 w-4 text-gray-500 group-hover:block dark:text-gray-300'
+ strokeWidth={1.5}
+ />
</td>
<td className='py-1 text-right'>
{quantity}
@@ -891,7 +902,10 @@ const CustomEvents = ({
>
<td className='flex items-center text-left'>
{ev}
- <FunnelIcon className='ml-2 hidden h-4 w-4 text-gray-500 group-hover:block dark:text-gray-300' />
+ <FilterIcon
+ className='ml-2 hidden h-4 w-4 text-gray-500 group-hover:block dark:text-gray-300'
+ strokeWidth={1.5}
+ />
</td>
<td className='text-right'>
{customsEventsData[ev]}
@@ -1285,7 +1299,10 @@ const PageProperties = ({
>
<td className='flex items-center text-left'>
{tag}
- <FunnelIcon className='ml-2 hidden h-4 w-4 text-gray-500 group-hover:block dark:text-gray-300' />
+ <FilterIcon
+ className='ml-2 hidden h-4 w-4 text-gray-500 group-hover:block dark:text-gray-300'
+ strokeWidth={1.5}
+ />
</td>
<td className='text-right'>
{processedProperties[tag]}
@@ -1629,14 +1646,20 @@ const Panel = ({
>
{rowData}
{!hideFilters && (
- <FunnelIcon className='min-h-4 ml-2 hidden size-4 min-w-4 text-gray-500 group-hover:block dark:text-gray-300' />
+ <FilterIcon
+ className='min-h-4 ml-2 hidden size-4 min-w-4 text-gray-500 group-hover:block dark:text-gray-300'
+ strokeWidth={1.5}
+ />
)}
</a>
) : (
<span className={cx('label flex items-center', { capitalize })}>
{rowData}
{!hideFilters && (
- <FunnelIcon className='min-h-4 ml-2 hidden size-4 min-w-4 text-gray-500 group-hover:block dark:text-gray-300' />
+ <FilterIcon
+ className='min-h-4 ml-2 hidden size-4 min-w-4 text-gray-500 group-hover:block dark:text-gray-300'
+ strokeWidth={1.5}
+ />
)}
</span>
)}
diff --git a/web/app/pages/Project/View/ViewProject.helpers.tsx b/web/app/pages/Project/View/ViewProject.helpers.tsx
index 58e255697..b6162bde1 100644
--- a/web/app/pages/Project/View/ViewProject.helpers.tsx
+++ b/web/app/pages/Project/View/ViewProject.helpers.tsx
@@ -2,15 +2,7 @@ import React from 'react'
import type { ChartOptions, GridLineOptions } from 'billboard.js'
import type i18next from 'i18next'
import { saveAs } from 'file-saver'
-import {
- GlobeEuropeAfricaIcon,
- LanguageIcon,
- DocumentTextIcon,
- DeviceTabletIcon,
- ArrowRightCircleIcon,
- MagnifyingGlassIcon,
- ServerIcon,
-} from '@heroicons/react/24/outline'
+import { LanguageIcon, ArrowRightCircleIcon } from '@heroicons/react/24/outline'
import dayjs from 'dayjs'
import { area, areaSpline, spline, bar, line } from 'billboard.js'
import _forEach from 'lodash/forEach'
@@ -46,6 +38,7 @@ import { Entry } from '~/lib/models/Entry'
import { getTimeFromSeconds, getStringFromTime, sumArrays, nFormatter } from '~/utils/generic'
import countries from '~/utils/isoCountries'
import { AnalyticsFunnel } from '~/lib/models/Project'
+import { CompassIcon, FileTextIcon, MapPinIcon, MonitorCog, TabletSmartphoneIcon } from 'lucide-react'
const getAvg = (arr: any) => {
const total = _reduce(arr, (acc, c) => acc + c, 0)
@@ -1591,13 +1584,13 @@ const typeNameMapping = (t: typeof i18next.t) => ({
const iconClassName = 'w-6 h-6'
const panelIconMapping = {
- cc: <GlobeEuropeAfricaIcon className={iconClassName} />,
- pg: <DocumentTextIcon className={iconClassName} />,
+ cc: <MapPinIcon className={iconClassName} strokeWidth={1.5} />,
+ pg: <FileTextIcon className={iconClassName} strokeWidth={1.5} />,
lc: <LanguageIcon className={iconClassName} />,
ref: <ArrowRightCircleIcon className={iconClassName} />,
- dv: <DeviceTabletIcon className={iconClassName} />,
- br: <MagnifyingGlassIcon className={iconClassName} />,
- os: <ServerIcon className={iconClassName} />,
+ dv: <TabletSmartphoneIcon className={iconClassName} strokeWidth={1.5} />,
+ br: <CompassIcon className={iconClassName} strokeWidth={1.5} />,
+ os: <MonitorCog className={iconClassName} strokeWidth={1.5} />,
}
// This function return date using the same format as the backend
diff --git a/web/app/pages/Project/View/ViewProject.tsx b/web/app/pages/Project/View/ViewProject.tsx
index 9b8cb791f..50cc1e7c2 100644
--- a/web/app/pages/Project/View/ViewProject.tsx
+++ b/web/app/pages/Project/View/ViewProject.tsx
@@ -15,24 +15,26 @@ import useSize from '~/hooks/useSize'
import { useNavigate, Link, useSearchParams, useLoaderData } from '@remix-run/react'
import bb from 'billboard.js'
import {
- ArrowDownTrayIcon,
Cog8ToothIcon,
- ArrowPathIcon,
- ChartBarIcon,
- BoltIcon,
- BellIcon,
NoSymbolIcon,
MagnifyingGlassIcon,
- FunnelIcon,
ChevronLeftIcon,
GlobeAltIcon,
+ ClockIcon,
+} from '@heroicons/react/24/outline'
+import {
+ BugIcon,
+ GaugeIcon,
+ Trash2Icon,
UsersIcon,
- BugAntIcon,
+ BellRingIcon,
+ ChartNoAxesColumnIcon,
+ FilterIcon,
+ RotateCw,
BookmarkIcon,
- TrashIcon,
PencilIcon,
- ClockIcon,
-} from '@heroicons/react/24/outline'
+ DownloadIcon,
+} from 'lucide-react'
import cx from 'clsx'
import dayjs from 'dayjs'
import { useTranslation } from 'react-i18next'
@@ -103,7 +105,6 @@ import Dropdown from '~/ui/Dropdown'
import Checkbox from '~/ui/Checkbox'
import Select from '~/ui/Select'
import FlatPicker from '~/ui/Flatpicker'
-import Robot from '~/ui/icons/Robot'
import LineChart from '~/ui/icons/LineChart'
import BarChart from '~/ui/icons/BarChart'
import Forecast from '~/modals/Forecast'
@@ -878,12 +879,12 @@ const ViewProject = () => {
{
id: PROJECT_TABS.traffic,
label: t('dashboard.traffic'),
- icon: ChartBarIcon,
+ icon: ChartNoAxesColumnIcon,
},
{
id: PROJECT_TABS.performance,
label: t('dashboard.performance'),
- icon: BoltIcon,
+ icon: GaugeIcon,
},
{
id: PROJECT_TABS.sessions,
@@ -893,12 +894,12 @@ const ViewProject = () => {
{
id: PROJECT_TABS.errors,
label: t('dashboard.errors'),
- icon: BugAntIcon,
+ icon: BugIcon,
},
{
id: PROJECT_TABS.funnels,
label: t('dashboard.funnels'),
- icon: FunnelIcon,
+ icon: FilterIcon,
},
]
@@ -921,7 +922,7 @@ const ViewProject = () => {
{
id: PROJECT_TABS.alerts,
label: t('dashboard.alerts'),
- icon: BellIcon,
+ icon: BellRingIcon,
},
['79eF2Z9rNNvv', 'STEzHcB1rALV'].includes(id) && {
id: PROJECT_TABS.uptime,
@@ -3011,6 +3012,7 @@ const ViewProject = () => {
'-ml-0.5 mr-2 h-5 w-5',
)}
aria-hidden='true'
+ strokeWidth={1.5}
/>
<span>{tab.label}</span>
</Link>
@@ -3247,9 +3249,9 @@ const ViewProject = () => {
},
)}
>
- <ArrowPathIcon className='h-5 w-5 stroke-2 text-gray-700 dark:text-gray-50' />
+ <RotateCw className='h-5 w-5 text-gray-700 dark:text-gray-50' />
</button>
- {!isSelfhosted && !isActiveCompare && (
+ {/* {!isSelfhosted && !isActiveCompare && (
<div
className={cx({
hidden: activeTab !== PROJECT_TABS.traffic || _isEmpty(chartData),
@@ -3277,7 +3279,7 @@ const ViewProject = () => {
/>
</button>
</div>
- )}
+ )} */}
<div
className={cx('border-gray-200 dark:border-gray-600', {
// @ts-expect-error
@@ -3334,7 +3336,7 @@ const ViewProject = () => {
],
(x) => !!x,
)}
- title={[<BookmarkIcon key='bookmark-icon' className='h-5 w-5 stroke-2' />]}
+ title={[<BookmarkIcon key='bookmark-icon' className='h-5 w-5' />]}
labelExtractor={(item, close) => {
// @ts-expect-error
if (item.createView) {
@@ -3362,8 +3364,9 @@ const ViewProject = () => {
close()
setIsAddAViewOpened(true)
}}
+ strokeWidth={1.5}
/>
- <TrashIcon
+ <Trash2Icon
className={cx('size-4 hover:text-gray-900 dark:hover:text-gray-50', {
'cursor-not-allowed': projectViewDeleting,
})}
@@ -3372,6 +3375,7 @@ const ViewProject = () => {
close()
onProjectViewDelete(item.id)
}}
+ strokeWidth={1.5}
/>
</span>
)}
@@ -3416,7 +3420,7 @@ const ViewProject = () => {
],
(el) => !!el,
)}
- title={[<ArrowDownTrayIcon key='download-icon' className='h-5 w-5 stroke-2' />]}
+ title={[<DownloadIcon key='download-icon' className='h-5 w-5' />]}
labelExtractor={(item) => item.label}
keyExtractor={(item) => item.label}
onSelect={(item, e) => {
@@ -3644,7 +3648,7 @@ const ViewProject = () => {
},
)}
>
- <ArrowPathIcon className='h-5 w-5 text-gray-700 dark:text-gray-50' />
+ <RotateCw className='h-5 w-5 text-gray-700 dark:text-gray-50' />
</button>
)}
{activeTab === PROJECT_TABS.performance && !isPanelsDataEmptyPerf && (
@@ -3796,7 +3800,7 @@ const ViewProject = () => {
{activeTab === PROJECT_TABS.alerts && (project.role !== 'owner' || !authenticated) && (
<div className='mt-5 rounded-xl bg-gray-700 p-5'>
<div className='flex items-center text-gray-50'>
- <BellIcon className='mr-2 h-8 w-8' />
+ <BellRingIcon className='mr-2 h-8 w-8' strokeWidth={1.5} />
<p className='text-3xl font-bold'>{t('dashboard.alerts')}</p>
</div>
<p className='mt-2 whitespace-pre-wrap text-lg text-gray-100'>{t('dashboard.alertsDesc')}</p>
@@ -3831,7 +3835,7 @@ const ViewProject = () => {
{activeTab === PROJECT_TABS.funnels && !activeFunnel && _isEmpty(project.funnels) && (
<div className='mt-5 rounded-xl bg-gray-700 p-5'>
<div className='flex items-center text-gray-50'>
- <FunnelIcon className='mr-2 h-8 w-8' />
+ <FilterIcon className='mr-2 h-8 w-8' strokeWidth={1.5} />
<p className='text-3xl font-bold'>{t('dashboard.funnels')}</p>
</div>
<p className='mt-2 whitespace-pre-wrap text-lg text-gray-100'>{t('dashboard.funnelsDesc')}</p>
@@ -3886,7 +3890,7 @@ const ViewProject = () => {
},
)}
>
- <ArrowDownTrayIcon className='mr-2 h-5 w-5' />
+ <DownloadIcon className='mr-2 h-5 w-5' strokeWidth={1.5} />
{t('project.loadMore')}
</button>
)}
@@ -3957,7 +3961,7 @@ const ViewProject = () => {
},
)}
>
- <ArrowDownTrayIcon className='mr-2 h-5 w-5' />
+ <DownloadIcon className='mr-2 h-5 w-5' strokeWidth={1.5} />
{t('project.loadMore')}
</button>
)}
diff --git a/web/app/pages/Project/View/components/Filters.tsx b/web/app/pages/Project/View/components/Filters.tsx
index e2e282ccd..5d74994ab 100644
--- a/web/app/pages/Project/View/components/Filters.tsx
+++ b/web/app/pages/Project/View/components/Filters.tsx
@@ -1,4 +1,4 @@
-import { FunnelIcon, XMarkIcon } from '@heroicons/react/24/outline'
+import { XMarkIcon } from '@heroicons/react/24/outline'
import React, { memo } from 'react'
import cx from 'clsx'
import _truncate from 'lodash/truncate'
@@ -11,6 +11,7 @@ import { useTranslation } from 'react-i18next'
import countries from '~/utils/isoCountries'
import { getLocaleDisplayName } from '~/utils/generic'
import { useViewProjectContext } from '../ViewProject'
+import { FilterIcon } from 'lucide-react'
interface FilterProps {
column: string
@@ -139,7 +140,10 @@ const Filters = ({ onRemoveFilter, onChangeExclusive, tnMapping, resetFilters }:
return (
<div className='flex items-center justify-between rounded-md bg-slate-200 p-1 shadow dark:border dark:border-slate-800/50 dark:bg-slate-800/25'>
<div className='flex items-center'>
- <FunnelIcon className='box-content size-6 flex-shrink-0 px-1 text-gray-700 dark:text-gray-200' />
+ <FilterIcon
+ className='box-content size-6 flex-shrink-0 px-1 text-gray-700 dark:text-gray-200'
+ strokeWidth={1.5}
+ />
<div className='flex flex-wrap'>
{_map(filters, (props) => {
const { column, filter } = props
diff --git a/web/app/pages/Project/View/components/FunnelsList.tsx b/web/app/pages/Project/View/components/FunnelsList.tsx
index 73a219efe..8765bc1f4 100644
--- a/web/app/pages/Project/View/components/FunnelsList.tsx
+++ b/web/app/pages/Project/View/components/FunnelsList.tsx
@@ -2,8 +2,9 @@ import React from 'react'
import _map from 'lodash/map'
import cx from 'clsx'
import { useTranslation } from 'react-i18next'
-import { AdjustmentsVerticalIcon, PlusCircleIcon, TrashIcon } from '@heroicons/react/24/outline'
+import { AdjustmentsVerticalIcon, PlusCircleIcon } from '@heroicons/react/24/outline'
import { Funnel } from '~/lib/models/Project'
+import { Trash2Icon } from 'lucide-react'
interface FunnelsListProps {
funnels?: any[]
@@ -58,7 +59,7 @@ const FunnelCard = ({
<AdjustmentsVerticalIcon className='h-6 w-6 text-gray-800 hover:text-gray-900 dark:text-slate-400 dark:hover:text-slate-500' />
</button>
{allowedToManage && (
- <TrashIcon
+ <Trash2Icon
onClick={(e) => {
e.stopPropagation()
deleteFunnel(funnel.id)
@@ -71,6 +72,7 @@ const FunnelCard = ({
'cursor-not-allowed': loading,
},
)}
+ strokeWidth={1.5}
/>
)}
</div>
diff --git a/web/app/pages/Project/View/components/NoErrorDetails.tsx b/web/app/pages/Project/View/components/NoErrorDetails.tsx
index 25a181b18..aa1d97872 100644
--- a/web/app/pages/Project/View/components/NoErrorDetails.tsx
+++ b/web/app/pages/Project/View/components/NoErrorDetails.tsx
@@ -1,4 +1,4 @@
-import { BugAntIcon } from '@heroicons/react/24/outline'
+import { BugIcon } from 'lucide-react'
import { useTranslation } from 'react-i18next'
const NoErrorDetails = () => {
@@ -8,7 +8,7 @@ const NoErrorDetails = () => {
<div className='px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>
<div className='mx-auto max-w-max'>
<main className='sm:flex'>
- <BugAntIcon type='giant' className='-ml-1.5 mb-2 h-12 w-12 sm:m-0 sm:h-20 sm:w-20' />
+ <BugIcon className='-ml-1.5 mb-2 h-12 w-12 sm:m-0 sm:h-20 sm:w-20' />
<div className='sm:ml-6'>
<div className='sm:border-l sm:border-gray-200 sm:pl-6'>
<h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>
diff --git a/web/app/pages/Project/View/components/Pageflow.tsx b/web/app/pages/Project/View/components/Pageflow.tsx
index 12c54c325..a588b6e79 100644
--- a/web/app/pages/Project/View/components/Pageflow.tsx
+++ b/web/app/pages/Project/View/components/Pageflow.tsx
@@ -1,8 +1,9 @@
import React from 'react'
-import { NewspaperIcon, CursorArrowRaysIcon } from '@heroicons/react/24/outline'
+import { CursorArrowRaysIcon } from '@heroicons/react/24/outline'
import _map from 'lodash/map'
import _toUpper from 'lodash/toUpper'
import { Trans, useTranslation } from 'react-i18next'
+import { FileTextIcon } from 'lucide-react'
interface Metadata {
key: string
@@ -68,7 +69,9 @@ export const Pageflow = ({ pages, timeFormat }: PageflowProps) => {
<div className='relative flex space-x-3'>
<div>
<span className='flex h-8 w-8 items-center justify-center rounded-full bg-slate-400 dark:bg-slate-800'>
- {type === 'pageview' && <NewspaperIcon className='h-5 w-5 text-white' aria-hidden='true' />}
+ {type === 'pageview' && (
+ <FileTextIcon className='h-5 w-5 text-white' aria-hidden='true' strokeWidth={1.5} />
+ )}
{type === 'event' && <CursorArrowRaysIcon className='h-5 w-5 text-white' aria-hidden='true' />}
</span>
</div>
diff --git a/web/app/pages/Project/View/components/TBPeriodSelector.tsx b/web/app/pages/Project/View/components/TBPeriodSelector.tsx
index 008e8a230..afd1bd7b0 100644
--- a/web/app/pages/Project/View/components/TBPeriodSelector.tsx
+++ b/web/app/pages/Project/View/components/TBPeriodSelector.tsx
@@ -1,6 +1,5 @@
import React, { memo, Fragment, useMemo } from 'react'
import { Popover, PopoverButton, PopoverPanel, Transition } from '@headlessui/react'
-import { CalendarDaysIcon } from '@heroicons/react/24/outline'
import { ChevronDownIcon } from '@heroicons/react/20/solid'
import { useTranslation } from 'react-i18next'
import _map from 'lodash/map'
@@ -8,6 +7,7 @@ import _includes from 'lodash/includes'
import cx from 'clsx'
import { ALL_PERIODS } from '~/lib/constants'
import { useViewProjectContext } from '../ViewProject'
+import { CalendarIcon } from 'lucide-react'
interface TBPeriodSelectorProps {
title: string | number | React.ReactNode
@@ -38,7 +38,7 @@ const TBPeriodSelector = ({ items, title, onSelect, activePeriod, classes }: TBP
{({ open }) => (
<>
<PopoverButton className='group inline-flex w-full px-2.5 py-2 text-sm font-medium text-gray-700 outline-none dark:text-gray-50 md:px-4'>
- <CalendarDaysIcon className='mr-1 h-5 w-5' />
+ <CalendarIcon className='mr-1 h-5 w-5' strokeWidth={1.5} />
<span>{title}</span>
<ChevronDownIcon
className={cx(
diff --git a/web/app/pages/Project/View/components/WaitingForAnError.tsx b/web/app/pages/Project/View/components/WaitingForAnError.tsx
index 024c23ed5..fbc354d4d 100644
--- a/web/app/pages/Project/View/components/WaitingForAnError.tsx
+++ b/web/app/pages/Project/View/components/WaitingForAnError.tsx
@@ -1,8 +1,8 @@
-import { BugAntIcon } from '@heroicons/react/24/outline'
import { Link } from '@remix-run/react'
import { useTranslation, Trans } from 'react-i18next'
import routes from '~/utils/routes'
import { ERROR_TRACKING_DOCS_URL } from '~/lib/constants'
+import { BugIcon } from 'lucide-react'
const TROUBLESHOOTING_URL = 'https://docs.swetrix.com/troubleshooting'
@@ -13,10 +13,7 @@ const WaitingForAnError = () => {
<div className='px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8'>
<div className='mx-auto max-w-max'>
<main className='sm:flex'>
- <BugAntIcon
- type='giant'
- className='-ml-1.5 mb-2 h-12 w-12 text-gray-900 dark:text-gray-50 sm:m-0 sm:h-20 sm:w-20'
- />
+ <BugIcon className='-ml-1.5 mb-2 h-12 w-12 text-gray-900 dark:text-gray-50 sm:m-0 sm:h-20 sm:w-20' />
<div className='sm:ml-6'>
<div className='sm:border-l sm:border-gray-200 sm:pl-6'>
<h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50 sm:text-5xl'>
diff --git a/web/app/pages/Project/uptime/View.tsx b/web/app/pages/Project/uptime/View.tsx
index cf2752bed..0e5216ac5 100644
--- a/web/app/pages/Project/uptime/View.tsx
+++ b/web/app/pages/Project/uptime/View.tsx
@@ -12,10 +12,8 @@ import { useSelector } from 'react-redux'
import {
CurrencyDollarIcon,
AdjustmentsVerticalIcon,
- TrashIcon,
PlusCircleIcon,
ClockIcon,
- ArrowPathIcon,
ChevronLeftIcon,
XCircleIcon,
} from '@heroicons/react/24/outline'
@@ -36,6 +34,7 @@ import { MetricCardsUptime } from '../View/components/MetricCards'
import NoMonitorEvents from './components/NoMonitorDetails'
import Loader from '~/ui/Loader'
import Pagination from '~/ui/Pagination'
+import { RotateCw, Trash2Icon } from 'lucide-react'
interface MonitorCardProps {
monitor: Monitor
@@ -75,7 +74,7 @@ const MonitorCard = ({ monitor, deleteMonitor, onClick, allowedToManage }: Monit
className='h-6 w-6 text-gray-800 hover:text-gray-900 dark:text-slate-400 dark:hover:text-slate-500'
/>
</Link>
- <TrashIcon
+ <Trash2Icon
onClick={(e) => {
e.stopPropagation()
setShowDeleteModal(true)
@@ -83,6 +82,7 @@ const MonitorCard = ({ monitor, deleteMonitor, onClick, allowedToManage }: Monit
role='button'
aria-label={t('common.delete')}
className='h-6 w-6 text-gray-800 hover:text-gray-900 dark:text-slate-400 dark:hover:text-slate-500'
+ strokeWidth={1.5}
/>
</div>
)}
@@ -380,7 +380,7 @@ const Uptime = () => {
},
)}
>
- <ArrowPathIcon className='h-5 w-5 text-gray-700 dark:text-gray-50' />
+ <RotateCw className='h-5 w-5 text-gray-700 dark:text-gray-50' />
</button>
<TBPeriodSelector
activePeriod={activePeriod}
diff --git a/web/app/pages/UserSettings/UserSettings.tsx b/web/app/pages/UserSettings/UserSettings.tsx
index 0fda1d49e..edf7327b4 100644
--- a/web/app/pages/UserSettings/UserSettings.tsx
+++ b/web/app/pages/UserSettings/UserSettings.tsx
@@ -15,11 +15,7 @@ import _find from 'lodash/find'
import {
EnvelopeIcon,
ExclamationTriangleIcon,
- ArrowDownTrayIcon,
ChevronDownIcon,
- UserIcon,
- ChatBubbleLeftEllipsisIcon,
- ComputerDesktopIcon,
CursorArrowRaysIcon,
} from '@heroicons/react/24/outline'
import dayjs from 'dayjs'
@@ -74,6 +70,7 @@ import { authActions } from '~/lib/reducers/auth'
import { removeRefreshToken } from '~/utils/refreshToken'
import { removeAccessToken } from '~/utils/accessToken'
import { logout } from '~/utils/auth'
+import { DownloadIcon, MessageSquareTextIcon, MonitorIcon, UserRoundIcon } from 'lucide-react'
dayjs.extend(utc)
@@ -92,12 +89,12 @@ const getTabs = (t: typeof i18next.t) => {
{
id: TAB_MAPPING.ACCOUNT,
label: t('profileSettings.account'),
- icon: UserIcon,
+ icon: UserRoundIcon,
},
{
id: TAB_MAPPING.INTERFACE,
label: 'Interface settings',
- icon: ComputerDesktopIcon,
+ icon: MonitorIcon,
},
]
}
@@ -106,17 +103,17 @@ const getTabs = (t: typeof i18next.t) => {
{
id: TAB_MAPPING.ACCOUNT,
label: t('profileSettings.account'),
- icon: UserIcon,
+ icon: UserRoundIcon,
},
{
id: TAB_MAPPING.COMMUNICATIONS,
label: 'Communications',
- icon: ChatBubbleLeftEllipsisIcon,
+ icon: MessageSquareTextIcon,
},
{
id: TAB_MAPPING.INTERFACE,
label: 'Interface settings',
- icon: ComputerDesktopIcon,
+ icon: MonitorIcon,
},
{
id: TAB_MAPPING.REFERRALS,
@@ -493,6 +490,7 @@ const UserSettings = () => {
'-ml-0.5 mr-2 h-5 w-5',
)}
aria-hidden='true'
+ strokeWidth={1.5}
/>
<span>{tab.label}</span>
</div>
@@ -762,7 +760,7 @@ const UserSettings = () => {
<div className='mt-4 flex flex-wrap justify-center gap-2 sm:justify-between'>
<Button onClick={() => setShowExportModal(true)} semiSmall primary>
<>
- <ArrowDownTrayIcon className='mr-1 h-5 w-5' />
+ <DownloadIcon className='mr-1 h-5 w-5' strokeWidth={1.5} />
{t('profileSettings.requestExport')}
</>
</Button>
diff --git a/web/app/routes/index.tsx b/web/app/routes/index.tsx
index 8a9b3889c..94f376940 100644
--- a/web/app/routes/index.tsx
+++ b/web/app/routes/index.tsx
@@ -27,7 +27,7 @@ import {
BROWSER_LOGO_MAP,
} from '~/lib/constants'
import { StateType } from '~/lib/store/index'
-import { Cookie } from 'lucide-react'
+import { Cookie, FileTextIcon } from 'lucide-react'
import Header from '~/components/Header'
import Pricing from '~/components/marketing/Pricing'
@@ -37,7 +37,7 @@ import React, { useEffect, useState } from 'react'
import clsx from 'clsx'
import { MetricCard, MetricCardSelect } from '~/pages/Project/View/components/MetricCards'
import CCRow from '~/pages/Project/View/components/CCRow'
-import { CheckIcon, CursorArrowRaysIcon, GlobeAltIcon, NewspaperIcon } from '@heroicons/react/24/outline'
+import { CheckIcon, CursorArrowRaysIcon, GlobeAltIcon } from '@heroicons/react/24/outline'
import { LogoTimeline } from '~/components/marketing/LogoTimeline'
import { MarketplaceCluster } from '~/components/marketing/MarketplaceCluster'
import { ConveyorBelt } from '~/components/marketing/ConveyorBelt'
@@ -616,7 +616,7 @@ const FeatureBlocks = ({ theme }: { theme: 'dark' | 'light' }) => {
<div>
<span className='flex h-8 w-8 items-center justify-center rounded-full bg-slate-400 dark:bg-slate-800'>
{path.startsWith('/') ? (
- <NewspaperIcon className='h-5 w-5 text-white' aria-hidden='true' />
+ <FileTextIcon className='h-5 w-5 text-white' aria-hidden='true' strokeWidth={1.5} />
) : (
<CursorArrowRaysIcon className='h-5 w-5 text-white' aria-hidden='true' />
)}
@@ -628,6 +628,7 @@ const FeatureBlocks = ({ theme }: { theme: 'dark' | 'light' }) => {
i18nKey={path.startsWith('/') ? 'project.pageviewX' : 'project.eventX'}
components={{
value: <span className='font-medium text-gray-900 dark:text-gray-50' />,
+ span: <span />,
}}
values={{
x: path,
diff --git a/web/app/ui/Tooltip.tsx b/web/app/ui/Tooltip.tsx
index 0872dc74b..c1a7578f1 100644
--- a/web/app/ui/Tooltip.tsx
+++ b/web/app/ui/Tooltip.tsx
@@ -1,4 +1,4 @@
-import { QuestionMarkCircleIcon } from '@heroicons/react/24/solid'
+import { CircleHelpIcon } from 'lucide-react'
import React, { forwardRef, memo } from 'react'
import * as TooltipPrimitive from '@radix-ui/react-tooltip'
import cx from 'clsx'
@@ -41,7 +41,12 @@ const Tooltip = ({ text, className, tooltipNode }: TooltipProps) => (
<TooltipProvider delayDuration={200}>
<TooltipRoot>
<TooltipTrigger className={className}>
- {tooltipNode || <QuestionMarkCircleIcon className='h-5 w-5 text-gray-700 dark:text-gray-300' />}
+ {tooltipNode || (
+ <CircleHelpIcon
+ className='h-5 w-5 fill-slate-700 stroke-gray-50 dark:fill-slate-200 dark:stroke-slate-800'
+ strokeWidth={1.5}
+ />
+ )}
</TooltipTrigger>
<TooltipContent>{text}</TooltipContent>
</TooltipRoot>
diff --git a/web/app/ui/icons/Robot.tsx b/web/app/ui/icons/Robot.tsx
deleted file mode 100644
index 42faf369e..000000000
--- a/web/app/ui/icons/Robot.tsx
+++ /dev/null
@@ -1,37 +0,0 @@
-import React from 'react'
-import cx from 'clsx'
-
-interface RobotProps {
- className?: string
- containerClassName?: string
- theme: 'dark' | 'light'
-}
-
-const Robot = ({ className, containerClassName, theme }: RobotProps) => {
- const cn = cx(className, {
- 'fill-text-gray-700': theme === 'dark',
- 'fill-white': theme === 'light',
- })
-
- return (
- <svg
- className={containerClassName}
- width='24'
- height='24'
- viewBox='0 0 24 24'
- fill='none'
- stroke='currentColor'
- strokeWidth='2'
- strokeLinecap='round'
- strokeLinejoin='round'
- >
- <rect x='3' y='11' width='18' height='10' rx='2' className={cn} />
- <circle cx='12' cy='5' r='2' className={cn} />
- <path d='M12 7v4' className={cn} />
- <line x1='8' y1='16' x2='8' y2='16' className={cn} />
- <line x1='16' y1='16' x2='16' y2='16' className={cn} />
- </svg>
- )
-}
-
-export default Robot