@@ -66,42 +66,44 @@ function Toolbox({ Component, pageProps }: AppProps) {
66
66
css = { tw `text-white w-full md:px-8 p-2 h-14 flex flex-row text-white md:px-12` }
67
67
>
68
68
< div css = { tw `flex flex-row w-full` } >
69
- < div css = { tw `flex flex-row` } >
70
- < div css = { tw `my-auto` } >
71
- < FontAwesomeIcon icon = { faToolbox } size = { "2x" } />
72
- </ div >
73
- < div css = { tw `ml-2 my-auto font-bold text-center` } >
74
- < p
75
- css = { css `
76
- margin-bottom: -0.2rem;
77
- ` }
78
- >
79
- HelpChat
80
- </ p >
81
- < p
82
- css = { css `
83
- margin-top: -0.2rem;
84
- ${ tw `text-xs` }
85
- ` }
86
- >
87
- ToolBox
88
- </ p >
69
+ < Link href = { "/" } passHref >
70
+ < div css = { tw `flex flex-row hover:cursor-pointer` } >
71
+ < div css = { tw `my-auto` } >
72
+ < FontAwesomeIcon icon = { faToolbox } size = { "2x" } />
73
+ </ div >
74
+ < div css = { tw `ml-2 my-auto font-bold text-center` } >
75
+ < p
76
+ css = { css `
77
+ margin-bottom: -0.2rem;
78
+ ` }
79
+ >
80
+ HelpChat
81
+ </ p >
82
+ < p
83
+ css = { css `
84
+ margin-top: -0.2rem;
85
+ ${ tw `text-xs` }
86
+ ` }
87
+ >
88
+ ToolBox
89
+ </ p >
90
+ </ div >
89
91
</ div >
90
- </ div >
92
+ </ Link >
91
93
< div css = { tw `flex flex-row flex-grow flex-shrink` } >
92
- < Link href = { "/" } >
94
+ < Link href = { "/" } passHref >
93
95
< p
94
96
css = { tw `px-3 mx-1 py-2 my-auto ml-auto hover:cursor-pointer` }
95
97
>
96
98
Home
97
99
</ p >
98
100
</ Link >
99
- < Link href = { "https://www.spigotmc.org/members/helpchat.1491649/" } >
101
+ < Link href = { "https://www.spigotmc.org/members/helpchat.1491649/" } passHref >
100
102
< p css = { tw `px-3 mx-1 py-2 my-auto hover:cursor-pointer` } >
101
103
Spigot
102
104
</ p >
103
105
</ Link >
104
- < Link href = { "https://github.com/HelpChat" } >
106
+ < Link href = { "https://github.com/HelpChat" } passHref >
105
107
< p css = { tw `px-3 mx-1 py-2 my-auto hover:cursor-pointer` } >
106
108
Github
107
109
</ p >
@@ -130,7 +132,7 @@ function Toolbox({ Component, pageProps }: AppProps) {
130
132
if ( Array . isArray ( Tools [ key ] ) ) {
131
133
( Tools [ key ] as ToolboxTool [ ] ) . forEach ( ( tool ) => {
132
134
children . push (
133
- < Link href = { tool . link } key = { tool . short } >
135
+ < Link href = { tool . link } key = { tool . short } passHref >
134
136
< p
135
137
css = { tw `px-3 ml-2 pt-3 pb-1 hover:cursor-pointer` }
136
138
>
@@ -147,7 +149,7 @@ function Toolbox({ Component, pageProps }: AppProps) {
147
149
key1
148
150
] . forEach ( ( tool ) => {
149
151
children . push (
150
- < Link href = { tool . link } key = { tool . short } >
152
+ < Link href = { tool . link } key = { tool . short } passHref >
151
153
< p
152
154
css = { tw `px-3 ml-3 pt-3 pb-1 hover:cursor-pointer` }
153
155
>
@@ -182,7 +184,7 @@ function Toolbox({ Component, pageProps }: AppProps) {
182
184
} ) }
183
185
</ div >
184
186
</ div >
185
- < Link href = { "https://discord.gg/helpchat" } >
187
+ < Link href = { "https://discord.gg/helpchat" } passHref >
186
188
< p
187
189
css = { tw `px-3 mx-1 py-2 my-auto hover:cursor-pointer bg-white text-black rounded-md` }
188
190
>
@@ -198,11 +200,4 @@ function Toolbox({ Component, pageProps }: AppProps) {
198
200
) ;
199
201
}
200
202
201
- type ColorSplotch = {
202
- color : string ;
203
- size : number ;
204
- x : number ;
205
- y : number ;
206
- } ;
207
-
208
203
export default Toolbox ;
0 commit comments