Skip to content

Commit

Permalink
Fixed colors on Register page (#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
harmeetsingh11 authored Feb 7, 2025
2 parents d5760ec + 03fc31c commit e807d83
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/pages/Registration.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ export default function Registration() {
<div className="hidden lg:flex w-full lg:w-[50%] flex-col items-start lg:items-center justify-center p-4">
<Navbar />
<div className="mb-6">
<h2 className="text-3xl font-bold text-gray-dark/90">
<h2 className="text-3xl font-bold">
<span className="text-customRed italic">Best way</span> to manage your rent
</h2>
<p className="mt-2 text-gray-dark/70">
<p className="mt-2">
Create a new account to access all the features of our website
</p>
</div>
Expand All @@ -128,7 +128,7 @@ export default function Registration() {
title="Name"
name="name"
type="text"
placeholder="Name"
placeholder="Enter your full name"
register={register("name", {
required: "Name is required",
})}
Expand All @@ -144,7 +144,7 @@ export default function Registration() {
title="Email address"
name="email"
type="email"
placeholder="E-mail Address"
placeholder="[email protected]"
register={register("email", {
required: "Email is required",
pattern: {
Expand All @@ -166,7 +166,7 @@ export default function Registration() {
name="password"
value={form.password}
type={showPassword ? "text" : "password"}
placeholder="Password"
placeholder="Choose a strong password"
onChange={handleChange}
className="input-bar pr-10"
register={register("password", {
Expand Down Expand Up @@ -214,7 +214,7 @@ export default function Registration() {
name="confirmPassword"
value={form.confirmPassword}
type={showConfirmPassword ? "text" : "password"}
placeholder="Confirm Password"
placeholder="Re-enter your password"
onChange={handleChange}
className="input-bar pr-10"
register={register("confirmPassword", {
Expand Down Expand Up @@ -310,10 +310,10 @@ const Navbar = () => {
const TitleCard = () => {
return (
<div>
<h2 className="text-3xl text-center font-bold mb-2 text-gray-dark">
<h2 className="text-3xl text-center font-bold mb-2">
Create Account
</h2>
<p className="text-center text-gray-dark/70">
<p className="text-center">
Join us for seamless rental management
</p>
</div>
Expand All @@ -323,11 +323,11 @@ const TitleCard = () => {
const Input = ({ title, register, ...props }) => {
return (
<div>
<label className="text-gray-dark font-semibold">{title}</label>
<label className="font-semibold">{title}</label>
<input
{...register}
{...props}
className="input-bar w-full p-2 border border-gray-300 rounded mt-2"
className="input-bar w-full p-2 border border-gray-300 rounded mt-2 text-black"
/>
</div>
);
Expand Down

0 comments on commit e807d83

Please sign in to comment.