Commit Graph
11 Commits
Author SHA1 Message Date
archvillainetteandClaude Fable 5 e20ab5a383 Add sow-* page styles for /news /blog /gallery
The file-based pages plugin ships templates that use sow-* classes,
which had no CSS anywhere (live styles were never defined either).
Style them from DESIGN.md: velvet panels, gilt-edge borders, Cinzel
etched headings, dark-gold-plate primary buttons.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 16:49:15 +02:00
archvillainette 96f83868b1 Wiki badge and /wiki links in global search results (#14)
Theme half of the cross-repo wiki global search work (plugin half: sow-nodebb-plugin-wiki#12).

Search results tagged by the wiki plugin (`isWikiArticle` + `wikiPath`) now render with a gold "Wiki" badge and link to `/wiki/...` instead of `/post/...`:

- `templates/partials/quick-search-results.tpl` — navbar quick-search dropdown
- `templates/partials/search-results.tpl` — `/search` page, topics view
- `templates/partials/posts_list_item.tpl` — `/search` page, posts view (default). Shared with account/group post lists, where the wiki flags are never set and the conditional no-ops.
- `scss/westgate/_search.scss` — badge styling from existing `--wg-gold` / ledger-border tokens; imported from `theme.scss`
- `languages/en-GB/westgate.json` — `[[westgate:wiki-badge]]` label
- Spec updated with the resolved approach (template override, not client-side decoration)

Untagged forum results render byte-identical to Harmony stock.

Verification: all three overrides compiled and rendered against benchpressjs with mixed wiki/forum fixture rows (wiki row gets `/wiki/...` href + exactly one badge; forum rows keep stock `/post/...` links, `RE:` prefix and main-post icon preserved). New contract test in `tests/wiki-search-badge-contract.test.js`; suite passes except the pre-existing `global-footer-contract.test.js` failure (stale `join-the-team` link assertion from #10, also failing on main — not touched here).

End-to-end visual check (badge in the live dropdown + /search) still needs the dev stack with plugin PR #12 merged.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Reviewed-on: #14
Co-authored-by: vickydotbat <vickydotbat@tutamail.com>
Co-committed-by: vickydotbat <vickydotbat@tutamail.com>
2026-07-03 07:10:47 +00:00
archvillainette e2b10e6e13 Add Westgate global footer (#8)
## Summary
- add the global Westgate footer partial under `templates/partials/footer/`
- import scoped footer styles from `theme.scss`
- include the footer design spec and powered-by HTML/CSS references
- add a contract test for the footer integration and required links

## Verification
- `node tests/global-footer-contract.test.js`
- `node tests/global-topbar-contract.test.js`
- `for test in tests/*.test.js; do node "$test"; done`
- `npm test --if-present`
- `git diff --check`

Reviewed-on: #8
Co-authored-by: vickydotbat <vickydotbat@tutamail.com>
Co-committed-by: vickydotbat <vickydotbat@tutamail.com>
2026-06-26 13:56:40 +00:00
archvillainette 2d37f8a1f6 global topbar (#6)
adds a global topbar to the theme

Reviewed-on: #6
Reviewed-by: xtul <mpiasecki720@protonmail.com>
Co-authored-by: vickydotbat <vickydotbat@tutamail.com>
Co-committed-by: vickydotbat <vickydotbat@tutamail.com>
2026-06-26 08:27:49 +00:00
Michał PiaseckiandGitHub 957bd6b159 added wiki themes (#1) 2026-04-26 18:29:03 +02:00
archvillainette dadee4c78f Header Test 2026-04-24 14:57:06 +02:00
archvillainette 6fff00a8b2 Second Pass 2026-04-22 18:11:03 +02:00
archvillainette 46ee62740e First Pass 2026-04-22 14:40:59 +02:00
archvillainette 3a07eed76a Changes Per Readme 2026-04-21 08:38:51 +02:00
Barış Soner Uşaklı 9e2cc7d51b update theme to resolved missing fonts
also add harmony client side modules
2024-01-04 12:59:04 -05:00
Barış Soner Uşaklı ff4a60feec closes #8 2023-05-18 11:30:21 -04:00