Show clinic hours and phone with icons in the header.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alexey Novikov
2026-09-17 02:01:26 +03:00
co-authored by Cursor
parent 1550bccb83
commit f068628e7e
13 changed files with 130 additions and 7 deletions
+7 -3
View File
@@ -1,5 +1,6 @@
"use client";
import { HeaderContacts } from "@/components/layout/HeaderContacts";
import { HeaderTools } from "@/components/layout/HeaderTools";
import { LocaleSwitcher } from "@/components/layout/LocaleSwitcher";
import { Logo } from "@/components/layout/Logo";
@@ -37,18 +38,20 @@ export function Header() {
return (
<header className="sticky top-0 z-50 border-b border-[var(--border)] bg-[var(--surface)]">
<div className="mx-auto flex h-[var(--header-h)] max-w-7xl items-center gap-3 px-4 sm:px-6">
<div className="mx-auto flex h-[var(--header-h)] w-full max-w-[1600px] items-center gap-3 px-4 sm:px-6">
<Logo tagline={meta("tagline")} className="min-w-0 shrink-0" />
<span className="hidden h-10 w-px shrink-0 bg-[var(--border)] xl:block" aria-hidden />
<HeaderContacts className="hidden xl:flex" />
<nav
className="hidden min-w-0 flex-1 items-center justify-end gap-0 lg:flex"
className="hidden min-w-0 flex-1 items-center justify-end overflow-hidden lg:flex"
aria-label={a11y("mainNav")}
>
{links.map((l) => (
<Link
key={l.href}
href={l.href}
className="whitespace-nowrap rounded-lg px-2.5 py-2 text-base font-medium text-[var(--neutral-700)] transition hover:bg-[var(--brand-50)] hover:text-[var(--brand-700)]"
className="whitespace-nowrap rounded-lg px-2 py-2 text-[15px] font-medium text-[var(--neutral-700)] transition hover:bg-[var(--brand-50)] hover:text-[var(--brand-700)]"
>
{t(l.key)}
</Link>
@@ -109,6 +112,7 @@ export function Header() {
<Button size="sm">{t("cabinet")}</Button>
</Link>
</div>
<HeaderContacts stacked className="mt-4 border-t border-[var(--border)] pt-4 lg:hidden" />
</nav>
</div>
) : null}