@@ -23,6 +23,7 @@ import { BlobReader, TextWriter, ZipReader } from '@zip.js/zip.js';
23
23
import { Button } from '@/components/Button' ;
24
24
import { Platform } from '@/utils/statsfm' ;
25
25
import { AccountLayout } from '@/components/settings/Layout' ;
26
+ import { SettingsHeader } from '@/components/settings/SettingsHeader' ;
26
27
27
28
export const getServerSideProps : GetServerSideProps < SSRProps > = async ( ctx ) => {
28
29
const user = await fetchUser ( ctx ) ;
@@ -226,6 +227,20 @@ const Imports = () => {
226
227
return (
227
228
< div className = "relative w-full" >
228
229
< Title > Imports</ Title >
230
+ < SettingsHeader title = "Imports" />
231
+
232
+ < p >
233
+ Check more about importing your lifetime streaming history{ ' ' }
234
+ < a
235
+ className = "text-primary hover:opacity-90"
236
+ href = "https://support.stats.fm/docs/import"
237
+ target = "blank"
238
+ onClick = { ( ) => event ( 'IMPORT_guide_click' ) }
239
+ >
240
+ in the support documentation
241
+ </ a >
242
+ .
243
+ </ p >
229
244
{ importWarning ?. asBoolean ( ) && (
230
245
< div className = "my-8 w-full flex-row rounded-md border-l-4 border-l-yellow-400/80 bg-yellow-400/20 p-4" >
231
246
< div className = "flex w-full flex-col" >
@@ -239,19 +254,6 @@ const Imports = () => {
239
254
</ div >
240
255
</ div >
241
256
) }
242
- < h2 > Imports</ h2 >
243
- < p >
244
- Check more about importing your lifetime streaming history{ ' ' }
245
- < a
246
- className = "text-primary hover:opacity-90"
247
- href = "https://support.stats.fm/docs/import"
248
- target = "blank"
249
- onClick = { ( ) => event ( 'IMPORT_guide_click' ) }
250
- >
251
- in the support documentation
252
- </ a >
253
- .
254
- </ p >
255
257
{ user . isPlus ? (
256
258
< >
257
259
{ importAvailable ?. asBoolean ( ) ? (
0 commit comments