diff --git a/bot/handlers/start.py b/bot/handlers/start.py index 5e00e22..2f658d7 100644 --- a/bot/handlers/start.py +++ b/bot/handlers/start.py @@ -61,11 +61,11 @@ def role_choice_inline(miniapp_url: str) -> InlineKeyboardMarkup: @router.message(CommandStart()) async def cmd_start(message: Message, config: Config) -> None: - # Сразу убираем нижнюю reply-клавиатуру если она от предыдущих версий висит await message.answer( - "👋 Здравствуйте, я бот-помощник от Руслана ВАСИЛЬЕВА.\n\n" + "👋 @wasrusgen1 · сборщик\n" + "Рабочий кабинет Руслана Васильева.\n\n" "Выберите, кто вы — кабинет откроется одним тапом.\n\n" - "«Сотрудник» — для замерщиков и сборщиков ЗОВ.", + "«Сотрудник» — для замерщиков и сборщиков.", reply_markup=role_choice_inline(config.miniapp_url), ) diff --git a/bot/main.py b/bot/main.py index 540530e..ca969d3 100644 --- a/bot/main.py +++ b/bot/main.py @@ -34,7 +34,7 @@ async def main() -> None: try: await bot.set_chat_menu_button( menu_button=MenuButtonWebApp( - text="ЗОВ", + text="Кабинет", web_app=WebAppInfo(url=config.miniapp_url), ), ) diff --git a/miniapp/assets/app.js b/miniapp/assets/app.js index dbedcff..494e7e3 100644 --- a/miniapp/assets/app.js +++ b/miniapp/assets/app.js @@ -435,7 +435,7 @@ function renderClient(me) {
${greetName}
-
${me.manager ? "Менеджер: " + me.manager.full_name + (me.manager.salon ? ", " + me.manager.salon : "") : "ЗОВ — кухонная мебель"}
+
${me.manager ? "Менеджер: " + me.manager.full_name + (me.manager.salon ? ", " + me.manager.salon : "") : "@wasrusgen1 · сборщик"}
${initial}
@@ -468,8 +468,9 @@ function renderClient(me) { app.appendChild(el(` diff --git a/miniapp/assets/styles.css b/miniapp/assets/styles.css index 94d6cef..ae89c20 100644 --- a/miniapp/assets/styles.css +++ b/miniapp/assets/styles.css @@ -216,6 +216,34 @@ button { font: inherit; cursor: pointer; border: none; background: none; color: } .loader-logo path { fill: var(--walnut, #6B4A2B); } +/* Бренд-блок @wasrusgen1 на splash */ +.brand-saw { + width: 96px; + height: auto; + display: block; + animation: logoBreath 2.2s ease-in-out infinite; +} +.brand-block { text-align: center; } +.brand-wordmark { + font-family: "Inter", system-ui, sans-serif; + font-weight: 800; + font-size: 28px; + letter-spacing: 0.01em; + color: #4A4A4A; + line-height: 1; +} +.brand-wordmark .brand-num { color: #F08720; } +.brand-tagline { + font-family: "Caveat", cursive; + font-weight: 700; + font-size: 32px; + color: #F08720; + margin-top: 4px; + line-height: 1; + transform: rotate(-3deg); + display: inline-block; +} + .loader-caption { font-family: var(--font-display, "Newsreader", serif); font-style: italic; @@ -260,7 +288,7 @@ button { font: inherit; cursor: pointer; border: none; background: none; color: top: 0; left: -40%; width: 40%; height: 100%; - background: linear-gradient(90deg, transparent, var(--walnut, #6B4A2B) 50%, transparent); + background: linear-gradient(90deg, transparent, #F08720 50%, transparent); animation: loaderBarSlide 1.4s ease-in-out infinite; } diff --git a/miniapp/assets/wasrusgen-saw.png b/miniapp/assets/wasrusgen-saw.png new file mode 100644 index 0000000..77967c5 Binary files /dev/null and b/miniapp/assets/wasrusgen-saw.png differ diff --git a/miniapp/assets/wasrusgen-wordmark.jpg b/miniapp/assets/wasrusgen-wordmark.jpg new file mode 100644 index 0000000..83b5ee7 Binary files /dev/null and b/miniapp/assets/wasrusgen-wordmark.jpg differ diff --git a/miniapp/index.html b/miniapp/index.html index 8671065..09ca919 100644 --- a/miniapp/index.html +++ b/miniapp/index.html @@ -3,42 +3,37 @@ - + - ЗОВ — Кабинет + WASRUSGEN1 · Кабинет - + - - + + - +
- + +
+
@WASRUSGEN1
+
сборщик
+
-
Сделано с душой!
- - - - - - - - - + + + + + + + + +