Skip to content

web: align the style of the credits and imprint pages with the privacy page #39

Closed

Description

@fstwn

The three legal and info pages of the web app use different text sizes and box widths. The privacy page is the template. Align the credits page and the imprint page with it.

Scope: style only. No change to wording or structure (sections, cards, order, content) for now.

Template: src/frontend/app/privacy/page.tsx

  • Centered box: container mx-auto max-w-4xl space-y-6 p-4 sm:p-6
  • Header: icon h-6 w-6 text-primary with aria-hidden, h1 text-xl font-bold sm:text-2xl, lead text-sm text-muted-foreground sm:text-base
  • Card title: CardTitle className="text-base"
  • Card body: CardContent className="space-y-6 text-sm leading-relaxed"
  • Links: the LINK constant (font-medium text-primary underline underline-offset-2 hover:opacity-80)

Differences found

src/frontend/app/imprint/page.tsx

  • Box max-w-6xl and p-6 (template: max-w-4xl, p-4 sm:p-6)
  • Card titles at the default size; card body text-base
  • Sub-headings h3 text-lg font-semibold
  • Links text-blue-500 underline instead of LINK

src/frontend/app/credits/page.tsx

  • Box max-w-6xl and p-6
  • Card titles at the default size; card bodies text-base, list item titles and text text-base
  • Several links text-blue-500 underline instead of the page's own LINK constant
  • Mixed quote styles in JSX attributes (cosmetic)

Icons

The icons in the card titles of the credits and imprint pages stay (maintainer decision), although the privacy card titles have none.

Done when

  • Credits and imprint use the same box width, padding, title size, body text size and link style as the privacy page.
  • Wording and structure unchanged (diff shows only class names and shared constants).
  • Checked in the browser at phone and desktop widths, light and dark.

Activity

  1. added
    enhancementNew feature or request
    frontendIssues regarding the NextJS Frontend
    on Oct 28, 2026
  2. fstwn commented on Oct 29, 2026

    @fstwn
    ContributorAuthor

    Fixed in 0.6.4.2 (#43).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfrontendIssues regarding the NextJS Frontend

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions