Skip to content

Commit

Permalink
New update of text error colors in contact form
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Lorenz <[email protected]>
  • Loading branch information
JanProgrammierung committed Apr 16, 2024
1 parent 6a030bb commit 9fb97c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pmp-frontend-app/src/components/ContactFormComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default function ContactFormComponent(): ReactElement {
required
/>
{errors.name ? (
<p className="error text-error-content">
<p className="error text-error">
{errors.name}
</p>
) : null}
Expand All @@ -101,7 +101,7 @@ export default function ContactFormComponent(): ReactElement {
required
/>
{errors.email ? (
<p className="error text-error-content">
<p className="error text-error">
{errors.email}
</p>
) : null}
Expand Down Expand Up @@ -136,7 +136,7 @@ export default function ContactFormComponent(): ReactElement {
<input type="submit" value="Submit" className="btn btn-wide bg-fuchsia-950 text-white hover:bg-fuchsia-800 active:bg-fuchsia-900 focus:outline-none focus:ring focus:ring-fuchsia-300" />
:
<>
<p className="error text-error-content">Please tick 'I'm not a robot' above the 'Submit' button.</p>
<p className="error text-error">Please tick 'I'm not a robot' above the 'Submit' button.</p>
<div className='btn btn-wide bg-neutral text-neutral-content cursor-not-allowed'>Submit</div>
</>
)
Expand Down

0 comments on commit 9fb97c1

Please sign in to comment.