Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 9ae608f

Browse files
committed
The logo has been integrated into the site logo component
1 parent 24083bb commit 9ae608f

File tree

8 files changed

+17
-35
lines changed

8 files changed

+17
-35
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
134134
vim 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

142142
Start the development server.

app/auth/blocked/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { useRouter } from 'next/navigation'
55
import { useTranslation } from 'react-i18next'
66

77
import { toast } from 'sonner'
8-
import { Logo } from '@/components/logo'
8+
import { SiteLogo } from '@/components/site-logo'
99
import { Title } from '@/components/title'
1010
import { 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">

app/auth/forgot-password/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react'
22

3-
import { Logo } from '@/components/logo'
3+
import { SiteLogo } from '@/components/site-logo'
44
import { Title } from '@/components/title'
55
import { Description } from '@/components/description'
66
import { 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

app/auth/reset-password/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react'
22
import { redirect } from 'next/navigation'
33

4-
import { Logo } from '@/components/logo'
4+
import { SiteLogo } from '@/components/site-logo'
55
import { Title } from '@/components/title'
66
import { Description } from '@/components/description'
77
import { 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

app/auth/signin/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react'
22

3-
import { Logo } from '@/components/logo'
3+
import { SiteLogo } from '@/components/site-logo'
44
import { Title } from '@/components/title'
55
import { Description } from '@/components/description'
66
import { 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

app/auth/signup/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react'
22

3-
import { Logo } from '@/components/logo'
3+
import { SiteLogo } from '@/components/site-logo'
44
import { Title } from '@/components/title'
55
import { Description } from '@/components/description'
66
import { 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

components/logo.tsx

Lines changed: 0 additions & 21 deletions
This file was deleted.

components/site-logo.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import * as React from 'react'
2+
import { cn } from '@/lib/utils'
23

34
interface 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

0 commit comments

Comments
 (0)