улучшение ui

This commit is contained in:
Artem Tsyrulnikov
2026-01-09 12:23:02 +03:00
parent 40c7be8470
commit 9fbb6fdbbf
19 changed files with 635 additions and 453 deletions

View File

@@ -21,14 +21,14 @@ Smartpost — платформа для покупки и продажи рек
`
func (s *MainMenu) Enter(b *bot.Bot, mode bot.RenderMode) {
keyboard := bot.Keyboard(
bot.Row(
bot.Button("Мои проекты", "my_projects"),
bot.URLButton("Поддержка", "https://example.com"),
keyboard := Keyboard(
Row(
Button("Мои проекты", "my_projects"),
URLButton("Поддержка", "https://example.com"),
),
bot.Row(
bot.Button("Закупы", "purchases"),
bot.URLButton("Дашборд", "https://example.com"),
Row(
Button("Закупы", "purchases"),
URLButton("Дашборд", "https://example.com"),
),
)