Update codebase to enhance debugging and improve user interface

The codebase has been updated throughout to improve debugging capabilities notably in the PostgresDatabaseWebhookVerifierService and create-reader modules. User interface has also been enhanced in the marketing layout and blog page. Minor reordering of entries in email-templates and adjustment of configurations in turbo.json has also been performed.
This commit is contained in:
giancarlo
2024-05-02 01:16:50 +07:00
parent a161af1624
commit 65e8dab1b2
10 changed files with 50 additions and 15 deletions

View File

@@ -26,7 +26,6 @@ CMS_CLIENT=keystatic
# KEYSTATIC
NEXT_PUBLIC_KEYSTATIC_CONTENT_PATH=./content
KEYSTATIC_PATH_PREFIX=apps/web
# LOCALES PATH
NEXT_PUBLIC_LOCALES_PATH=apps/web/public/locales

View File

@@ -7,7 +7,7 @@ import appConfig from '~/config/app.config';
export function SiteFooter() {
return (
<footer className={'border-t py-8 xl:py-12 2xl:py-14'}>
<footer className={'mt-auto border-t py-8 2xl:py-14'}>
<div className={'px-8'}>
<div className={'flex flex-col space-y-8 lg:flex-row lg:space-y-0'}>
<div

View File

@@ -63,8 +63,8 @@ async function BlogPost({ params }: { params: { slug: string } }) {
}
return (
<div className={'container'}>
<Post post={post} content={post.content} />;
<div className={'container sm:max-w-none sm:p-0'}>
<Post post={post} content={post.content} />
</div>
);
}

View File

@@ -8,13 +8,13 @@ async function SiteLayout(props: React.PropsWithChildren) {
const user = await getUser();
return (
<>
<div className={'flex min-h-[100vh] flex-col'}>
<SiteHeader user={user} />
{props.children}
<SiteFooter />
</>
</div>
);
}