Commit ea6e077
Replace theme with Tailwind CSS + Alpine.js (#22)
* adjust logos
* Add new Tailwind CSS + Alpine.js theme (capro-tw)
Replace the Bootstrap 4 + jQuery theme with a modern stack:
- Tailwind CSS 4 with CSS-first configuration and design tokens
- Alpine.js for interactive components (nav, portfolio filter, testimonials)
- Self-hosted fonts via @fontsource (Space Grotesk, Spectral)
- FontAwesome compiled from SCSS, deferred loading
- Vanilla JS for scroll reveal and counter animations
- WebP image conversion throughout
- Client-side publication fetching via OpenAlex API (replaces R/GH Action pipeline)
Performance: Lighthouse homepage 53→89, team page 65→82
Accessibility: 100 on both pages
Best Practices: 100 on both pages
Removes gscholar_id from team member front matter (publications
now fetched client-side using ORCID IDs from social links).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Clean up old infrastructure and update CI
- Remove R publication pipeline (scripts/get_pubs.R, weekly GH Action, data/team/pubs/)
- Update CI workflows to install Node.js and theme npm deps
- Remove weekly cron schedule (no longer needed without R fetching)
- Remove libcurl system dependency (was only for R)
- Fix misspelled config filename (langauges → languages)
- Fix Norwegian language config YAML indentation
- Add node_modules/ to .gitignore
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Polish sections to match original theme styling
- About: larger hexagons (160px), teal headings, more card padding
- Services: restore distinctive offset shadow, teal headings, muted icons
- Counters: dark card boxes around each counter item
- Add theme attribution to Themefisher's Timer theme in theme.toml
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Polish service blocks and alternate section backgrounds
- Remove hover effect from service blocks (no associated action)
- Increase service block padding and soften offset shadow
- Alternate bg-dark/bg-grey across homepage sections
- Single-word section titles render in grey, not red accent
- Counter cards with dark background boxes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Add decorative wave lines and polish visual details
- Add SVG wave lines (primary red curves) to hero bottom, CTA edges, and footer top
- Match original theme styling: larger hexagons, service offset shadows, counter cards
- Portfolio cards with white image area, hover overlay with search circle, dark meta
- Team cards with border, red highlight on hover
- Section heading divider matches original (grey line with centered red bar)
- Alternating section backgrounds (dark/grey)
- Tighten footer spacing between waves and content
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Remove duplicate booking CTA from contact section
The CTA section already has a "Book a consultation" button.
Simplify contact to just the content text and address details.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Keep booking CTA card, remove duplicate content link
Contact section now shows address details on the left and the
booking card on the right. The markdown content with inline
booking link is removed to avoid duplication.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Add Leaflet map, team card borders, and visual polish
- Add interactive OpenStreetMap via Leaflet.js with red marker
- Leaflet loaded on demand (no API key needed)
- Team cards with subtle border, red on hover
- Footer spacing tightened
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Self-host Leaflet via npm instead of CDN
- Add leaflet as npm dependency
- Sync Leaflet JS, CSS, and images via postinstall
- Load from local vendor files with SRI integrity
- Remove CDN loading from map.js
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ff2b71a commit ea6e077
117 files changed
Lines changed: 10866 additions & 1717 deletions
File tree
- .github/workflows
- config/_default
- languages
- content/team
- am_mowinckel
- ik_amlien
- jla_warren
- mh_sneve
- data/team/pubs
- scripts
- themes/capro-tw
- archetypes/team
- assets
- css
- components
- vendor
- js
- vendor
- scss
- vendor
- layouts
- _default
- partials
- head
- sections
- redirect
- team
- static/webfonts
- fontawesome
- google-fonts
- space-grotesk
- spectral
- leaflet
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
| |||
32 | 30 | | |
33 | 31 | | |
34 | 32 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
0 commit comments