add preloading to account's pages

This commit is contained in:
tedraykov
2024-06-21 16:24:45 +03:00
parent 19065c1d82
commit aa29b3071d
12 changed files with 285 additions and 186 deletions

View File

@@ -38,7 +38,7 @@ export default async function Page({ params }: { params: { page: string } }) {
{page.title}
</h1>
</div>
<main>
<div>
<div className="mx-auto max-w-7xl py-6 sm:px-6 lg:px-8">
<div className="flex flex-col space-y-16">
{page.metaobjects?.map((content) => (
@@ -48,7 +48,7 @@ export default async function Page({ params }: { params: { page: string } }) {
))}
</div>
</div>
</main>
</div>
</>
);
}