forked from radix-ui/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiconsRoutes.tsx
53 lines (50 loc) · 1.26 KB
/
iconsRoutes.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import {
CubeIcon,
DownloadIcon,
FigmaLogoIcon,
GitHubLogoIcon,
IconJarLogoIcon,
SketchLogoIcon,
} from '@radix-ui/react-icons';
export const iconsRoutes: RouteProps[] = [
{
label: 'Resources',
pages: [
{
title: 'Figma',
slug: 'https://www.figma.com/file/9Df5CaFUEomVzn20gRpaX3/Radix-Icons',
icon: <FigmaLogoIcon />,
},
{
title: 'Sketch',
slug: 'https://raw.githubusercontent.com/radix-ui/icons/master/Radix-Icons.sketch',
icon: <SketchLogoIcon />,
},
{
title: 'IconJar',
slug: 'https://raw.githubusercontent.com/radix-ui/icons/master/Radix-Icons.iconjar.zip',
icon: <IconJarLogoIcon />,
},
{
title: 'SVG',
slug: 'https://raw.githubusercontent.com/radix-ui/icons/master/radix-icons.zip',
icon: <DownloadIcon />,
},
{
title: 'npm',
slug: 'https://www.npmjs.com/package/@radix-ui/react-icons',
icon: <CubeIcon />,
},
{ title: 'GitHub', slug: 'https://github.com/radix-ui/icons', icon: <GitHubLogoIcon /> },
],
},
];
export type PageProps = {
title: string;
slug: string;
icon: React.ReactNode;
};
export type RouteProps = {
label: string;
pages: PageProps[];
};