Commit Graph
60 Commits
Author SHA1 Message Date
eric.busandClaude Opus 5.5 6d2bd8b8ed SEO for news overview pages (tag, region, theme, search)
- Canonical URL includes ?pagina=N, so later pages aren't treated as
  duplicates of page 1; 'load more' button links to the next page so
  search engines can reach older articles (JavaScript still loads in place)
- Description per page ('Het laatste nieuws over Blaricum van GOOI&meer...')
  and '(pagina N)' in the title from page 2
- Real tag name in title/heading ('Gooise Meren' instead of 'Gooise-meren')
- CollectionPage + ItemList (articles, numbered across pages) and
  BreadcrumbList structured data
- Open Graph tags (type website, title, description, url, image)
- Search results: noindex, follow and no structured data

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:52:59 +01:00
eric.busandClaude Opus 5.5 f7b1dbac8f Generate minified CSS/JS in the Docker build, remove unused assets
- New 'assets' stage in the Dockerfile builds style.min.css and
  functions.min.js from the sources (npm run build:min); they are no
  longer committed, so they can't go stale anymore
- Production (APP_DEBUG off) loads the minified files, local development
  the readable ones, both with a cache-busting version (AssetHelper,
  Asset::url() in the layout)
- Source maps are excluded from the image
- Remove unused assets: public/css/old, public/js/old and unused copies
  of jQuery, wavesurfer, prettyPhoto (min) and mediaplayer_with_plugins
- npm scripts: build:css (committed CSS), build:min (Docker build);
  sass-minify scripts removed
- readme: how the CSS/JS build works

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:00:35 +01:00
eric.busandClaude Opus 5.5 b399e8bc76 chore: stop committing CSS source maps
- Remove the .map files from git and ignore public/css/**/*.map; they
  are still generated locally by 'npm run sass' / 'sass-watch'
- New 'npm run build:css': builds the committed CSS (style.css, app.css,
  style.min.css) without source maps or sourceMappingURL comments
- style.min.css was out of date (missing .search_form{display:none}
  after a merge); rebuilt from the current sources

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 09:53:40 +01:00
eric.bus 93893e73d9 Merge branch 'main' into dev
Build and Deploy (dev) / build (push) Successful in 17m40s
# Conflicts:
#	public/css/style.css.map
#	public/css/style.min.css
#	public/css/style.min.css.map
2026-11-24 09:47:31 +01:00
eric.bus e467436202 Merge pull request 'SEO: site-wide NewsMediaOrganization and WebSite structured data' (#41) from feature/seo-news-detail into main
Build and Deploy / build (push) Successful in 4m21s
Reviewed-on: #41
2026-11-23 15:59:40 +01:00
eric.busandClaude Opus 5.5 57f2a1ee45 SEO: site-wide NewsMediaOrganization and WebSite structured data
- GOOI&meer as NewsMediaOrganization on every page: former names (NH Gooi,
  6fm), logo, address, contact, KvK, social profiles, masthead (/redactie)
  and feedback policy (/klachten)
- WebSite with SearchAction (/nieuws/zoeken/{term})
- Organization details in config/seo.php; news articles use the same
  publisher @id and refer to the WebSite with isPartOf

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 15:56:46 +01:00
eric.bus 4c01d2a296 Merge pull request 'Add SEO headers for news detail page' (#40) from feature/seo-news-detail into main
Build and Deploy / build (push) Successful in 4m20s
Reviewed-on: #40
2026-11-23 15:35:26 +01:00
eric.bus 129efb2857 chore: rename social media accounts 2026-11-23 15:33:58 +01:00
eric.busandClaude Opus 5.5 69bd0ba66a Semantic landmarks: header, main, aside and footer
- Mobile and desktop top bars are <header>, the footer is <footer>
  (existing elements retagged, so sticky positioning is unaffected)
- The page content is <main>; on article pages and /nieuws the content
  column is the <main> and the sidebar a top-level <aside>
- Podcast and program pages: sidebar is an <aside> (inside the page
  <main>, because their title sits above the content column)
- No visual changes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 15:30:50 +01:00
eric.busandClaude Opus 5.5 dbbdca504e SEO: structured data and correct meta tags for news articles
- NewsArticle + BreadcrumbList JSON-LD (headline, summary, images, ISO
  dates, authors, GOOI&meer as NewsMediaOrganization publisher, section)
- Per-article meta description instead of the generic site text
- article:published_time / modified_time in ISO 8601 (was og:article:*
  in RFC 2822), article:section / article:tag, og:image:alt, og:locale nl_NL
- Canonical URL, twitter:card, robots max-image-preview:large
- <html lang="nl">, title without leading whitespace, no keywords meta
- Article wrapped in <article>, dates in <time datetime>
- Metadata is rebuilt after the controller fills in API v2 data (dates,
  author, content blocks were not reflected before)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 14:00:58 +01:00
eric.bus 60834fe98a Merge pull request 'chore: remove old NH Gooi references' (#32) from fix/change-old-nhgooi-headers into main
Build and Deploy / build (push) Successful in 4m27s
Reviewed-on: #32
2026-11-23 09:43:37 +01:00
eric.bus 1ed7b169e3 chore: remove old NH Gooi references 2026-11-23 09:43:34 +01:00
eric.bus b5409d84ec Merge pull request 'chore: remove duplicate folder' (#31) from chore/remove-duplicate-views into main
Reviewed-on: #31
2026-11-23 09:34:30 +01:00
eric.bus c8e00b4c60 chore: remove duplicate folder 2026-11-23 09:30:16 +01:00
eric.bus 4f61d605fd Merge pull request 'ci: build the release image on version tags instead of pushes to main' (#30) from ci/build-on-tags into main
Reviewed-on: #30
2026-11-23 09:23:12 +01:00
eric.busandClaude Opus 5.5 a069fffa5b ci: build the release image on version tags instead of pushes to main
- Triggers on every pushed v* tag, regardless of which files changed
  (no more paths filter / 'version' file bump needed)
- Image is tagged with the version (e.g. v3.0.2), the commit sha and latest

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 09:20:41 +01:00
eric.bus 0ac308939d Merge pull request 'Add title font' (#28) from fix-font-title into main
Reviewed-on: #28
2026-11-23 09:19:45 +01:00
eric.bus 2312bc65f7 Merge pull request 'fix: change adverteren pagina details' (#29) from fix/adverteren-pagina into main
Reviewed-on: #29
2026-11-23 09:16:16 +01:00
eric.bus 2b35a87323 fix: change adverteren pagina details 2026-11-23 09:12:33 +01:00
eric.bus e8ff3b94cd Merge pull request 'Merge gooienmeer redesign into master' (#27) from dev into main
Build and Deploy / build (push) Successful in 2m0s
Reviewed-on: #27
2026-11-23 08:47:14 +01:00
eric.busandClaude Opus 5.5 c4c6d08f15 Hide search form with CSS instead of collapsing it with jQuery on load
The form stayed open when jQuery failed to load, and flashed open on
every page load.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 00:26:31 +01:00
eric.busandClaude Opus 5.5 12857b1abe Remove 'download onze app' text from footer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 23:48:21 +01:00
eric.busandClaude Opus 5.5 179413aef5 Fix desktop submenu position and stacking, taller homepage images
Build and Deploy (dev) / build (push) Successful in 4m42s
- Submenu hover bridge now matches the menu item height (was a fixed
  30px), so the dropdown opens below the menu instead of over it
- Give .menu-submenu z-index 100 so it covers the category pills and
  media overlays
- Small homepage news images use a 16:9 aspect ratio on desktop, so they
  grow with the column width (min-height 140px stays)
- Rename Gruntfile.js to Gruntfile.cjs: package.json has type=module,
  which broke the grunt build

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 23:38:55 +01:00
eric.busandClaude Opus 5.5 e48e8978b6 Replace NH Gooi favicon and app icons with GOOI&meer icon
- New favicon.svg (G&m on magenta), favicon.ico (16/32/48), real
  favicon-16/32 PNGs, apple-touch-icon and Android icons
- Link favicon.svg and apple-touch-icon, add theme-color
- Fill in name, colours and start_url in site.webmanifest

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 23:34:25 +01:00
eric.busandClaude Opus 5.5 c44caab25f Fix desktop menu rendering vertically, remove top margin on news titles
Build and Deploy (dev) / build (push) Successful in 4m34s
- Menu <ul> used Bootstrap's d-lg-block (display:block !important), which
  overrides the flex layout introduced in the rebrand; use d-lg-flex
- Remove the 15px top margin on h2/h5 in the homepage news boxes; the
  content box padding already provides the spacing

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:03:59 +01:00
eric.busandClaude Opus 5.5 8e73e0fbaf Use off-white logo with payoff in the header
Adds brand/logo-offwhite-payoff.svg (off-white wordmark + payoff from
logo-diap-payoff.svg) and uses it for the desktop header logo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:51:33 +01:00
eric.busandClaude Opus 5.5 8d557adb5d docker: exclude dev, CI, test and local-only files from the build context
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:51:55 +01:00
eric.busandClaude Opus 5.5 da971e1646 docker: support running the container as www-data (uid 33)
Build and Deploy (dev) / build (push) Successful in 4m23s
- Set ownership of storage, bootstrap/cache and public/assets/vendor at
  build time
- Entrypoint only creates/chowns directories when running as root

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:17:42 +01:00
eric.bus 1fdc5559cf Merge remote-tracking branch 'origin/gooienmeer-nl' into dev
Build and Deploy (dev) / build (push) Successful in 5m16s
# Conflicts:
#	resources/views/adverteren.blade.php
#	resources/views/current
#	resources/views/widgets/contact.blade.php
2026-11-20 14:01:05 +01:00
eric.busandClaude Opus 5.5 66f13a3953 docker: run npm ci and vendor asset setup at build time
Build and Deploy (dev) / build (push) Successful in 5m9s
- npm ci in a cached layer (package.json/lock only), setup-vendor.js after
  copying the app
- Entrypoint only installs/copies when node_modules/ or public/assets/vendor
  is missing or empty (e.g. hidden by a volume)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:50:05 +01:00
eric.busandClaude Opus 5.5 2ddcb1b6b0 docker: run composer install at build time instead of in the entrypoint
- Install dependencies in a cached layer (composer.json/lock only), then
  dump the optimized autoloader after copying the app
- Entrypoint only runs composer install if vendor/ is missing (e.g. when
  the app directory is mounted as a volume)
- Force LF for *.sh so the entrypoint works when built from a Windows checkout

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:33:07 +01:00
eric.bus 964972e20b Merge pull request 'chore: update CI paths' (#25) from fix/ci-paths into main
Build and Deploy / build (push) Successful in 4m15s
Reviewed-on: #25
2026-11-20 11:09:52 +01:00
eric.bus 3d9d31a31c chore: update CI paths 2026-11-20 11:09:43 +01:00
eric.busandClaude Opus 5.5 a11dca62a4 ci: separate dev workflow so merging dev keeps main's build intact
Build and Deploy (dev) / build (push) Successful in 15m29s
build-docker.yml (main, :latest) is restored to match main;
build-docker-dev.yml only triggers on dev and tags :dev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:43:02 +01:00
eric.busandClaude Opus 5.5 e6ac760a64 dev: use dev.gooienmeer.nl and @gooienmeer.nl mail addresses
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:33:10 +01:00
eric.busandClaude Opus 5.5 93fa34732f Set up dev branch: build :dev image, move to gooienmeer.nl domains
- Workflow builds on every push to dev and tags the image :dev (not :latest)
- git.nhgooi.nl -> git.gooienmeer.nl
- https://api.nhgooi.nl/ -> https://api.gooienmeer.nl/
- https://nhgooi.nl/ -> https://gooienmeer.nl/

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:27:41 +01:00
eric.bus 2b5d67a9f0 Merge pull request 'security: upgrade to PHP 8.3.37' (#24) from eric.bus-patch-2 into main
Build and Deploy / build (push) Failing after 41s
Reviewed-on: #24
2026-11-20 10:10:29 +01:00
eric.bus 1043412b2a security: upgrade to PHP 8.3.37 2026-11-20 08:14:33 +01:00
eric.bus 2f6d518e67 Update to PHP 8.3.36 2026-10-21 17:37:38 +02:00
eric.bus 96748c0c01 fix: center sidebar banner on mobile 2024-12-06 14:58:16 +01:00
eric.bus c16a2db01d fix: set correct margin on banner 2024-12-06 14:54:51 +01:00
eric.bus df4d48a327 fix: remove extra margin above banner 2024-12-06 14:49:26 +01:00
eric.bus 187fc7b273 fix: small styling fixes for sidebar banner 2024-12-06 14:46:28 +01:00
eric.bus 06e7741d3b fix: less space above homepage banner 2024-12-06 14:15:18 +01:00
eric.bus 262aec618b fix: build was not run properly 2024-12-06 14:05:30 +01:00
eric.bus 98a9cd2c53 fix: center banners on mobile 2024-12-06 14:02:56 +01:00
eric.bus 21ca729958 fix: placement of mobile banner 2024-12-06 13:49:31 +01:00
eric.bus a86f8e56a1 fix: show banner full-width on mobile 2024-12-04 10:42:30 +01:00
eric.bus c1ddaa15c6 fix: only show mobile banner on mobile 2024-12-04 10:27:15 +01:00
eric.bus 39f1ee4823 feat: add mobile banner to header 2024-12-04 08:07:46 +01:00
eric.bus 71a5d3a690 fix: add mobile banner 2024-12-02 12:09:22 +01:00
eric.bus 3ef630c7cc fix: correct margin for homepage banner 2024-11-25 20:57:49 +01:00
eric.bus 2ba81f8550 fix: add leaderboard on homepage 2024-11-25 20:52:33 +01:00
eric.bus f3fa2c109a fix: add margin to header banner 2024-11-25 20:49:31 +01:00
eric.bus 52df85716b fix: move new styling into scss files 2024-11-25 20:47:18 +01:00
eric.bus 22292e10ed fix: add banner styling 2024-11-25 20:03:11 +01:00
eric.bus 9428e1d2ee fix: move ad prefix to banner system 2024-11-25 19:44:07 +01:00
eric.bus 1c587684f3 fix: enable banners by default 2024-11-25 19:30:18 +01:00
eric.bus 918255be1c feat: update banners with new system 2024-11-25 19:28:35 +01:00
eric.bus c1ef2d7070 chore: add docker local development files 2024-02-27 12:06:38 +01:00