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 22:55:02 -08:00
|
|
|
<div class="max-w-[1040px] mx-auto px-6 py-12">
|
|
|
|
|
<div class="mb-8">
|
2026-06-03 23:10:57 -08:00
|
|
|
<a href="/book-appointment" class="inline-flex items-center text-pt-blue-500 hover:text-pt-blue-600 text-sm font-medium">
|
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 22:55:02 -08:00
|
|
|
← Make an Appointment
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h1 class="text-[2.5rem] font-serif font-normal text-gray-900 leading-tight mb-4">{{ title }}</h1>
|
|
|
|
|
<p class="text-xl text-gray-600 mb-10">{{ description }}</p>
|
|
|
|
|
|
|
|
|
|
<div class="max-w-none mb-12 text-gray-700 text-[15px] leading-relaxed space-y-4">
|
|
|
|
|
{{ long_description|raw }}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12 mb-12">
|
|
|
|
|
<div>
|
|
|
|
|
<h2 class="text-2xl font-normal mb-4">What to Expect</h2>
|
|
|
|
|
<div class="text-gray-700 text-[15px] leading-relaxed">
|
|
|
|
|
{{ what_to_expect|raw }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<h2 class="text-2xl font-normal mb-4">Key Benefits</h2>
|
|
|
|
|
<ul class="space-y-3 text-gray-700">
|
|
|
|
|
{% for benefit in benefits %}
|
|
|
|
|
<li class="flex items-start gap-3">
|
|
|
|
|
<span class="mt-1.5 block w-2 h-2 bg-pt-blue-500 rounded-full flex-shrink-0"></span>
|
|
|
|
|
<span>{{ benefit }}</span>
|
|
|
|
|
</li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="pt-8 border-t border-pt-blue-200 text-center">
|
|
|
|
|
<p class="mb-6 text-lg">Ready to get started with {{ title }}?</p>
|
2026-06-03 23:10:57 -08:00
|
|
|
<a href="/book-appointment" class="inline-flex items-center gap-3 px-8 py-4 bg-pt-blue-500 text-white text-[15px] font-medium no-underline hover:bg-pt-blue-600 rounded-xl">
|
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 22:55:02 -08:00
|
|
|
Make an Appointment →
|
|
|
|
|
</a>
|
|
|
|
|
<p class="mt-3 text-sm text-gray-500">or call us to discuss your needs</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|