From 87358f4281cc123d27a8d74ea0889680e6df4b0c Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 26 May 2026 08:15:57 +0200 Subject: [PATCH] Add space to nav scroll. --- CtrlAltAssist/Components/App.razor | 1 + .../Pages/Home/D_PricingSection.razor | 36 +++++++++---------- .../Pages/Home/D_PricingSection.razor.css | 26 ++++++++++++++ CtrlAltAssist/wwwroot/app.css | 6 ++++ CtrlAltAssist/wwwroot/robots.txt | 2 ++ 5 files changed, 53 insertions(+), 18 deletions(-) create mode 100644 CtrlAltAssist/Components/Pages/Home/D_PricingSection.razor.css create mode 100644 CtrlAltAssist/wwwroot/robots.txt diff --git a/CtrlAltAssist/Components/App.razor b/CtrlAltAssist/Components/App.razor index fce08e0..4e0e427 100644 --- a/CtrlAltAssist/Components/App.razor +++ b/CtrlAltAssist/Components/App.razor @@ -8,6 +8,7 @@ + diff --git a/CtrlAltAssist/Components/Pages/Home/D_PricingSection.razor b/CtrlAltAssist/Components/Pages/Home/D_PricingSection.razor index fbcd228..150f5e7 100644 --- a/CtrlAltAssist/Components/Pages/Home/D_PricingSection.razor +++ b/CtrlAltAssist/Components/Pages/Home/D_PricingSection.razor @@ -15,11 +15,11 @@
From R2000 pm

Price to be confirmed

Get a quote @@ -28,19 +28,19 @@
@@ -55,12 +55,12 @@
Bespoke

Tailored to your exact requirements

    -
  • Everything in Premium
  • -
  • Unlimited transactions
  • -
  • Multi-entity reporting
  • -
  • Custom Xero integrations
  • -
  • Dedicated monthly strategy session
  • -
  • Direct adviser access
  • +
  • Everything in Premium
  • +
  • Unlimited transactions
  • +
  • Multi-entity reporting
  • +
  • Custom Xero integrations
  • +
  • Dedicated monthly strategy session
  • +
  • Direct adviser access
Let's talk
diff --git a/CtrlAltAssist/Components/Pages/Home/D_PricingSection.razor.css b/CtrlAltAssist/Components/Pages/Home/D_PricingSection.razor.css new file mode 100644 index 0000000..11ee3a2 --- /dev/null +++ b/CtrlAltAssist/Components/Pages/Home/D_PricingSection.razor.css @@ -0,0 +1,26 @@ +.price-features { + list-style: none; + padding-left: 0; +} + +.featured { + position: relative; + border: 1px solid #0d6efd !important; + border-radius: 0.75rem !important; + box-shadow: 0 0 20px rgba(13, 110, 253, 0.5), 0 0 40px rgba(13, 110, 253, 0.3), 0 0 60px rgba(13, 110, 253, 0.15) !important; +} + +.featured-tag { + position: absolute; + top: -13px; + left: 50%; + transform: translateX(-50%); + background-color: #0d6efd; + color: #fff; + padding: 4px 18px; + border-radius: 20px; + font-size: 0.8rem; + font-weight: 600; + white-space: nowrap; + z-index: 1; +} \ No newline at end of file diff --git a/CtrlAltAssist/wwwroot/app.css b/CtrlAltAssist/wwwroot/app.css index b2b874a..ce7832c 100644 --- a/CtrlAltAssist/wwwroot/app.css +++ b/CtrlAltAssist/wwwroot/app.css @@ -123,4 +123,10 @@ h1:focus { .darker-border-checkbox.form-check-input { border-color: #929292; } + +/* Offset anchor scroll targets so the sticky navbar doesn't hide content */ +section[id], +header[id] { + scroll-margin-top: 40px; +} \ No newline at end of file diff --git a/CtrlAltAssist/wwwroot/robots.txt b/CtrlAltAssist/wwwroot/robots.txt new file mode 100644 index 0000000..14267e9 --- /dev/null +++ b/CtrlAltAssist/wwwroot/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: / \ No newline at end of file