Skip to content

Commit

Permalink
Change: Made name & email field optional
Browse files Browse the repository at this point in the history
  • Loading branch information
BodaNabeel committed Mar 13, 2024
1 parent 7998f29 commit 54ad316
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions ui/src/pages/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@ function FeebackForm() {
<label className="" htmlFor="name">
Full Name
</label>
<p className=" text-[#f04b4b] font-semibold text-xs mt-[-5px]">
Required
</p>
<p className=" text-gray-500 font-medium text-xs">Optional</p>
</span>
<input
required
// required
type="text"
id="name"
name="name"
Expand All @@ -39,12 +37,10 @@ function FeebackForm() {
<div className="flex md:flex-row flex-col w-full justify-between">
<span>
<label htmlFor="email">Email Address</label>{" "}
<p className=" text-[#f04b4b] font-semibold text-xs mt-[-5px]">
Required
</p>
<p className=" text-gray-500 font-medium text-xs ">Optional</p>
</span>
<input
required
// required
id="email"
type="email"
name="email"
Expand All @@ -56,9 +52,7 @@ function FeebackForm() {
<div className="flex w-full justify-between md:flex-row flex-col">
<span>
<label htmlFor="message">Message</label>{" "}
<p className=" text-[#f04b4b] font-semibold text-xs mt-[-5px]">
Required
</p>
<p className=" text-[#f04b4b] font-semibold text-xs ">Required</p>
</span>

<textarea
Expand Down

0 comments on commit 54ad316

Please sign in to comment.