улучшение ui
This commit is contained in:
@@ -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"),
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user