1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-11-26 07:46:06 -05:00

extract list of menu links to a config file

This commit is contained in:
2022-02-11 15:13:32 -05:00
parent d258ebd988
commit ae0fd5f56b
11 changed files with 139 additions and 137 deletions

View File

@@ -103,7 +103,7 @@ const ContactForm = ({ className }: ContactFormProps) => {
{({ field, meta }) => (
<input
type="text"
className={cx({ input: true, missing: meta.error && meta.touched })}
className={cx(styles.input, { missing: meta.error && meta.touched })}
placeholder="Name"
disabled={success}
{...field}
@@ -116,7 +116,7 @@ const ContactForm = ({ className }: ContactFormProps) => {
<input
type="email"
inputMode="email"
className={cx({ input: true, missing: meta.error && meta.touched })}
className={cx(styles.input, { missing: meta.error && meta.touched })}
placeholder="Email"
disabled={success}
{...field}
@@ -127,7 +127,7 @@ const ContactForm = ({ className }: ContactFormProps) => {
<Field name="message">
{({ field, meta }) => (
<TextareaAutosize
className={cx({ input: true, textarea: true, missing: meta.error && meta.touched })}
className={cx(styles.input, styles.textarea, { missing: meta.error && meta.touched })}
placeholder="Write something..."
minRows={5}
disabled={success}
@@ -154,7 +154,7 @@ const ContactForm = ({ className }: ContactFormProps) => {
<div className={styles.action_row}>
<button
className={cx({ btn_submit: true, hidden: success })}
className={cx(styles.btn_submit, { hidden: success })}
type="submit"
title="Send Message"
aria-label="Send Message"