Skip to content

Commit 5e690f4

Browse files
authored
Merge pull request #148 from raifdmueller/feature/onboarding-modal
feat: Center mobile header logo and fix play icon
2 parents 42dca8e + 79e84a6 commit 5e690f4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

website/src/components/header.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ export function renderHeader() {
8383
8484
<!-- Mobile: stacked layout -->
8585
<div class="sm:hidden">
86-
<div class="flex items-center justify-between">
87-
<a href="#/" class="no-underline flex flex-col items-start">
86+
<div class="flex flex-col items-center">
87+
<a href="#/" class="no-underline flex flex-col items-center">
8888
<img src="${import.meta.env.BASE_URL}logo.png" alt="Semantic Anchors" class="max-h-16" />
89-
<span class="text-xs text-[var(--color-text-secondary)] leading-tight" data-i18n="header.slogan">${i18n.t('header.slogan')}</span>
89+
<span class="text-xs text-[var(--color-text-secondary)] leading-tight text-center" data-i18n="header.slogan">${i18n.t('header.slogan')}</span>
9090
</a>
91-
<div class="flex items-center gap-3">
91+
<div class="flex items-center gap-3 mt-2">
9292
<button
9393
id="onboarding-info-btn-mobile"
9494
class="rounded-full p-1 text-[var(--color-text-secondary)] hover:text-[var(--color-primary)] hover:bg-[var(--color-bg-secondary)] transition-colors"
@@ -98,7 +98,8 @@ export function renderHeader() {
9898
title="${i18n.t('onboarding.infoButton')}"
9999
>
100100
<svg class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
101-
<path stroke-linecap="round" stroke-linejoin="round" d="M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z" />
101+
<path stroke-linecap="round" stroke-linejoin="round" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
102+
<path stroke-linecap="round" stroke-linejoin="round" d="M15.91 11.672a.375.375 0 010 .656l-5.603 3.113a.375.375 0 01-.557-.328V8.887c0-.286.307-.466.557-.327l5.603 3.112z" />
102103
</svg>
103104
</button>
104105
<button

0 commit comments

Comments
 (0)