Build svg into components.

This commit is contained in:
Mike Cao 2025-03-03 18:37:49 -08:00
parent fdc73268b7
commit 5682b4d217
64 changed files with 16267 additions and 176 deletions

View file

@ -1,13 +1,12 @@
import { ReactNode } from 'react';
import { Button, Icon, Text } from 'react-basics';
import Link from 'next/link';
import { usePathname } from 'next/navigation';
import classNames from 'classnames';
import { Favicon } from '@/components/common/Favicon';
import { useMessages, useTeamUrl, useWebsite } from '@/components/hooks';
import { Icons } from '@/components/icons';
import { ActiveUsers } from '@/components/metrics/ActiveUsers';
import Link from 'next/link';
import { usePathname } from 'next/navigation';
import { ReactNode } from 'react';
import { Button, Icon, Text } from 'react-basics';
import Lightning from '@/assets/lightning.svg';
import styles from './WebsiteHeader.module.css';
export function WebsiteHeader({
@ -33,7 +32,7 @@ export function WebsiteHeader({
},
{
label: formatMessage(labels.events),
icon: <Lightning />,
icon: <Icons.Lightning />,
path: '/events',
},
{