Skip to content

Commit b1493ab

Browse files
committed
Format code
1 parent e07fad5 commit b1493ab

File tree

4 files changed

+779
-642
lines changed

4 files changed

+779
-642
lines changed

app/layout.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ export const metadata: Metadata = {
1212
default: "Just.it",
1313
template: "%s | Just.it",
1414
},
15-
description: "We are building open source projects with strong focus on user privacy. Our goal is to make the Internet more secure. In our applications everything is encrypted - in fact even we don't have access to users' data.",
15+
description:
16+
"We are building open source projects with strong focus on user privacy. Our goal is to make the Internet more secure. In our applications everything is encrypted - in fact even we don't have access to users' data.",
1617
openGraph: {
1718
title: "Just.it",
18-
description: "We are building open source projects with strong focus on user privacy. Our goal is to make the Internet more secure. In our applications everything is encrypted - in fact even we don't have access to users' data.",
19+
description:
20+
"We are building open source projects with strong focus on user privacy. Our goal is to make the Internet more secure. In our applications everything is encrypted - in fact even we don't have access to users' data.",
1921
url: "/",
2022
siteName: "Just.it",
2123
images: [
@@ -62,7 +64,11 @@ export default function RootLayout({ children }) {
6264
icons={{
6365
loading: (
6466
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" className="size-5 animate-spin text-white">
65-
<path strokeLinecap="round" strokeLinejoin="round" d="M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99" />
67+
<path
68+
strokeLinecap="round"
69+
strokeLinejoin="round"
70+
d="M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99"
71+
/>
6672
</svg>
6773
),
6874
}}

components/Form.tsx

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,25 @@ export function Form() {
6161
<form onSubmit={handleSubmit}>
6262
<label htmlFor="input" className="flex justify-center">
6363
<span className="sr-only">Github Username</span>
64-
<input id="input" type="text" className={`${isInvalid ? "border-red-400 bg-red-400/10 text-red-400 placeholder:text-red-400!" : "border-white/20"} rounded-lg border bg-white/10 px-4 py-2 text-white outline-hidden duration-200 placeholder:text-white/50 motion-reduce:transition-none`} placeholder="Enter your Github username" onChange={changeText} />
65-
<button className="!focus:bg-white ml-2 flex cursor-pointer items-center justify-center rounded-lg border border-white/20 bg-white/10 px-4 py-2 text-white outline-hidden duration-200 hover:bg-white/20 disabled:cursor-not-allowed disabled:opacity-60 motion-reduce:transition-none" disabled={loading || isInvalid || !input || input.length < 3} type="submit">
64+
<input
65+
id="input"
66+
type="text"
67+
className={`${isInvalid ? "border-red-400 bg-red-400/10 text-red-400 placeholder:text-red-400!" : "border-white/20"} rounded-lg border bg-white/10 px-4 py-2 text-white outline-hidden duration-200 placeholder:text-white/50 motion-reduce:transition-none`}
68+
placeholder="Enter your Github username"
69+
onChange={changeText}
70+
/>
71+
<button
72+
className="!focus:bg-white ml-2 flex cursor-pointer items-center justify-center rounded-lg border border-white/20 bg-white/10 px-4 py-2 text-white outline-hidden duration-200 hover:bg-white/20 disabled:cursor-not-allowed disabled:opacity-60 motion-reduce:transition-none"
73+
disabled={loading || isInvalid || !input || input.length < 3}
74+
type="submit"
75+
>
6676
{loading ? (
6777
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" className="inline-block size-6 animate-spin text-white">
68-
<path strokeLinecap="round" strokeLinejoin="round" d="M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99" />
78+
<path
79+
strokeLinecap="round"
80+
strokeLinejoin="round"
81+
d="M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99"
82+
/>
6983
</svg>
7084
) : (
7185
"Join us!"

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
"zod": "3.25.71"
4141
},
4242
"devDependencies": {
43-
"@igorkowalczyk/eslint-config": "3.0.8",
43+
"@igorkowalczyk/eslint-config": "3.1.0",
4444
"@igorkowalczyk/is-browser": "5.1.0",
4545
"@igorkowalczyk/prettier-config": "3.1.0",
4646
"@next/bundle-analyzer": "15.3.4",
4747
"@tailwindcss/aspect-ratio": "0.4.2",
48-
"@tailwindcss/postcss": "^4.1.4",
49-
"@types/node": "22.16.0",
48+
"@tailwindcss/postcss": "^4.1.11",
49+
"@types/node": "24.0.10",
5050
"@types/react": "19.1.8",
5151
"eslint": "9.30.1",
5252
"postcss": "8.5.6",

0 commit comments

Comments
 (0)