Skip to content

Commit

Permalink
Merge branch 'refs/heads/frontend'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 4, 2024
2 parents 2027ceb + 6a5945f commit 82644ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions frontend/src/components/pages/Signup/Signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const Signup = () => {
aria-label="name"
type="text"
{...register("name", { required: "Name is required" })}
className={`appearance-none rounded-md relative block w-full px-3 py-2 border ${
className={`appearance-none dark:text-white rounded-md relative block w-full px-3 py-2 border ${
errors.name ? "border-red-500" : "border-gray-300"
} placeholder-gray-500 text-gray-900 rounded-t-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm`}
placeholder="Enter your full name"
Expand All @@ -89,7 +89,7 @@ const Signup = () => {
aria-label="email"
type="text"
{...register("email", { required: "email is required" })}
className={`appearance-none rounded-md relative block w-full px-3 py-2 border ${
className={`appearance-none dark:text-white rounded-md relative block w-full px-3 py-2 border ${
errors.email ? "border-red-500" : "border-gray-300"
} placeholder-gray-500 text-gray-900 rounded-t-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm`}
placeholder="Enter your active email address"
Expand All @@ -108,7 +108,7 @@ const Signup = () => {
{...register("department", {
required: "Department is required",
})}
className={`appearance-none rounded-md relative block w-full px-3 py-2 border ${
className={`appearance-none dark:text-white rounded-md relative block w-full px-3 py-2 border ${
errors.department ? "border-red-500" : "border-gray-300"
} placeholder-gray-500 text-gray-900 rounded-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm`}
placeholder="Department (Engineering)"
Expand All @@ -127,7 +127,7 @@ const Signup = () => {
{...register("designation", {
required: "Designation is required",
})}
className={`appearance-none rounded-md relative block w-full px-3 py-2 border ${
className={`appearance-none dark:text-white rounded-md relative block w-full px-3 py-2 border ${
errors.designation ? "border-red-500" : "border-gray-300"
} placeholder-gray-500 text-gray-900 rounded-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm`}
placeholder="Designation (Full Stack Developer)"
Expand Down Expand Up @@ -163,7 +163,7 @@ const Signup = () => {
message: "Password must be at least 6 characters",
},
})}
className={`appearance-none rounded-md relative block w-full px-3 py-2 border ${
className={`appearance-none dark:text-white rounded-md relative block w-full px-3 py-2 border ${
errors.password ? "border-red-500" : "border-gray-300"
} placeholder-gray-500 text-gray-900 rounded-b-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm`}
placeholder="Password"
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/pages/login/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const Login = () => {
message: "Invalid email address",
},
})}
className={`appearance-none rounded-md relative block w-full px-3 py-2 border ${
className={`appearance-none dark:text-white rounded-md relative block w-full px-3 py-2 border ${
errors.email ? "border-red-500" : "border-gray-300"
} placeholder-gray-500 text-gray-900 rounded-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm`}
placeholder="Email address"
Expand All @@ -99,7 +99,7 @@ const Login = () => {
{...register("password", {
required: "Password is required",
})}
className={`appearance-none rounded-md relative block w-full px-3 py-2 border ${
className={`appearance-none dark:text-white rounded-md relative block w-full px-3 py-2 border ${
errors.password ? "border-red-500" : "border-gray-300"
} placeholder-gray-500 text-gray-900 rounded-b-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm`}
placeholder="Password"
Expand Down

0 comments on commit 82644ae

Please sign in to comment.