Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/layout.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Analytics } from "@vercel/analytics/react";

Check warning on line 1 in app/layout.jsx

View workflow job for this annotation

GitHub Actions / ESLint (lts/*)

'Analytics' is defined but never used. Allowed unused vars must match /^_/u

Check warning on line 1 in app/layout.jsx

View workflow job for this annotation

GitHub Actions / ESLint (lts/*)

'Analytics' is defined but never used. Allowed unused vars must match /^_/u
import { GeistSans } from "geist/font/sans";
import { Toaster } from "sonner";

Check warning on line 3 in app/layout.jsx

View workflow job for this annotation

GitHub Actions / ESLint (lts/*)

'Toaster' is defined but never used. Allowed unused vars must match /^_/u

Check warning on line 3 in app/layout.jsx

View workflow job for this annotation

GitHub Actions / ESLint (lts/*)

'Toaster' is defined but never used. Allowed unused vars must match /^_/u
import "styles/globals.css";
Expand Down Expand Up @@ -54,7 +54,7 @@
return (
<html lang="en">
<body className={GeistSans.className}>
<main className="flex min-h-screen flex-col items-center justify-center overflow-hidden bg-[#070706] bg-hero py-2 antialiased duration-200">
<main className="bg-hero flex min-h-screen flex-col items-center justify-center overflow-hidden bg-[#070706] py-2 antialiased duration-200">
{children}
<Toaster // prettier
richColors={false}
Expand Down
10 changes: 5 additions & 5 deletions app/page.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Form } from "components/Form";

Check warning on line 1 in app/page.jsx

View workflow job for this annotation

GitHub Actions / ESLint (lts/*)

'Form' is defined but never used. Allowed unused vars must match /^_/u

Check warning on line 1 in app/page.jsx

View workflow job for this annotation

GitHub Actions / ESLint (lts/*)

'Form' is defined but never used. Allowed unused vars must match /^_/u

export const metadata = {
title: "Join us",
Expand All @@ -8,20 +8,20 @@
return (
<div className="relative w-full px-6">
<div className="z-20 flex w-full flex-col">
<span className="mx-auto mb-3 rounded-full border border-white/20 bg-white/10 px-9 py-2 font-medium text-white backdrop-blur-sm">From Vision to Reality:</span>
<h1 className="text-center text-5xl font-extrabold leading-tight tracking-tight text-white">Building the future of the Web</h1>
<span className="mx-auto mb-3 rounded-full border border-white/20 bg-white/10 px-6 py-1 font-medium text-white backdrop-blur-xs">From Vision to Reality:</span>
<h1 className="text-center text-5xl leading-tight font-extrabold tracking-tight text-white">Building the future of the Web</h1>
<p className="pt-3 text-center text-2xl text-white/70">
Join the community of developers
<br />
who are building the future of the web.
</p>
<div className="pt-3">
<div className="mt-6">
<Form />
</div>
</div>
<div className="absolute inset-x-0 z-0 flex">
<div className="relative z-0 aspect-1 size-[48%] rounded-full bg-purple-600 opacity-30 blur-[85px] sm:blur-[150px] md:blur-[200px] lg:blur-[250px]" />
<div className="relative z-10 ml-auto aspect-1 size-[40.8%] rounded-full bg-purple-400 opacity-30 blur-[55px] sm:blur-[60px] md:blur-[110px] lg:blur-[160px]" />
<div className="aspect-1 relative z-0 size-[48%] rounded-full bg-purple-600 opacity-30 blur-[85px] sm:blur-[150px] md:blur-[200px] lg:blur-[250px]" />
<div className="aspect-1 relative z-10 ml-auto size-[40.8%] rounded-full bg-purple-400 opacity-30 blur-[55px] sm:blur-[60px] md:blur-[110px] lg:blur-[160px]" />
</div>
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions components/Form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
const testRegex = /^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i;

export function Form() {
const [isInvalid, setisInvalid] = useState(false);

Check warning on line 8 in components/Form.jsx

View workflow job for this annotation

GitHub Actions / ESLint (lts/*)

An useState call is not destructured into value + setter pair

Check warning on line 8 in components/Form.jsx

View workflow job for this annotation

GitHub Actions / ESLint (lts/*)

An useState call is not destructured into value + setter pair
const [input, setInput] = useState("");
const [loading, setLoading] = useState(false);

Expand Down Expand Up @@ -66,8 +66,8 @@
<form onSubmit={handleSubmit}>
<label htmlFor="input" className="flex justify-center">
<span className="sr-only">Github Username</span>
<input id="input" type="name" 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-none duration-200 placeholder:text-white motion-reduce:transition-none`} placeholder="Enter your Github username" onChange={changeText} />
<button className="!focus:bg-white ml-2 flex items-center justify-center rounded-lg border border-white/20 bg-white/10 px-4 py-2 text-white outline-none 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">
<input id="input" type="name" 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 motion-reduce:transition-none`} placeholder="Enter your Github username" onChange={changeText} />
<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">
{loading ? (
<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">
<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" />
Expand Down
3 changes: 1 addition & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import eslintConfig from "@igorkowalczyk/eslint-config";
export default [
// prettier
...eslintConfig.base,
...eslintConfig.node,
...eslintConfig.react,
...eslintConfig.next,
...eslintConfig.node,
...eslintConfig.tailwindcss,
];
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
"@igorkowalczyk/prettier-config": "3.0.7",
"@next/bundle-analyzer": "15.2.1",
"@tailwindcss/aspect-ratio": "0.4.2",
"autoprefixer": "10.4.20",
"@tailwindcss/postcss": "^4.0.11",
"encoding": "0.1.13",
"eslint": "9.21.0",
"postcss": "8.5.3",
"prettier": "3.5.3",
"prettier-plugin-tailwindcss": "0.6.11",
"tailwindcss": "3.4.17",
"tailwindcss": "4.0.11",
"typescript": "5.8.2"
},
"peerDependencies": {
Expand Down
Loading
Loading