diff --git a/CHANGELOG.md b/CHANGELOG.md index c9062ef..53b814b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,9 +11,14 @@ release workflow will take care of the rest. ## [Unreleased] -## [1.0.2] - 2026-05-20 +## [1.0.2] - 2026-05-25 ### Added +- BMLT Minutes integration: a new **Minutes** page template (slug `minutes`) + renders the plugin's `[minutes]` shortcode behind a defensive + `lantern_has_shortcode()` check, degrading to a notice when the plugin is + inactive. The `.bmlt-minutes__*` output is rebound to the Lantern palette + in `assets/css/plugins.css`. - The four worldwide-stats values on the about band (weekly-meetings value and label, countries value and label) are now Customizer-backed with click-to-edit pencils via `selective_refresh` partials. diff --git a/README.md b/README.md index d6a4ed6..fca5aab 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ Lantern auto-detects and integrates with the following — install only what you | [Fetch Meditation](https://wordpress.org/plugins/fetch-meditation/) | JFT / SPAD readings | Front page "Today" panel + Daily Meditation template | | [NACC](https://wordpress.org/plugins/nacc-wordpress-plugin/) | Cleantime calculator | Cleantime template | | [BMLT-Workflow](https://github.com/bmlt-enabled/bmlt-workflow) | Meeting update form | For Members template | +| [BMLT Minutes](https://wordpress.org/plugins/bmlt-minutes/) | Committee minutes archive | Minutes page template | | [Bread](https://wordpress.org/plugins/bmlt-meeting-list/) | PDF meeting list | Linked from For Members | Lantern supports either Crumb or Crouton as the BMLT meeting finder — pick whichever your service body already uses. The Meeting Finder template embeds whichever is active; if neither is installed, the page shows a friendly notice linking to both. @@ -46,6 +47,7 @@ Create pages with these slugs and Lantern will discover them automatically: | `helpline` | Helpline | Large clickable number, FAQ | | `public` | For the Public | Newcomer / families / professionals / literature | | `members` | For Members | Minutes, subcommittees, events, BMLT-Workflow form | +| `minutes` | Minutes | BMLT Minutes committee minutes archive | | `professionals` | For Professionals | Curated NA literature for professionals | | `literature` | Literature | Booklets / IPs / Group Readings + e-book retailers | | `about` | (default) | About-NA pillar page — linked from hero | diff --git a/lantern/assets/css/plugins.css b/lantern/assets/css/plugins.css index 70987ac..405f820 100644 --- a/lantern/assets/css/plugins.css +++ b/lantern/assets/css/plugins.css @@ -600,6 +600,88 @@ body .meditation-read-more:hover { border-bottom: 1px solid var(--lantern-ink-line); } +/* ---------------------------------------------------------------- + BMLT Minutes (committee minutes archive) + The plugin exposes no CSS variables, so we target its .bmlt-minutes__* + class hooks (defined in bmlt-minutes/css/minutes.css) and rebind the + hardcoded greys/blue to the Lantern palette. Used by the Minutes page + template and the singular minutes permalink's "View Document" button. + ---------------------------------------------------------------- */ +.lantern-minutes-wrap { + background: var(--lantern-paper); + border: 1px solid var(--lantern-ink-line); + border-radius: var(--lantern-radius); + padding: clamp(1.25rem, 2vw, 2rem); +} + +.lantern-minutes-wrap .bmlt-minutes { + font-family: var(--lantern-body); + font-size: var(--lantern-step--1); + color: var(--lantern-ink); +} + +.lantern-minutes-wrap .bmlt-minutes--empty { + color: var(--lantern-ink-faint); +} + +/* Committee / year headings */ +.lantern-minutes-wrap .bmlt-minutes__group { + font-family: var(--lantern-display); + font-weight: 500; + letter-spacing: -0.01em; + color: var(--lantern-ink); + border-bottom: 1px solid var(--lantern-ember); +} + +.lantern-minutes-wrap .bmlt-minutes__item { + border-bottom: 1px solid var(--lantern-ink-line); +} + +.lantern-minutes-wrap .bmlt-minutes__icon { + color: var(--lantern-ink-faint); +} + +.lantern-minutes-wrap .bmlt-minutes__title { + color: var(--lantern-ink); +} + +.lantern-minutes-wrap .bmlt-minutes__date { + color: var(--lantern-ink-faint); +} + +.lantern-minutes-wrap .bmlt-minutes__excerpt { + color: var(--lantern-ink-soft); +} + +/* File-type badge — tint from the palette so it retunes on override */ +.lantern-minutes-wrap .bmlt-minutes__type { + background: var(--lantern-paper-deep); + color: var(--lantern-ink-soft); +} +.lantern-minutes-wrap .bmlt-minutes__type--locked { + background: color-mix(in srgb, var(--lantern-ember) 14%, var(--lantern-paper)); + color: var(--lantern-ember-deep); +} +.lantern-minutes-wrap .bmlt-minutes__item--locked .bmlt-minutes__icon { + color: var(--lantern-ember-deep); +} + +/* "View Document" button — both in-template and on the singular permalink */ +.lantern-minutes-wrap .bmlt-minutes__button, +.bmlt-minutes__single-link .bmlt-minutes__button { + background: var(--lantern-ember); + border-radius: var(--lantern-radius); + font-family: var(--lantern-body); + color: var(--lantern-paper); +} +.lantern-minutes-wrap .bmlt-minutes__button:hover, +.lantern-minutes-wrap .bmlt-minutes__button:focus, +.bmlt-minutes__single-link .bmlt-minutes__button:hover, +.bmlt-minutes__single-link .bmlt-minutes__button:focus { + background: var(--lantern-ember-deep); + color: var(--lantern-paper); +} + /* ---------------------------------------------------------------- Notices (plugin not active) ---------------------------------------------------------------- */ diff --git a/lantern/page-templates/minutes.php b/lantern/page-templates/minutes.php new file mode 100644 index 0000000..50933c5 --- /dev/null +++ b/lantern/page-templates/minutes.php @@ -0,0 +1,48 @@ + + +
+
+
+ +

+ +
+ +
+
+
+ +
+
+ +
+ +
+ +
+

+

+ array( 'href' => array(), 'rel' => array(), 'target' => array() ) ) ), + 'BMLT Minutes' + ); + ?> +

+
+ +
+
+ +