From 1876bbd9e448f58a60c65374040e41974d4280d0 Mon Sep 17 00:00:00 2001 From: gbuomprisco Date: Thu, 18 Jul 2024 09:18:16 +0200 Subject: [PATCH] Update error handling and UI design across multiple files Enhanced error handling in documentation and blog pages, to ensure smoother running and user experience. This also includes additional UI updates related to font selection, layout arrangement, and interactive elements on error pages, marketing pages, and general site navigation components. Moreover, a "contact us" feature has been added to error pages to help users seek assistance more conveniently. --- .../(marketing)/_components/site-footer.tsx | 2 +- .../(marketing)/_components/site-header.tsx | 2 +- .../_components/site-navigation-item.tsx | 3 +- .../_components/site-navigation.tsx | 8 +++-- .../_components/site-page-header.tsx | 12 +++++-- .../blog/_components/post-header.tsx | 6 +++- apps/web/app/(marketing)/blog/page.tsx | 24 +++++++++----- .../docs/_lib/server/docs.loader.ts | 20 ++++++++---- apps/web/app/(marketing)/docs/layout.tsx | 2 +- apps/web/app/(marketing)/page.tsx | 16 +++++++--- apps/web/app/error.tsx | 30 ++++++++++++----- apps/web/app/global-error.tsx | 32 +++++++++++++++---- apps/web/app/version/route.ts | 4 ++- .../gateway/src/components/pricing-table.tsx | 4 +-- .../components/password-sign-up-container.tsx | 2 +- packages/i18n/src/create-i18n-settings.ts | 6 +++- packages/ui/src/shadcn/heading.tsx | 10 +++--- 17 files changed, 129 insertions(+), 54 deletions(-) diff --git a/apps/web/app/(marketing)/_components/site-footer.tsx b/apps/web/app/(marketing)/_components/site-footer.tsx index 98d0e3c3f..25c2346c6 100644 --- a/apps/web/app/(marketing)/_components/site-footer.tsx +++ b/apps/web/app/(marketing)/_components/site-footer.tsx @@ -7,7 +7,7 @@ import appConfig from '~/config/app.config'; export function SiteFooter() { return ( -