customer-riverside/web/modules/custom/riverside_pt/templates/riverside-pt-contact.html.twig
Philip Peterson 797e580cc0 Create custom /contact page with details and appointment CTAs
- Refactor AboutController to PageController to handle multiple static pages:
  - /about
  - /services/{slug} (diagnostic, sports, pre-post, neuro)
  - /contact (new)

- New template riverside-pt-contact.html.twig:
  - Contact details (address, phone, email)
  - Office hours
  - 'Send us a message' section directing to booking tool
  - Multiple 'Make an Appointment' links back to /home#book-an-appointment

- Updated riverside_pt.routing.yml with riverside_pt.contact route
- Registered 'riverside_pt_contact' theme in riverside_pt.module
- Updated riverside_pt.install to skip legacy node creation for 'Contact' (and previously About/Services) to avoid alias conflicts
- Minor updates to home template, header handling, libraries (scroll support), and other controllers for consistency with page flows and email/booking features

All details pages (/about, /services/*, /contact) now include clear links back to 'Make an Appointment'.
2026-06-03 23:55:02 -07:00

52 lines
2.3 KiB
Twig
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="max-w-[1040px] mx-auto px-6 py-16">
<h1 class="text-[clamp(2.5rem,5vw,4rem)] font-serif font-light text-gray-900 mb-4">Contact Us</h1>
<p class="text-xl text-gray-600 mb-12 max-w-2xl">
We'd love to hear from you. Reach out with questions about our services, insurance, or to schedule a visit.
</p>
<div class="grid grid-cols-1 md:grid-cols-2 gap-12">
<div>
<h2 class="text-2xl font-normal mb-6 text-gray-900">Our Location</h2>
<div class="text-gray-700 space-y-1 text-[15px] leading-relaxed">
<p><strong>Riverside Physical Therapy</strong></p>
<p>123 Riverside Drive, Suite 200</p>
<p>Riverside, CA 92501</p>
</div>
<h2 class="text-2xl font-normal mt-10 mb-6 text-gray-900">Get in Touch</h2>
<div class="space-y-2 text-[15px]">
<p><strong>Phone:</strong> <a href="tel:9515550123" class="text-pt-blue-500 hover:underline">(951) 555-0123</a></p>
<p><strong>Email:</strong> <a href="mailto:hello@riversidept.com" class="text-pt-blue-500 hover:underline">hello@riversidept.com</a></p>
</div>
<h2 class="text-2xl font-normal mt-10 mb-6 text-gray-900">Office Hours</h2>
<div class="text-gray-700 text-[15px] leading-relaxed">
<p>Monday Friday: 7:00 AM 7:00 PM</p>
<p>Saturday: 8:00 AM 12:00 PM</p>
<p>Sunday: Closed</p>
</div>
</div>
<div>
<h2 class="text-2xl font-normal mb-6 text-gray-900">Send Us a Message</h2>
<p class="text-gray-600 mb-6 text-[15px]">
For appointment requests, please use our online booking tool — it's the fastest way to get scheduled.
</p>
<div class="bg-pt-blue-50 border border-pt-blue-200 p-8 rounded-2xl">
<p class="mb-4">Ready to get started?</p>
<a href="/home#book-an-appointment"
class="inline-block w-full text-center px-6 py-3 bg-pt-blue-500 text-white text-sm font-medium no-underline rounded-xl hover:bg-pt-blue-600 transition-colors">
Make an Appointment
</a>
<p class="text-xs text-gray-500 mt-3 text-center">
Or call us at (951) 555-0123 during business hours.
</p>
</div>
<p class="mt-8 text-sm text-gray-500">
We typically respond to emails within 1 business day. For urgent matters, please call.
</p>
</div>
</div>
</div>