feat: zeropost-tool — Next.js 16 кабинет

- Auth: iron-session, регистрация/логин по email+password
- Дашборд со списком каналов
- 3-шаговая анкета создания канала (база/стиль/примеры+табу)
- Страница канала с генератором постов через polling
- Тёмная тема, Tailwind 3.4, accent emerald
- Прокси-API к zeropost-engine с x-user-id
- Совместимость с Next 16 async cookies/params
This commit is contained in:
Alexey Pavlov
2026-05-31 08:38:10 +03:00
parent 8e979c3045
commit 5dd975a9cd
26 changed files with 3334 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
html { @apply bg-bg text-gray-100; }
body { @apply font-sans antialiased; }
::selection { @apply bg-accent/30; }
}
@layer components {
.btn { @apply inline-flex items-center justify-center gap-2 px-4 py-2 rounded-lg font-medium transition-colors disabled:opacity-50 disabled:cursor-not-allowed; }
.btn-primary { @apply btn bg-accent text-black hover:bg-accent2; }
.btn-ghost { @apply btn text-gray-300 hover:bg-surface2 hover:text-white; }
.btn-danger { @apply btn bg-red-600/10 text-red-400 hover:bg-red-600/20; }
.card { @apply bg-surface border border-border rounded-xl; }
.input { @apply w-full bg-surface2 border border-border rounded-lg px-3 py-2 text-gray-100 placeholder-gray-500 focus:outline-none focus:border-accent transition-colors; }
.label { @apply block text-sm font-medium text-gray-300 mb-1.5; }
.hint { @apply text-xs text-gray-500 mt-1; }
}