@@ -22,6 +22,7 @@ import { MdFileUpload, MdWarning } from 'react-icons/md';
22
22
import { BlobReader , TextWriter , ZipReader } from '@zip.js/zip.js' ;
23
23
import { Button } from '@/components/Button' ;
24
24
import { AccountLayout } from '@/components/settings/Layout' ;
25
+ import { SettingsHeader } from '@/components/settings/SettingsHeader' ;
25
26
26
27
export const getServerSideProps : GetServerSideProps < SSRProps > = async ( ctx ) => {
27
28
const user = await fetchUser ( ctx ) ;
@@ -199,6 +200,20 @@ const Imports = () => {
199
200
return (
200
201
< div className = "relative w-full" >
201
202
< Title > Imports</ Title >
203
+ < SettingsHeader title = "Imports" />
204
+
205
+ < p >
206
+ Check more about importing your lifetime streaming history{ ' ' }
207
+ < a
208
+ className = "text-primary hover:opacity-90"
209
+ href = "https://support.stats.fm/docs/import"
210
+ target = "blank"
211
+ onClick = { ( ) => event ( 'IMPORT_guide_click' ) }
212
+ >
213
+ in the support documentation
214
+ </ a >
215
+ .
216
+ </ p >
202
217
{ importWarning ?. asBoolean ( ) && (
203
218
< div className = "my-8 w-full flex-row rounded-md border-l-4 border-l-yellow-400/80 bg-yellow-400/20 p-4" >
204
219
< div className = "flex w-full flex-col" >
@@ -212,19 +227,6 @@ const Imports = () => {
212
227
</ div >
213
228
</ div >
214
229
) }
215
- < h2 > Imports</ h2 >
216
- < p >
217
- Check more about importing your lifetime streaming history{ ' ' }
218
- < a
219
- className = "text-primary hover:opacity-90"
220
- href = "https://support.stats.fm/docs/import"
221
- target = "blank"
222
- onClick = { ( ) => event ( 'IMPORT_guide_click' ) }
223
- >
224
- in the support documentation
225
- </ a >
226
- .
227
- </ p >
228
230
{ user . isPlus ? (
229
231
< >
230
232
{ importAvailable ?. asBoolean ( ) ? (
0 commit comments