style: centered contents for all pages

This commit is contained in:
2023-12-11 01:13:36 -06:00
parent ca0efb56cb
commit 82e333cb38
6 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
export default async function Lesson() {
return (
<main className="">
<main className="mx-auto max-w-2xl">
<h1 className="text-2xl font-bold">Lesson</h1>
</main>
);

View File

@@ -1,6 +1,6 @@
export default async function Landing() {
return (
<main className="">
<main className="mx-auto max-w-2xl">
<h1 className="text-2xl font-bold">Landing</h1>
</main>
);

View File

@@ -1,6 +1,6 @@
export default async function Practice() {
return (
<main className="">
<main className="mx-auto max-w-2xl">
<h1 className="text-2xl font-bold">Practice</h1>
</main>
);

View File

@@ -4,7 +4,7 @@ export default async function Profile() {
const user = await currentUser();
return (
<main className="">
<main className="mx-auto max-w-2xl">
<h1 className="text-2xl font-bold">Profile</h1>
<pre>{JSON.stringify(user, undefined, 2)}</pre>
</main>

View File

@@ -4,7 +4,7 @@ export default async function Profile() {
const user = await currentUser();
return (
<main className="">
<main className="mx-auto max-w-2xl">
<h1 className="text-2xl font-bold">Profile</h1>
<pre>{JSON.stringify(user, undefined, 2)}</pre>
</main>

View File

@@ -1,6 +1,6 @@
export default async function Settings() {
return (
<main className="">
<main className="mx-auto max-w-2xl">
<h1 className="text-2xl font-bold">Settings</h1>
</main>
);