diff --git a/docker/php/entrypoint.sh b/docker/php/entrypoint.sh index c0613dd..8eb8383 100644 --- a/docker/php/entrypoint.sh +++ b/docker/php/entrypoint.sh @@ -47,7 +47,9 @@ if [ "$IS_SETUP" != "1" ]; then $DRUSH config:set system.site page.front /home -y && \ echo "[entrypoint] Front page set." || echo "[entrypoint] WARNING: front page config failed." - $DRUSH theme:enable olivero claro_compact -y && \ + $DRUSH theme:enable starterkit_theme claro_compact -y && \ + $DRUSH config:set system.theme default starterkit_theme -y && \ + $DRUSH config:set system.theme admin claro_compact -y && \ echo "[entrypoint] Themes set." || echo "[entrypoint] WARNING: theme enable failed." if ls /var/www/html/config/sync/*.yml >/dev/null 2>&1; then diff --git a/web/modules/custom/riverside_pt/css/front.css b/web/modules/custom/riverside_pt/css/front.css index 3cb8f3f..23ba79f 100644 --- a/web/modules/custom/riverside_pt/css/front.css +++ b/web/modules/custom/riverside_pt/css/front.css @@ -3,6 +3,10 @@ display: none; } +.page-wrapper { + max-width: none; +} + /* ── Hero ───────────────────────────────────────────────────── */ .rpt-hero { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); @@ -92,7 +96,7 @@ /* ── Services section ───────────────────────────────────────── */ .rpt-services { padding: 4rem 1.5rem; - background: #fff; + background: #f3f4f6; } .rpt-services__header { diff --git a/web/modules/custom/riverside_pt/css/nav.css b/web/modules/custom/riverside_pt/css/nav.css index 23f226f..a107ab4 100644 --- a/web/modules/custom/riverside_pt/css/nav.css +++ b/web/modules/custom/riverside_pt/css/nav.css @@ -1,6 +1,7 @@ /* ── Hide Olivero's built-in header entirely ─────────────── */ .site-header, -.sticky-header-toggle { +.sticky-header-toggle, +.social-bar { display: none !important; } @@ -60,8 +61,10 @@ body { gap: 0.25rem; } -.rpt-header__item--cta { +.rpt-header__items--cta { margin-left: auto; + display: flex; + gap: 0.25rem; } /* ── Nav links ───────────────────────────────────────────── */ @@ -106,6 +109,11 @@ body { color: #fff; } +.rpt-header__item--cta { + padding: 0.5rem 1.5rem; +} + + /* ── Hamburger button (hidden on desktop) ────────────────── */ .rpt-header__hamburger { display: none; @@ -177,10 +185,6 @@ body { gap: 0; } - .rpt-header__item--cta { - margin-left: 0; - padding: 0.5rem 1.5rem; - } .rpt-header__link { padding: 0.75rem 1.5rem; diff --git a/web/modules/custom/riverside_pt/riverside_pt.install b/web/modules/custom/riverside_pt/riverside_pt.install index 26c4914..f5cf9b4 100644 --- a/web/modules/custom/riverside_pt/riverside_pt.install +++ b/web/modules/custom/riverside_pt/riverside_pt.install @@ -185,7 +185,8 @@ function _riverside_pt_build_navigation(): void { ['title' => 'Services', 'uri' => 'internal:/services', 'weight' => 1, 'class' => NULL], ['title' => 'About', 'uri' => 'internal:/about', 'weight' => 2, 'class' => NULL], ['title' => 'FAQ', 'uri' => 'internal:/faq', 'weight' => 3, 'class' => NULL], - ['title' => 'Contact', 'uri' => 'internal:/contact', 'weight' => 4, 'class' => 'nav-cta'], + + ['title' => 'Contact', 'uri' => 'internal:/contact', 'weight' => 4, 'class' => 'nav-cta nav-cta--primary'], ['title' => 'Book An Appointment', 'uri' => 'internal:/schedule', 'weight' => 5, 'class' => 'nav-cta nav-cta--primary'], ]; diff --git a/web/modules/custom/riverside_pt/riverside_pt.module b/web/modules/custom/riverside_pt/riverside_pt.module index 1417d9e..d05d8e5 100644 --- a/web/modules/custom/riverside_pt/riverside_pt.module +++ b/web/modules/custom/riverside_pt/riverside_pt.module @@ -56,7 +56,7 @@ function riverside_pt_preprocess_riverside_pt_header(array &$variables): void { $items[] = [ 'title' => $title, 'url' => $url, - 'is_cta' => ($title === 'Book An Appointment'), + 'is_cta' => ($title === 'Book An Appointment' || $title === 'Contact'), ]; } $variables['menu_items'] = $items; diff --git a/web/modules/custom/riverside_pt/templates/riverside-pt-header.html.twig b/web/modules/custom/riverside_pt/templates/riverside-pt-header.html.twig index b11400d..adfae06 100644 --- a/web/modules/custom/riverside_pt/templates/riverside-pt-header.html.twig +++ b/web/modules/custom/riverside_pt/templates/riverside-pt-header.html.twig @@ -13,13 +13,24 @@ {% endif %} {% endfor %} + + {% set has_cta = false %} {% for item in menu_items %} - {% if item.is_cta %} -
  • - {{ item.title }} -
  • - {% endif %} + {% if item.is_cta %}{% set has_cta = true %}{% endif %} {% endfor %} + + {% if has_cta %} +
    + {% for item in menu_items %} + {% if item.is_cta %} +
  • + {{ item.title }} +
  • + {% endif %} + {% endfor %} +
    + {% endif %} +