From 1a5760b2519495b283a4b23773aac684f72a1709 Mon Sep 17 00:00:00 2001 From: Quinten Steenhuis Date: Tue, 7 Oct 2025 07:12:12 -0400 Subject: [PATCH] Use updated donation link; add button to nav --- docs/get_started/intro.md | 2 +- docusaurus.config.js | 6 ++++++ src/css/custom.css | 22 ++++++++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/docs/get_started/intro.md b/docs/get_started/intro.md index b0c737fa1..90c6284b9 100644 --- a/docs/get_started/intro.md +++ b/docs/get_started/intro.md @@ -113,7 +113,7 @@ The LIT Lab's work has been and will continue to be supported by grants. Moving ### Support our work -You can support the LIT Lab's work on the Document Assembly Line by [making a donation to the Legal Innovation and Tech Lab (LIT) Fund](https://www.givecampus.com/campaigns/55401/donations/new). Your contributions help us continue developing these free and open-source tools for the legal community. +You can support the LIT Lab's work on the Document Assembly Line by [making a donation to the Legal Innovation and Tech Lab (LIT) Fund](https://www.givecampus.com/campaigns/70271/donations/new). Your contributions help us continue developing these free and open-source tools for the legal community. ## Our repositories diff --git a/docusaurus.config.js b/docusaurus.config.js index 22f3e2128..88558b59a 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -46,6 +46,12 @@ module.exports = { label: 'Docassemble docs', position: 'right', }, + { + href: 'https://www.givecampus.com/campaigns/70271/donations/new', + label: 'Donate', + position: 'right', + className: 'navbar-donate-button', + }, { href: 'https://github.com/SuffolkLITLab/docassemble-AssemblyLine', className: 'header-github-link', diff --git a/src/css/custom.css b/src/css/custom.css index 73c958b0e..b3ab3ef0d 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -117,6 +117,28 @@ button[class*="toggleButton"] { } } +.navbar-donate-button { + background-color: var(--suffolk-light-gold) !important; + color: var(--suffolk-dark-blue) !important; + border-radius: 6px !important; + padding: 0.375rem 0.75rem !important; + font-weight: 600 !important; + margin-left: 0.5rem !important; + transition: all 0.2s ease-in-out !important; + + &:hover { + background-color: var(--suffolk-dark-gold) !important; + color: white !important; + text-decoration: none !important; + } +} + +/* Remove external link icon from donate button */ +.navbar-donate-button [class*="icon"], +.navbar-donate-button [class*="Icon"] { + display: none !important; +} + .navbar__search { margin-left: 0 !important; }