Skip to content

fix(topbar): replace placeholder logo - #65

Merged
miaulalala merged 2 commits into
mainfrom
fix/nextcloud-logo
Sep 7, 2026
Merged

fix(topbar): replace placeholder logo#65
miaulalala merged 2 commits into
mainfrom
fix/nextcloud-logo

Conversation

@miaulalala

@miaulalala miaulalala commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

The header carried a placeholder: a blue circle with a hand-drawn cloud shape inside it. It is not our logo, and it is the only brand mark on the page, so it read as the course's identity.

What changed

components/TopBar.tsx now renders the official Nextcloud mark, taken from the brand asset.

  • White variant, because the header is navy (--color-navy: #003356) and the brand blue #0082c9 has too little contrast against it. White-on-dark is the official variant for this case, and it matches the wordmark text beside it.
  • No wordmark. The text next to the mark already reads "Nextcloud Developer Course", so including it would say Nextcloud twice. The viewBox is the mark's own bounding box (14.26 35.2 121.49 55.31), computed from the path rather than eyeballed, so it sits tight against the text with no stray padding.
  • Fixed hex fill rather than a Tailwind colour utility. The placeholder was tinted with text-blue-600; recolouring is the one thing a real logo must not be subject to.
  • aria-hidden kept: the adjacent text names the link, so the mark is decorative.

Verification

npx tsc --noEmit clean and npm run build succeeds locally.

Preview

academy-topbar-logo-closeup-2026-09-03

The mark renders 24px tall against the navy bar, tight against the wordmark text, with the BETA pill and "Report an error" unchanged.

The header carried a placeholder: a blue circle with a hand-drawn cloud
shape inside it. It is not our logo, and it is the only brand mark on the
page, so it read as the course's identity.

Replaced with the official mark from the brand asset, white variant. White
rather than Nextcloud blue because the header is navy (#003356) and the
brand blue has too little contrast against it; white-on-dark is the
official variant for exactly this case.

The wordmark is deliberately left out - the text beside the mark already
reads "Nextcloud Developer Course" - and the viewBox is the mark's own
bounding box so it sits tight against that text. Kept the fill as a fixed
hex rather than a Tailwind colour utility: the placeholder was recoloured
by a class, which is the one thing a real logo must not be.

AI-Assisted-By: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Anna Larch <[email protected]>
@miaulalala miaulalala self-assigned this Sep 3, 2026
@miaulalala miaulalala added 3. to review Waiting for reviews design Related to design, interface, interaction design, UX, etc. labels Sep 3, 2026
@miaulalala miaulalala changed the title fix(topbar): use the official Nextcloud logo mark fix(topbar): replace placeholder logo Sep 3, 2026
@nickvergessen
nickvergessen removed their request for review September 3, 2026 15:58
@miaulalala

Copy link
Copy Markdown
Collaborator Author

@copilot resolve the merge conflicts in this pull request

# Conflicts:
#	components/TopBar.tsx

Co-authored-by: miaulalala <[email protected]>

Copilot AI commented Sep 7, 2026

Copy link
Copy Markdown

@copilot resolve the merge conflicts in this pull request

Resolved in 4b0cb05 - merged main and combined the logo change with main's updated wrapping/legal-links layout for TopBar.tsx.

@miaulalala
miaulalala merged commit 1f5c6d9 into main Sep 7, 2026
2 checks passed
@miaulalala
miaulalala deleted the fix/nextcloud-logo branch September 7, 2026 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews design Related to design, interface, interaction design, UX, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants