This commit is contained in:
Philip Peterson 2026-06-04 00:15:22 -07:00
parent 9bbb7712fe
commit 39ced1a5af
4 changed files with 15 additions and 2 deletions

View file

@ -1289,6 +1289,11 @@ html {
object-position: center 0%; object-position: center 0%;
} }
.object-center{
-o-object-position: center;
object-position: center;
}
.p-0{ .p-0{
padding: 0px; padding: 0px;
} }

View file

@ -64,6 +64,14 @@ riverside_pt.book_appointment:
requirements: requirements:
_access: 'TRUE' _access: 'TRUE'
riverside_pt.testimonials:
path: '/testimonials'
defaults:
_controller: '\Drupal\riverside_pt\Controller\HomeController::redirectToAnchor'
destination: '/home#pt-testimonials'
requirements:
_access: 'TRUE'
riverside_pt.service: riverside_pt.service:
path: '/services/{slug}' path: '/services/{slug}'
defaults: defaults:

View file

@ -2,7 +2,7 @@
<section class="relative md:mt-[78px] min-h-[320px] 2xl:flex"> <section class="relative md:mt-[78px] min-h-[320px] 2xl:flex">
<div class="absolute inset-0 flex sm:pt-8 sm:pb-8 2xl:static 2xl:inset-auto 2xl:w-[62%] 2xl:flex-none 2xl:p-0"> <div class="absolute inset-0 flex sm:pt-8 sm:pb-8 2xl:static 2xl:inset-auto 2xl:w-[62%] 2xl:flex-none 2xl:p-0">
<div class="hidden sm:block sm:basis-[8%] sm:grow-[2] 2xl:hidden"></div> <div class="hidden sm:block sm:basis-[8%] sm:grow-[2] 2xl:hidden"></div>
<img src="/modules/custom/riverside_pt/images/neck.jpg" alt="Our clinic" class="basis-full sm:basis-[58%] sm:grow 2xl:basis-full 2xl:flex-none min-w-0 h-full object-cover object-[center_0%]" /> <img src="/modules/custom/riverside_pt/images/neck.jpg" alt="Our clinic" class="basis-full sm:basis-[58%] sm:grow 2xl:basis-full 2xl:flex-none min-w-0 h-full object-cover object-center" />
<div class="hidden sm:block sm:basis-[34%] sm:grow-[2] 2xl:hidden"></div> <div class="hidden sm:block sm:basis-[34%] sm:grow-[2] 2xl:hidden"></div>
</div> </div>
<div class="absolute inset-0 bg-gradient-to-t from-black/60 via-black/30 to-transparent sm:hidden"></div> <div class="absolute inset-0 bg-gradient-to-t from-black/60 via-black/30 to-transparent sm:hidden"></div>

View file

@ -113,7 +113,7 @@
</div> </div>
</section> </section>
<section class="bg-white border-b border-pt-blue-300"> <section id="pt-testimonials" class="bg-white border-b border-pt-blue-300">
<rpt-testimonials class="block"></rpt-testimonials> <rpt-testimonials class="block"></rpt-testimonials>
</section> </section>