refactor(component): rename contact obfuscation component

This commit is contained in:
DeCentN2Madness committed 2026-07-02 15:14:51 -07:00
1 parent 77b83f5d21
commit 9c391c8c05
29 files changed
+63 -63

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
---
import Button from './Button.astro';
import EmailObfuscation from './EmailObfuscation.astro';
import ContactObfuscation from './ContactObfuscation.astro';
const { title = 'Schedule Your Free Consultation', showBackground = false } = Astro.props;
---
<section class:list={['form-section', { 'form-section-background': showBackground }]} aria-labelledby="form-title">
@@ -15,7 +15,7 @@ const { title = 'Schedule Your Free Consultation', showBackground = false } = As
<label>Service of interest<select name="service"><option>ABA Therapy</option><option>Autism Evaluation</option><option>Learner Social Club</option><option>Other</option></select></label>
<label>How can we help?<textarea name="message" rows="5"></textarea></label>
<Button type="submit" disabled aria-describedby="form-note">Submit</Button>
<p id="form-note" class="form-note">Online submission is not yet connected. Please call <EmailObfuscation phone="(480) 687-7099" hrefValue="+14806877099" obfuscatedText="9907-786 (084)" />.</p>
<p id="form-note" class="form-note">Online submission is not yet connected. Please call <ContactObfuscation phone="(480) 687-7099" hrefValue="+14806877099" obfuscatedText="9907-786 (084)" />.</p>
</form>
</div>
</section>