@@ -6,9 +6,10 @@ import { apiClient } from "@/app/apiClient";
6
6
import { ProfileForm } from "@/app/settings/ProfileForm" ;
7
7
import { SettingsForm } from "@/app/settings/SettingsForm" ;
8
8
import { AuthForm } from "@/app/settings/AuthForm" ;
9
- import { log } from "node:util" ;
10
9
import { ReactNode } from "react" ;
11
10
import classNames from "classnames" ;
11
+ import { ExportImportForm } from "@/app/settings/ExportImportForm" ;
12
+ import { BlocksForm } from "@/app/settings/BlocksForm" ;
12
13
13
14
const SettingsPage = async ( ) => {
14
15
const { my_user : loggedInUser } = await apiClient . getSite ( ) ;
@@ -44,10 +45,10 @@ const SettingsPage = async () => {
44
45
< AuthForm loggedInUser = { loggedInUser } />
45
46
</ Section >
46
47
< Section className = { "border-l-0 lg:border-l xl:border-l-0" } >
47
- < h1 className = { "text-xl" } > { "Blocks" } </ h1 >
48
+ < BlocksForm loggedInUser = { loggedInUser } / >
48
49
</ Section >
49
50
< Section className = { "border-l-0 lg:border-l-0 xl:border-l" } >
50
- < h1 className = { "text-xl" } > { "Data" } </ h1 >
51
+ < ExportImportForm loggedInUser = { loggedInUser } / >
51
52
</ Section >
52
53
< Section className = { "border-l-0 lg:border-l xl:border-l" } >
53
54
{ null }
@@ -64,7 +65,8 @@ const Section = (props: {
64
65
return (
65
66
< div
66
67
className = { classNames (
67
- "w-full border-l border-t border-neutral-700 p-10" ,
68
+ `flex w-full justify-center border-l border-t border-neutral-700 p-4 lg:p-10
69
+ xl:justify-start` ,
68
70
props . className ,
69
71
) }
70
72
>
0 commit comments