This repository was archived by the owner on Feb 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +17
-35
lines changed Expand file tree Collapse file tree 8 files changed +17
-35
lines changed Original file line number Diff line number Diff line change @@ -128,15 +128,15 @@ Add `favicon.ico` file to `/app` directory
128128
129129- [ Favicon.ico & App Icon Generator] ( https://www.favicon-generator.org )
130130
131- Generate manifest and splash screen
131+ Generate manifest and splash screen.
132132
133133``` shell
134134vim public/manifest.json
135135```
136136
137- - [ PWA Image Generator] ( https://www.pwabuilder.com/imageGenerator )
138- - [ Maskable Icon Generator] ( https://progressier.com/maskable-icons-editor )
139- - [ PWA Manifest Generator] ( https://www.simicart.com/manifest-generator.html )
137+ - [ PWA Image Generator] ( https://www.pwabuilder.com/imageGenerator ) ,
138+ [ Maskable Icon Generator] ( https://progressier.com/maskable-icons-editor ) ,
139+ [ PWA Manifest Generator] ( https://www.simicart.com/manifest-generator.html )
140140- [ Custom Splash Screen on iOS] ( https://appsco.pe/developer/splash-screens )
141141
142142Start the development server.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { useRouter } from 'next/navigation'
55import { useTranslation } from 'react-i18next'
66
77import { toast } from 'sonner'
8- import { Logo } from '@/components/logo'
8+ import { SiteLogo } from '@/components/site- logo'
99import { Title } from '@/components/title'
1010import { CountryFlagButton } from '@/components/country-flag-button'
1111
@@ -38,7 +38,7 @@ export default function BlockedPage() {
3838 < div className = "container flex min-h-screen w-screen flex-col items-center justify-center py-8" >
3939 < div className = "mx-auto flex w-full max-w-[360px] flex-col justify-center space-y-6" >
4040 < div className = "flex flex-col space-y-2 text-center" >
41- < Logo />
41+ < SiteLogo className = "mx-auto size-12 min-w-12" />
4242 < Title translate = "yes" > your_account_has_been_blocked</ Title >
4343 </ div >
4444 < div className = "grid gap-4" >
Original file line number Diff line number Diff line change 11import * as React from 'react'
22
3- import { Logo } from '@/components/logo'
3+ import { SiteLogo } from '@/components/site- logo'
44import { Title } from '@/components/title'
55import { Description } from '@/components/description'
66import { TextLink } from '@/components/text-link'
@@ -22,7 +22,7 @@ export default function ForgotPasswordPage() {
2222 </ ButtonLink >
2323 < div className = "mx-auto flex w-full max-w-[320px] flex-col justify-center space-y-6" >
2424 < div className = "flex flex-col space-y-2 text-center" >
25- < Logo />
25+ < SiteLogo className = "mx-auto size-12 min-w-12" />
2626 < Title translate = "yes" > forgot_your_password</ Title >
2727 < Description translate = "yes" >
2828 enter_your_email_address_below_and_we_will_send_you_a_message_to_reset_your_password
Original file line number Diff line number Diff line change 11import * as React from 'react'
22import { redirect } from 'next/navigation'
33
4- import { Logo } from '@/components/logo'
4+ import { SiteLogo } from '@/components/site- logo'
55import { Title } from '@/components/title'
66import { Description } from '@/components/description'
77import { TextLink } from '@/components/text-link'
@@ -38,7 +38,7 @@ export default function ResetPasswordPage({
3838 </ ButtonLink >
3939 < div className = "mx-auto flex w-full max-w-[320px] flex-col justify-center space-y-6" >
4040 < div className = "flex flex-col space-y-2 text-center" >
41- < Logo />
41+ < SiteLogo className = "mx-auto size-12 min-w-12" />
4242 < Title translate = "yes" > reset_your_password</ Title >
4343 < Description translate = "yes" >
4444 please_enter_your_new_password_below
Original file line number Diff line number Diff line change 11import * as React from 'react'
22
3- import { Logo } from '@/components/logo'
3+ import { SiteLogo } from '@/components/site- logo'
44import { Title } from '@/components/title'
55import { Description } from '@/components/description'
66import { SignInWith } from '@/components/signin-with'
@@ -23,7 +23,7 @@ export default function SignInPage() {
2323 </ ButtonLink >
2424 < div className = "mx-auto flex w-full max-w-[320px] flex-col justify-center space-y-6" >
2525 < div className = "flex flex-col space-y-2 text-center" >
26- < Logo />
26+ < SiteLogo className = "mx-auto size-12 min-w-12" />
2727 < Title translate = "yes" > welcome_back</ Title >
2828 < Description translate = "yes" >
2929 enter_your_email_to_sign_in_to_your_account
Original file line number Diff line number Diff line change 11import * as React from 'react'
22
3- import { Logo } from '@/components/logo'
3+ import { SiteLogo } from '@/components/site- logo'
44import { Title } from '@/components/title'
55import { Description } from '@/components/description'
66import { TextLink } from '@/components/text-link'
@@ -22,7 +22,7 @@ export default function SignUpPage() {
2222 </ ButtonLink >
2323 < div className = "mx-auto flex w-full max-w-[320px] flex-col justify-center space-y-6" >
2424 < div className = "flex flex-col space-y-2 text-center" >
25- < Logo />
25+ < SiteLogo className = "mx-auto size-12 min-w-12" />
2626 < Title translate = "yes" > create_an_account</ Title >
2727 < Description translate = "yes" >
2828 enter_your_email_below_to_create_your_account
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import * as React from 'react'
2+ import { cn } from '@/lib/utils'
23
34interface SiteLogoProps extends React . SVGProps < SVGSVGElement > { }
45
@@ -7,6 +8,7 @@ const SiteLogo = ({
78 width = '1024' ,
89 height = '1024' ,
910 viewBox = '0 0 1024 1024' ,
11+ className,
1012 ...props
1113} : SiteLogoProps ) => {
1214 return (
@@ -15,6 +17,7 @@ const SiteLogo = ({
1517 width = { width }
1618 height = { height }
1719 viewBox = { viewBox }
20+ className = { cn ( 'size-8 min-w-8' , className ) }
1821 { ...props }
1922 >
2023 < path
You can’t perform that action at this time.
0 commit comments