diff --git a/site/monica_site/static/css/theme-overrides.css b/site/monica_site/static/css/theme-overrides.css index 4950c85..2792924 100644 --- a/site/monica_site/static/css/theme-overrides.css +++ b/site/monica_site/static/css/theme-overrides.css @@ -94,6 +94,15 @@ html .page .text-primary { color: var(--monica-primary); } +/* Mobile drawer active/hover — theme uses #0045b6 */ +.rd-navbar-fixed .rd-nav-item:hover .rd-nav-link, +.rd-navbar-fixed .rd-nav-item.focus .rd-nav-link, +.rd-navbar-fixed .rd-nav-item.active .rd-nav-link, +.rd-navbar-fixed .rd-nav-item.opened .rd-nav-link { + background: var(--monica-primary) !important; + color: #fff !important; +} + /* Scroll-to-top (injected outside .page) */ .ui-to-top { background: var(--monica-primary) !important; @@ -204,9 +213,76 @@ html .page .text-primary { font: inherit; font-size: 13px; cursor: pointer; + text-decoration: none; } .footer-link-btn:hover { text-decoration: underline; + color: #a8e8ed; +} + +.cookie-consent-link { + color: #7dd3da; + text-decoration: underline; + text-underline-offset: 2px; +} +.cookie-consent-link:hover { + color: #fff; +} + +.legal-prose { + max-width: 42rem; +} +.legal-prose .legal-lead { + font-size: 1.05rem; + color: var(--monica-ink); + margin-bottom: 1.75rem; +} +.legal-prose h2 { + font-size: 1.35rem; + margin-top: 2rem; + margin-bottom: 0.75rem; + text-transform: none; + letter-spacing: 0; +} +.legal-prose p { + margin-bottom: 1rem; + color: #4b5563; + line-height: 1.65; +} +.legal-prose .legal-updated { + margin-top: 2.5rem; + font-size: 0.875rem; + color: var(--monica-muted); +} + +/* Contact form — breathe on narrow viewports */ +@media (max-width: 767.98px) { + .contact-form-section > .container { + padding-left: 1.5rem; + padding-right: 1.5rem; + } + .contact-form-section .section-lg { + padding-top: 2.5rem; + padding-bottom: 2.5rem; + } + .contact-form-section h3 { + margin-bottom: 1.25rem; + padding-right: 0.25rem; + } + .contact-message-form .form-wrap { + margin-bottom: 0.35rem; + } + .contact-message-form .form-label-outside { + margin-bottom: 0.35rem; + } + .contact-message-form .row-10 { + margin-left: 0; + margin-right: 0; + } + .contact-message-form .row-10 > [class*="col-"] { + padding-left: 0; + padding-right: 0; + } } .footer-aside-copy { diff --git a/site/monica_site/templates/base.html b/site/monica_site/templates/base.html index 4611401..b263ba2 100644 --- a/site/monica_site/templates/base.html +++ b/site/monica_site/templates/base.html @@ -125,17 +125,16 @@
  • Home
  • About
  • Contact
  • +
  • Terms of Service
  • {% if user.is_authenticated %}
  • Realtor portal
  • {% else %}
  • Realtor portal
  • {% endif %} - {% if tianji_enabled %}

    - + Cookie Preferences

    - {% endif %} @@ -168,8 +167,8 @@ -
    +

    Send a message

    -
    + {% csrf_token %}
    diff --git a/site/public/templates/public/terms.html b/site/public/templates/public/terms.html new file mode 100644 index 0000000..d1b1e91 --- /dev/null +++ b/site/public/templates/public/terms.html @@ -0,0 +1,50 @@ +{% extends "base.html" %} +{% load static %} +{% block title %}Terms of Service · {{ SITE_NAME }}{% endblock %} +{% block og_title %}Terms of Service · {{ SITE_NAME }}{% endblock %} +{% block twitter_title %}Terms of Service · {{ SITE_NAME }}{% endblock %} +{% block meta_description %}Terms of Service for {{ SITE_NAME }} / MKDRealtor.com — how we use analytics, protect your information, and never sell or share personal data with third parties for marketing.{% endblock %} +{% block og_description %}Terms of Service for {{ SITE_NAME }} / MKDRealtor.com — how we use analytics, protect your information, and never sell or share personal data with third parties for marketing.{% endblock %} +{% block twitter_description %}Terms of Service for {{ SITE_NAME }} / MKDRealtor.com — how we use analytics, protect your information, and never sell or share personal data with third parties for marketing.{% endblock %} +{% block content %} + +
    + +
    +{% endblock %} diff --git a/site/public/urls.py b/site/public/urls.py index 0977bd5..514d8a8 100644 --- a/site/public/urls.py +++ b/site/public/urls.py @@ -8,6 +8,7 @@ urlpatterns = [ path("", views.home, name="home"), path("about/", views.about, name="about"), path("contact/", views.contact, name="contact"), + path("terms/", views.terms, name="terms"), path("robots.txt", views.robots_txt, name="robots_txt"), path("sitemap.xml", views.sitemap_xml, name="sitemap_xml"), path("under-construction/", views.under_construction, name="under_construction"), diff --git a/site/public/views.py b/site/public/views.py index c33985f..4bb1ba8 100644 --- a/site/public/views.py +++ b/site/public/views.py @@ -35,6 +35,10 @@ def about(request): return render(request, "public/about.html") +def terms(request): + return render(request, "public/terms.html") + + @require_GET def robots_txt(request): site = _public_site_base(request) @@ -60,6 +64,7 @@ def sitemap_xml(request): ("public:home", "1.0", "weekly"), ("public:about", "0.8", "monthly"), ("public:contact", "0.9", "monthly"), + ("public:terms", "0.5", "yearly"), ] urls = [] for name, priority, changefreq in paths: