Skip to content

feat: redesign 404 page with error image and fix GitHub Pages routing#810

Merged
lenderom merged 10 commits intomainfrom
feat/404-page
May 2, 2026
Merged

feat: redesign 404 page with error image and fix GitHub Pages routing#810
lenderom merged 10 commits intomainfrom
feat/404-page

Conversation

@lenderom
Copy link
Copy Markdown
Member

@lenderom lenderom commented Apr 5, 2026

Summary

  • Redesign the 404 error page with a centered error illustration (error.webp) and improved layout using float-image and intersector shortcodes across all three languages (en, de, fr)
  • Add homepage links to the "go to homepage" bullet point in all languages
  • Fix GitHub Pages 404 routing: replace the Hugo alias-based 404.html (which incorrectly landed under /en/404.html due to defaultContentLanguageInSubdir: true) with a static/404.html that reliably serves from the site root
  • Add center position support for float-image in SCSS

Fixes #717
Fixes #136

…ting

Add error illustration and visual improvements to all three language
versions of the 404 page. Replace the Hugo alias-based 404.html (which
landed under /en/404.html due to defaultContentLanguageInSubdir) with a
static/404.html that reliably serves from the root on GitHub Pages.

Fixes #717
Fixes #136
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 5, 2026

Hi there! 👋

Thank you for your contribution to the FIP Guide! 🚀
We appreciate your effort in making rail staff travel information more accessible. 🚄

Checklist before merging:

  • Added a description to the Pull Request
  • Checked the License of new pictures (non-commercial use without attribution)
  • Modified content in English
  • Modified content in German
  • Modified content in French

@lenderom lenderom requested review from MoritzWeber0 and therobrob and removed request for therobrob April 5, 2026 12:25
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 5, 2026

Deploy Preview for fipguide ready!

Name Link
🔨 Latest commit 09751fd
🔍 Latest deploy log https://app.netlify.com/projects/fipguide/deploys/69f5d89ec2873f0008a221fa
😎 Deploy Preview https://deploy-preview-810--fipguide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread assets/sass/floatImage.scss Outdated
Comment thread content/404/index.de.md Outdated
Comment thread static/404.html Outdated
Comment thread static/404.html Outdated
Comment thread content/404/error.webp Outdated
Comment thread layouts/404/single.html Outdated
Comment thread layouts/404/single.html
Comment thread static/404.html Outdated
Comment thread content/404/index.fr.md Outdated
Comment thread layouts/404/single.html
@lenderom lenderom requested review from MoritzWeber0 and therobrob May 2, 2026 10:58
@lenderom
Copy link
Copy Markdown
Member Author

lenderom commented May 2, 2026

@MoritzWeber0 @therobrob can we merge this now? :)

@lenderom lenderom merged commit e02c61c into main May 2, 2026
7 checks passed
@lenderom lenderom deleted the feat/404-page branch May 2, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

404 Page not working Illustration for 404-Page

3 participants