Skip to content

Commit 76708d6

Browse files
committed
Apply pnpm prettier
1 parent d0c862b commit 76708d6

7 files changed

Lines changed: 37 additions & 26 deletions

File tree

apps/login/src/app/(main)/(illustration)/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ export default function IllustrationLayout({
77
}: {
88
children: ReactNode;
99
}) {
10-
return (<BoxedCard>{children}</BoxedCard>);
10+
return <BoxedCard>{children}</BoxedCard>;
1111
}

apps/login/src/app/(main)/(illustration)/register/_login-btn.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ export const LoginBtn = () => {
2020
</button>
2121
</div>
2222
<div className="text-center ztdl-p text-sm font-normal mt-6 bg-body-background rounded-lg border border-card-border p-6 shadow-[0_2px_4px_2px_rgba(12,29,49,0.03)]">
23-
<strong><Translated i18nKey="onWaitListQuestion" namespace="register" /></strong>
23+
<strong>
24+
<Translated i18nKey="onWaitListQuestion" namespace="register" />
25+
</strong>
2426
<Translated i18nKey="onWaitListInfo" namespace="register" />
2527
</div>
2628
</>

apps/login/src/app/(main)/layout.tsx

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,24 @@ export default async function RootLayout({
3333
<DefaultTags />
3434
</head>
3535
<body className="bg-body-background font-alliance text-body-foreground relative">
36-
3736
<div className="fixed bottom-0 left-0 z-0 max-w-[300px] md:max-w-[416px]">
38-
<Image src={scene1} className="size-auto w-full object-cover" alt="scene 1" width={416} height={416} />
37+
<Image
38+
src={scene1}
39+
className="size-auto w-full object-cover"
40+
alt="scene 1"
41+
width={416}
42+
height={416}
43+
/>
3944
</div>
4045

4146
<div className="fixed right-0 bottom-0 z-0 max-w-[500px] md:max-w-[800px]">
42-
<Image src={scene2} className="size-auto w-full object-cover" alt="scene 2" width={800} height={800} />
47+
<Image
48+
src={scene2}
49+
className="size-auto w-full object-cover"
50+
alt="scene 2"
51+
width={800}
52+
height={800}
53+
/>
4354
</div>
4455

4556
<ThemeProvider>

apps/login/src/components/datum-logo/full.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ export const DatumLogoFull = (props: React.SVGProps<SVGSVGElement>) => {
1616
mounted && resolvedTheme === "dark" ? "#ffffff" : "#0C1D31";
1717
const fillColor = mounted && resolvedTheme === "dark" ? "#E6F59E" : "#BF9595";
1818

19-
20-
2119
return (
2220
<svg
2321
width={82}

apps/login/src/components/datum-logo/logo.tsx

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,20 @@ export const DatumLogo = (props: React.SVGProps<SVGSVGElement>) => {
1414

1515
// Default to light theme color during SSR and before hydration
1616
const fillColor = mounted && resolvedTheme === "dark" ? "#E6F59E" : "#BF9595";
17-
18-
return(
19-
<svg
20-
width={46}
21-
height={46}
22-
viewBox="0 0 46 46"
23-
fill="none"
24-
xmlns="http://www.w3.org/2000/svg"
25-
{...props}
26-
>
27-
<path
28-
d="M17.2818 -0.000862122C16.6346 -0.000862122 16.1069 0.5252 16.1069 1.17407C16.1069 1.82294 16.1069 12.6546 16.1069 12.6546C16.1069 13.3018 16.633 13.8003 17.2818 13.8003L22.8571 13.8295C25.1605 13.8295 27.3543 14.729 29.0354 16.3603C30.7265 18.0032 31.6707 20.1722 31.6973 22.4706C31.7238 24.8254 30.826 27.0425 29.1715 28.7153C27.517 30.3881 25.3098 31.3092 22.9566 31.3092H22.8571C20.5586 31.2826 18.3896 30.3383 16.7467 28.6473C15.1154 26.9679 14.1901 24.7723 14.1901 22.4689V16.8282C14.1901 16.181 13.6899 15.7172 13.041 15.7172H1.56385C0.916641 15.7172 0.388916 16.1794 0.388916 16.8282V28.3088C0.388916 28.956 0.914981 29.5183 1.56385 29.5183H10.6231C11.8412 29.5183 12.6262 29.5003 13.2734 29.5882C14.133 29.7044 14.7088 29.95 15.1436 30.3831C15.5784 30.8163 15.8224 31.3938 15.9385 32.2534C16.0265 32.9023 16.1069 33.6856 16.1069 34.9053V43.9629C16.1069 44.6101 16.5692 45.2363 17.218 45.2363H22.9583C25.5355 45.2363 28.0663 44.7047 30.4809 43.8517C39.4804 40.6705 45.5276 32.1173 45.5276 22.5685C45.5276 13.0197 39.4804 4.46655 30.4809 1.28526C28.0663 0.43227 25.5355 -0.000862122 22.9583 -0.000862122H17.2835H17.2818Z"
29-
fill={fillColor}
30-
/>
31-
</svg>
32-
)};
17+
18+
return (
19+
<svg
20+
width={46}
21+
height={46}
22+
viewBox="0 0 46 46"
23+
fill="none"
24+
xmlns="http://www.w3.org/2000/svg"
25+
{...props}
26+
>
27+
<path
28+
d="M17.2818 -0.000862122C16.6346 -0.000862122 16.1069 0.5252 16.1069 1.17407C16.1069 1.82294 16.1069 12.6546 16.1069 12.6546C16.1069 13.3018 16.633 13.8003 17.2818 13.8003L22.8571 13.8295C25.1605 13.8295 27.3543 14.729 29.0354 16.3603C30.7265 18.0032 31.6707 20.1722 31.6973 22.4706C31.7238 24.8254 30.826 27.0425 29.1715 28.7153C27.517 30.3881 25.3098 31.3092 22.9566 31.3092H22.8571C20.5586 31.2826 18.3896 30.3383 16.7467 28.6473C15.1154 26.9679 14.1901 24.7723 14.1901 22.4689V16.8282C14.1901 16.181 13.6899 15.7172 13.041 15.7172H1.56385C0.916641 15.7172 0.388916 16.1794 0.388916 16.8282V28.3088C0.388916 28.956 0.914981 29.5183 1.56385 29.5183H10.6231C11.8412 29.5183 12.6262 29.5003 13.2734 29.5882C14.133 29.7044 14.7088 29.95 15.1436 30.3831C15.5784 30.8163 15.8224 31.3938 15.9385 32.2534C16.0265 32.9023 16.1069 33.6856 16.1069 34.9053V43.9629C16.1069 44.6101 16.5692 45.2363 17.218 45.2363H22.9583C25.5355 45.2363 28.0663 44.7047 30.4809 43.8517C39.4804 40.6705 45.5276 32.1173 45.5276 22.5685C45.5276 13.0197 39.4804 4.46655 30.4809 1.28526C28.0663 0.43227 25.5355 -0.000862122 22.9583 -0.000862122H17.2835H17.2818Z"
29+
fill={fillColor}
30+
/>
31+
</svg>
32+
);
33+
};

apps/login/src/styles/globals.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
.ztdl-p {
1818
@apply text-center;
19-
19+
2020
&.description {
2121
font-size: 14px;
2222
}
@@ -25,7 +25,6 @@
2525
@apply opacity-50;
2626
font-size: 12px;
2727
}
28-
2928
}
3029

3130
body {

apps/login/tailwind.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export default {
111111
// PURPOSE TOKENs
112112
"body-background": "var(--body-background)",
113113
"body-foreground": "var(--body-foreground)",
114-
114+
115115
"card-background": "var(--card-background)",
116116
"card-border": "var(--card-border)",
117117

0 commit comments

Comments
 (0)