mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
refactor: update Registration form field labels and placeholders for improved UI consistency
This commit is contained in:
@@ -9,13 +9,13 @@ export default function Logo() {
|
||||
className="inline-flex items-baseline justify-center leading-none select-none"
|
||||
style={{ fontFamily: "'Knewave', serif" }}
|
||||
>
|
||||
<span className="text-2xl font-light text-accent">Pi</span>
|
||||
<span className="text-2xl font-light text-accent"> Pi</span>
|
||||
<DotIcon
|
||||
weight="fill"
|
||||
size={12}
|
||||
className="text-accent translate-y-[0.3em] -mx-px"
|
||||
/>
|
||||
<span className="text-2xl font-light text-accent">Ku</span>
|
||||
<span className="text-2xl font-light text-accent"> Ku</span>
|
||||
<DotIcon
|
||||
weight="fill"
|
||||
size={12}
|
||||
|
||||
@@ -129,7 +129,7 @@ export default function Login() {
|
||||
{showWelcome && <WelcomeModal setShowWelcome={setShowWelcome} />}
|
||||
<div className="glass-card w-full max-w-sm p-2 transition-all duration-500 hover:shadow-2xl fade-zoom">
|
||||
<form onSubmit={handleSubmit(onSubmit)} className="card-body gap-4">
|
||||
<h1 className="card-title font-display text-2xl font-bold justify-center text-primary tracking-tight">
|
||||
<h1 className="card-title font-display text-2xl justify-center text-primary/80 tracking-tight">
|
||||
Sign in to <Logo />
|
||||
</h1>
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ export default function Register() {
|
||||
return (
|
||||
<div className="glass-card w-full max-w-sm p-2 transition-all duration-500 hover:shadow-2xl fade-zoom">
|
||||
<form onSubmit={handleSubmit(onSubmit)} className="card-body gap-4">
|
||||
<h1 className="card-title font-display text-2xl font-bold justify-center text-primary tracking-tight">
|
||||
<h1 className="card-title font-display text-2xl justify-center text-primary/80 tracking-tight">
|
||||
Create a <Logo /> Account
|
||||
</h1>
|
||||
|
||||
@@ -81,7 +81,7 @@ export default function Register() {
|
||||
)}
|
||||
|
||||
<FormField
|
||||
label="Full Name"
|
||||
label="Pen Name"
|
||||
placeholder="Word Smith"
|
||||
registration={register("full_name")}
|
||||
error={errors.full_name?.message}
|
||||
@@ -90,7 +90,7 @@ export default function Register() {
|
||||
<FormField
|
||||
label="Email"
|
||||
type="email"
|
||||
placeholder="you@email.com"
|
||||
placeholder="f.kafka@email.com"
|
||||
registration={register("email")}
|
||||
error={errors.email?.message}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user