Skip to content

Extracted shared legal-page toggle logic into a base class - #50

Merged
PianoNic merged 1 commit into
mainfrom
refactor/48_SharedLegalPageLogic
Jun 25, 2026
Merged

Extracted shared legal-page toggle logic into a base class#50
PianoNic merged 1 commit into
mainfrom
refactor/48_SharedLegalPageLogic

Conversation

@PianoNic

Copy link
Copy Markdown
Member

Lifted the duplicated language-toggle + fallback-notice logic (lang, showDe/showEn, showFallbackNotice) shared by the privacy, impressum and terms pages into a LegalPageBase. The legal text itself is unchanged.

Closes #48

@PianoNic PianoNic added the refactor Code refactor label Jun 25, 2026
@PianoNic
PianoNic merged commit 4d07a21 into main Jun 25, 2026
1 check was pending
@PianoNic
PianoNic deleted the refactor/48_SharedLegalPageLogic branch June 25, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Code refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Legal pages duplicate full DE/EN bodies with triplicated toggle logic

1 participant