From edd491d680c7e0657f25a87db77af0981bef8f85 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 11 Feb 2026 07:15:11 +0000 Subject: [PATCH] Fix navbar across all pages: add nav include, fonts, active state, spacing, stats, error pages - Add nav.php include to 5 missing pages (cost-calculator, thank-you, 403, 404, 500) - Add ErrorDocument directives to .htaccess for custom 403/404/500 pages - Fix bogus accuracy stats (homepage, web-scraping, location pages) - Fix invisible CTA buttons on property and financial service pages - Add Google Fonts (Roboto Slab + Lato) to all pages missing it (tools, blog articles, error pages) - Add active nav link highlighting (teal underline for current page) - Improve footer contrast to WCAG AA, equal-height cards, mobile text scaling - Consistent navbar-to-content spacing across all pages - Bump cache version to v1.1.3 --- .htaccess | 5 + 403.php | 7 +- 404.php | 1 + 500.php | 7 +- assets/css/main.css | 186 +- assets/css/main.css.bak.20260211 | 4496 +++++++++++++++++ assets/css/main.min.css | 186 +- .../free-web-scraping-tools-launch.php | 5 +- .../real-time-analytics-streaming.php | 5 +- .../retail-competitor-monitoring-case.php | 5 +- blog/articles/uk-cookie-law-compliance.php | 5 +- case-studies/index.php | 5 +- includes/nav.php | 30 +- index.php | 10 +- locations/birmingham.php | 2 +- locations/london.php | 2 +- locations/manchester.php | 2 +- quote.php | 2 +- services/data-cleaning.php | 5 +- services/financial-data-services.php | 2 +- services/property-data-extraction.php | 2 +- services/web-scraping.php | 4 +- thank-you.php | 6 +- tools/cost-calculator.php | 6 +- tools/data-converter.php | 5 +- tools/index.php | 7 +- tools/robots-analyzer.php | 5 +- tools/scrapeability-checker.php | 5 +- 28 files changed, 4922 insertions(+), 86 deletions(-) create mode 100644 assets/css/main.css.bak.20260211 diff --git a/.htaccess b/.htaccess index d5103ae..e7394d7 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,8 @@ +# Custom error pages +ErrorDocument 403 /403.php +ErrorDocument 404 /404.php +ErrorDocument 500 /500.php + # Security Rules for UK Data Services # Protect sensitive files and configs diff --git a/403.php b/403.php index e835716..61adc06 100644 --- a/403.php +++ b/403.php @@ -10,7 +10,10 @@ http_response_code(403); Access Forbidden - UK Data Services - + +