Update README and refine UI elements and localization

This commit introduces updates to the README file, specifically focusing on authentication emails. Minor UI adjustments have been made to various layout spacings and image attributes in some pages for better design consistency. Localization has also been improved by introducing translation keys for error and not-found pages in the common JSON file.
This commit is contained in:
giancarlo
2024-04-19 17:14:43 +08:00
parent 92f0ba4dd5
commit cc80b26117
9 changed files with 27 additions and 30 deletions

View File

@@ -92,11 +92,10 @@ function Home() {
className={
'delay-250 rounded-lg border duration-1000 ease-out animate-in fade-in zoom-in-50 fill-mode-both'
}
width={3069}
height={1916}
width={1689}
height={1057}
src={`/images/dashboard-demo.webp`}
alt={`App Image`}
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
/>
</div>
</div>
@@ -131,7 +130,7 @@ function Home() {
</div>
<div className={'container mx-auto'}>
<div className={'flex flex-col space-y-4'}>
<div className={'flex flex-col space-y-24 xl:space-y-36'}>
<FeatureShowcaseContainer>
<LeftFeatureContainer>
<div className={'flex flex-col space-y-2.5'}>
@@ -162,10 +161,9 @@ function Home() {
<Image
className="rounded-2xl"
src={'/images/sign-in.webp'}
width={'1100'}
height={'1282'}
width={'1760'}
height={'1680'}
alt={'Sign In'}
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
/>
</RightFeatureContainer>
</FeatureShowcaseContainer>
@@ -175,10 +173,9 @@ function Home() {
<Image
className="rounded-2xl"
src={'/images/dashboard.webp'}
width={'2094'}
height={'2416'}
width={'2004'}
height={'1410'}
alt={'Dashboard'}
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
/>
</LeftFeatureContainer>
@@ -234,10 +231,9 @@ function Home() {
<Image
className="rounded-2xl"
src={'/images/billing.webp'}
width={'2456'}
height={'1454'}
width={'1916'}
height={'1392'}
alt={'Billing'}
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
/>
</RightFeatureContainer>
</FeatureShowcaseContainer>

View File

@@ -29,10 +29,12 @@ const ErrorPage = ({
>
<div className={'flex flex-col items-center space-y-16'}>
<div>
<h1 className={'font-heading text-9xl font-extrabold'}>500 :(</h1>
<h1 className={'font-heading text-9xl font-extrabold'}>
<Trans i18nKey={'common:errorPageHeading'} />
</h1>
</div>
<div className={'flex flex-col items-center space-y-4'}>
<div className={'flex flex-col items-center space-y-8'}>
<div className={'flex flex-col items-center space-y-2.5'}>
<div>
<Heading level={1}>

View File

@@ -38,10 +38,12 @@ const NotFoundPage = async () => {
>
<div className={'flex flex-col items-center space-y-12'}>
<div>
<h1 className={'font-heading text-9xl font-extrabold'}>404 :(</h1>
<h1 className={'font-heading text-9xl font-extrabold'}>
<Trans i18nKey={'common:pageNotFoundHeading'} />
</h1>
</div>
<div className={'flex flex-col items-center space-y-4'}>
<div className={'flex flex-col items-center space-y-8'}>
<div className={'flex flex-col items-center space-y-2.5'}>
<div>
<Heading level={1}>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -48,18 +48,14 @@
"signedInAs": "Signed in as",
"pageOfPages": "Page {{page}} of {{total}}",
"noData": "No data available",
"pageNotFoundHeading": "Ouch! :|",
"errorPageHeading": "Ouch! :|",
"roles": {
"owner": {
"label": "Owner",
"description": "Can change any setting, invite new members and manage billing"
},
"admin": {
"label": "Admin",
"description": "Can change some settings, invite members, perform disruptive actions"
"label": "Owner"
},
"member": {
"label": "Member",
"description": "Cannot invite members or change settings"
"label": "Member"
}
}
}