@@ -2,10 +2,12 @@ import TextField from "@mui/material/TextField";
2
2
import InputAdornment from "@mui/material/InputAdornment" ;
3
3
import Tooltip from "@mui/material/Tooltip" ;
4
4
import IconButton from "@mui/material/IconButton" ;
5
+ import Box from "@mui/material/Box" ;
6
+ import Link from "@mui/material/Link" ;
5
7
import SearchIcon from "@mui/icons-material/SearchOutlined" ;
6
8
import ClearIcon from "@mui/icons-material/CloseOutlined" ;
7
9
import { useTheme } from "@emotion/react" ;
8
- import { type ReactNode , useMemo , useState } from "react" ;
10
+ import { type FC , type ReactNode , useMemo , useState } from "react" ;
9
11
import uFuzzy from "ufuzzy" ;
10
12
import { CopyableValue } from "components/CopyableValue/CopyableValue" ;
11
13
import { Margins } from "components/Margins/Margins" ;
@@ -16,7 +18,6 @@ import {
16
18
} from "components/PageHeader/PageHeader" ;
17
19
import { Stack } from "components/Stack/Stack" ;
18
20
import icons from "theme/icons.json" ;
19
- import { Box , Link } from "@mui/material" ;
20
21
import { EmptyState } from "components/EmptyState/EmptyState" ;
21
22
22
23
const iconsWithoutSuffix = icons . map ( ( icon ) => icon . split ( "." ) [ 0 ] ) ;
@@ -28,7 +29,7 @@ const fuzzyFinder = new uFuzzy({
28
29
intraDel : 1 ,
29
30
} ) ;
30
31
31
- export default function ( ) {
32
+ export const IconsPage : FC = ( ) => {
32
33
const theme = useTheme ( ) ;
33
34
const [ searchText , setSearchText ] = useState ( "" ) ;
34
35
@@ -86,7 +87,9 @@ export default function () {
86
87
</ Box >
87
88
}
88
89
>
89
- < Link href = "" > Suggest an icon</ Link >
90
+ < Link href = "https://github.com/coder/coder/tree/main/site/static/icon" >
91
+ Suggest an icon
92
+ </ Link >
90
93
</ Tooltip >
91
94
}
92
95
>
@@ -177,4 +180,6 @@ export default function () {
177
180
</ Stack >
178
181
</ Margins >
179
182
) ;
180
- }
183
+ } ;
184
+
185
+ export default IconsPage ;
0 commit comments