MDX compile error in contact.mdx
[next-mdx-remote] error compiling MDX:
Expected a closing tag for `<label>` (15:5-15:12) before the end of `paragraph`
13 | <label>Phone number<input type="tel" name="phone" /></label>
14 | <label>Company<input type="text" name="company" /></label>
> 15 | <label>I'm looking to…
| ^
16 | <select name="purpose" required>
17 | <option value="">Please select…</option>
More information: https://mdxjs.com/docs/troubleshooting-mdx
Raw MDX source:
<section className="hero">
<h1>Get in Touch</h1>
<p>Whether you're hiring or looking, we'd like to hear from you.</p>
</section>
<section className="form">
<h2>Send us a message</h2>
<form>
<label>First name<input type="text" name="firstName" required /></label>
<label>Last name<input type="text" name="lastName" required /></label>
<label>Email address<input type="email" name="email" required /></label>
<label>Phone number<input type="tel" name="phone" /></label>
<label>Company<input type="text" name="company" /></label>
<label>I'm looking to…
<select name="purpose" required>
<option value="">Please select…</option>
<option value="hire">Hire talent</option>
<option value="find">Find a role</option>
<option value="other">Something else</option>
</select>
</label>
<label>Message<textarea name="message" rows="6" required></textarea></label>
<button type="submit">Send Message</button>
</form>
<div className="contact-details">
<h3>Contact Details</h3>
<p><strong>Email</strong><br />info@maptalent.co.uk</p>
<p><strong>Address</strong><br />MapTalent<br />Birmingham<br />West Midlands, B3 3QR</p>
<p><a href="https://www.linkedin.com/company/maptalent" target="_blank" rel="noopener noreferrer">Connect on LinkedIn</a></p>
<p>We typically respond within 24 hours. For urgent recruitment requirements, please indicate this in your message.</p>
</div>
</section>
<section className="cta">
<h2>Looking for specialist construction talent?</h2>
<p><a href="/process"><button>Our Process</button></a> <a href="/"><button className="secondary">Explore Sectors</button></a></p>
</section>