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
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,15 @@ export default function AuthFormBackground({

return (
<div className="flex flex-col md:flex-row w-full h-screen">
<div className="flex flex-[1_0_auto] md:flex-1 flex-col justify-end md:justify-center items-center w-full">
<div className="flex flex-col items-start w-full px-6 md:px-[82px]">
<Image src={VocalAngelCow} alt="Angel Cow" height={100} width={100} />
<div className="flex flex-[1_0_auto] md:flex-1 flex-col justify-end md:justify-center items-center w-full px-6 md:px-[82px]">
<div className="flex flex-col items-start w-full">
<Image
src={VocalAngelCow}
alt="Angel Cow"
height={100}
width={100}
className="pb-[12px]"
/>
<h1 className="text-[20px] md:text-[22px] font-semibold text-[#3F3F3F]">
{title}
</h1>
Expand All @@ -47,7 +53,7 @@ export default function AuthFormBackground({
</p>
</div>

<div className="w-full px-6 md:px-[82px]">{children}</div>
<div className="w-full">{children}</div>
</div>
<div className="flex flex-1 flex-col justify-end relative md:bg-[linear-gradient(284deg,rgba(213,252,209,0.60)_9.72%,rgba(178,231,221,0.60)_44.61%,rgba(118,214,230,0.60)_79.5%)]">
{/* DESKTOP ONLY */}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function ForgotPasswordForm() {
{
name: 'email' as const,
type: 'email',
label: 'EMAIL',
label: '', //2026 design removed labels, so leaving blank
placeholder: 'Email',
readOnly: false,
},
Expand Down
6 changes: 3 additions & 3 deletions app/(pages)/(hackers)/_components/AuthForms/RegisterForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,21 @@ export default function RegisterForm({ data }: any) {
{
name: 'email' as const,
type: 'email',
label: 'EMAIL',
label: '', //2026 design removed labels, so leaving blank
placeholder: 'Email',
readOnly: data ? true : false,
},
{
name: 'password' as const,
type: 'password',
label: 'PASSWORD',
label: '', //2026 design removed labels, so leaving blank
placeholder: 'Password',
readOnly: false,
},
{
name: 'passwordDupe' as const,
type: 'password',
label: 'RETYPE PASSWORD',
label: '', //2026 design removed labels, so leaving blank
placeholder: 'Retype Password',
readOnly: false,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ export default function ResetPasswordForm({ data }: any) {
{
name: 'password' as const,
type: 'password',
label: 'NEW PASSWORD',
label: '', //2026 design removed labels, so leaving blank
placeholder: 'New Password',
readOnly: false,
},
{
name: 'passwordDupe' as const,
type: 'password',
label: 'RETYPE NEW PASSWORD',
label: '', //2026 design removed labels, so leaving blank
placeholder: 'Retype New Password',
readOnly: false,
},
Expand Down
2 changes: 1 addition & 1 deletion app/(pages)/_components/AuthForm/AuthForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export default function AuthForm({
<div className={styles.fields}>
{fields.map((field) => (
<div key={field.name}>
<p className={styles.error_msg}>{errors[field.name]}</p>
<div className={styles.input_container}>
<label htmlFor={field.name}>{field.label}</label>
{field.type === 'checkbox' ? (
Expand All @@ -87,6 +86,7 @@ export default function AuthForm({
/>
)}
</div>
<p className={styles.error_msg}>{errors[field.name]}</p>
</div>
))}
{linkText && (
Expand Down
23 changes: 18 additions & 5 deletions app/(pages)/_components/AuthForm/HackerAuthForm.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
flex-direction: column;
gap: 12px;

@include tablet-l { //tailwind md
gap: 8px;
}

div {
display: flex;
flex-direction: column;
Expand All @@ -33,15 +37,24 @@
}

input {
border-radius: var(--b-radius-large);
border-radius: 16px;
background: #FAFAFF;
backdrop-filter: blur(30px);
border: none;
border: 1px solid transparent;
outline: none;
padding: 12px;
padding: 16px;
font-size: 1rem; //16px
font-weight: 400;
color: #3F3F3F;

&:hover {
background: linear-gradient(0deg, rgba(48, 48, 53, 0.03) 0%, rgba(48, 48, 53, 0.03) 100%);
}

&:focus {
border: 1px solid var(--Stroke-Blue-Stroke, #2DF0FB);
background: rgba(213, 253, 255, 0.50);
}
}
}
}
Expand All @@ -65,7 +78,7 @@
}

.submit_button {
padding: 12px 24px;
padding: 16px 24px;
font-size: 1rem; //16px
font-weight: 600;
line-height: normal;
Expand All @@ -76,7 +89,7 @@
background: var(--background-secondary);
border: none;
cursor: not-allowed;
border-radius: 20px;
border-radius: 100px;
opacity: 0.3;
margin-top: 40px;
width: 100%;
Expand Down