Skip to content

Commit a828af3

Browse files
committed
sidebar ad
1 parent 6c7a8c3 commit a828af3

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

app/routes/_libraries/route.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
useLocation,
77
} from '@tanstack/react-router'
88
import { CgClose, CgMenuLeft, CgMusicSpeaker } from 'react-icons/cg'
9-
import { MdLibraryBooks, MdSupport } from 'react-icons/md'
9+
import { MdLibraryBooks, MdLineAxis, MdSupport } from 'react-icons/md'
1010
import { twMerge } from 'tailwind-merge'
1111
import { sortBy } from '~/utils/utils'
1212
import logoColor100w from '~/images/logo-color-100w.png'
@@ -161,6 +161,18 @@ function LibrariesLayout() {
161161
icon: <MdLibraryBooks />,
162162
to: '/learn',
163163
},
164+
{
165+
label: (
166+
<span className="flex items-center gap-2">
167+
Stats
168+
<span className="text-xs bg-transparent text-transparent bg-clip-text bg-gradient-to-r border border-cyan-600 from-blue-500 to-cyan-500 font-bold px-1 rounded">
169+
BETA
170+
</span>
171+
</span>
172+
),
173+
icon: <MdLineAxis />,
174+
to: '/stats/npm',
175+
},
164176
{
165177
label: 'Discord',
166178
icon: <FaDiscord />,

0 commit comments

Comments
 (0)