Update UI and improve i18n loading logic
Major changes include enhancements to the UI and modifications to the i18n loading logic to more effectively handle namespaces. Several components were updated to improve readability and layout consistency. The i18n loading logic now includes additional handling for waiting until all namespaces are loaded before the i18n instance is returned, with a warning if it takes longer than expected. Furthermore, code have been refactored for fonts, buttons, and other UI elements.
This commit is contained in:
@@ -12,7 +12,7 @@ export function PostHeader({ post }: { post: Cms.ContentItem }) {
|
||||
<div className={'flex flex-1 flex-col'}>
|
||||
<div className={cn('border-b py-8')}>
|
||||
<div className={'mx-auto flex max-w-3xl flex-col space-y-4'}>
|
||||
<h1 className={'font-heading text-3xl font-semibold xl:text-5xl'}>
|
||||
<h1 className={'font-heading text-3xl font-semibold xl:text-5xl dark:text-white'}>
|
||||
{title}
|
||||
</h1>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user