fix: text-base color conflict (removed base from tailwind colors); add login link + test page link on /client

This commit is contained in:
Hermes 2026-08-13 14:25:56 +02:00
parent e21cea1b1c
commit 1b41b5e135
2 changed files with 25 additions and 1 deletions

View File

@ -367,6 +367,31 @@ export const ClientDeliveryPage = () => {
orderGroupId={null}
/>
</Panel>
<Panel className="space-y-3 border border-dashed border-[var(--color-accent)] bg-[var(--color-surface)] p-5 sm:p-6">
<div>
<p className="text-sm font-semibold text-[var(--color-text)]">🧪 Тест уведомления</p>
<p className="text-xs text-[var(--color-text-muted)] mt-1 leading-5">
Отправить тестовое push-уведомление (после подписки). Нажмите на уведомление
откроется тестовая страница согласования доставки.
</p>
</div>
<a
href="/client/test"
className="inline-block rounded-xl bg-[var(--color-accent)] px-4 py-2 text-sm font-semibold text-white transition hover:opacity-90"
>
Открыть тестовую страницу
</a>
</Panel>
<div className="text-center">
<a
href="/login"
className="inline-block rounded-xl border border-[var(--color-border)] bg-[var(--color-surface)] px-4 py-2 text-sm text-[var(--color-text-muted)] transition hover:text-[var(--color-text)]"
>
Вход для сотрудников
</a>
</div>
</div>
</main>
);

View File

@ -6,7 +6,6 @@ export default {
extend: {
colors: {
surface: "var(--color-surface)",
base: "var(--color-base)",
text: "var(--color-text)",
muted: "var(--color-text-muted)",
accent: "var(--color-accent)",