Skip to content

Commit

Permalink
feat: app menu is restructructured
Browse files Browse the repository at this point in the history
Closes #52
  • Loading branch information
stepanzh committed Feb 16, 2024
1 parent 3b5eae5 commit c4fc18d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 38 deletions.
3 changes: 3 additions & 0 deletions static/icons/book_open.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions static/icons/newspaper.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 14 additions & 38 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,60 +79,36 @@
</div>
</section>

<!-- Recipe examples -->
<!-- Support development -->
<section class="app-menu-item-group">
<div class="app-menu-item">
<a href="examples.html" target="_blank">
<span class="app-menu-item__icon">{{ icons.academic_hat }}</span>
<span class="app-menu-item__caption">Примеры рецептов</span>
<a href="{{ links.payment }}" target="_blank">
<span class="app-menu-item__icon">{{ icons.dollar }}</span>
<span class="app-menu-item__caption">Поблагодарить автора</span>
<span class="app-menu-item__external-link-icon">{{ icons.external_link_mini }}</span>
</a>
</div>
</section>

<!-- Project help -->
<!-- Site navigation -->
<section class="app-menu-item-group">
<header>Помощь проекту</header>
<!-- Help by donation -->
<div class="app-menu-item">
<a href="{{ links.payment }}" target="_blank">
<span class="app-menu-item__icon">{{ icons.dollar }}</span>
<span class="app-menu-item__caption">Помочь монетой</span>
<span class="app-menu-item__external-link-icon">{{ icons.external_link_mini }}</span>
</a>
</div>
<!-- Help by developing -->
<header>Разделы сайта</header>
<div class="app-menu-item">
<a href="{{ links.repository }}" target="_blank">
<span class="app-menu-item__icon">{{ icons.github }}</span>
<span class="app-menu-item__caption">Помочь разработкой</span>
<span class="app-menu-item__external-link-icon">{{ icons.external_link_mini }}</span>
<a href="promo.html" target="_blank">
<span class="app-menu-item__icon">{{ icons.gift }}</span>
<span class="app-menu-item__caption">Подарки</span>
</a>
</div>
<!-- Help by feedback -->
<div class="app-menu-item">
<a href="{{ contacts.Stepan.telegram }}" target="_blank">
<span class="app-menu-item__icon">{{ icons.chat }}</span>
<span class="app-menu-item__caption">Помочь словом</span>
<span class="app-menu-item__external-link-icon">{{ icons.external_link_mini }}</span>
<a href="examples.html" target="_blank">
<span class="app-menu-item__icon">{{ icons.book_open }}</span>
<span class="app-menu-item__caption">Рецепты</span>
</a>
</div>
</section>

<!-- Feedback -->
<section class="app-menu-item-group">
<header>Обратная связь</header>
<div class="app-menu-item">
<a href="{{ links.vk_community }}" target="_blank">
<span class="app-menu-item__icon">{{ icons.vk }}</span>
<span class="app-menu-item__caption">ВК сообщество</span>
<span class="app-menu-item__external-link-icon">{{ icons.external_link_mini }}</span>
</a>
</div>
<div class="app-menu-item">
<a href="{{ contacts.Stepan.telegram }}" target="_blank">
<span class="app-menu-item__icon">{{ icons.telegram }}</span>
<span class="app-menu-item__caption">{{ contacts.Stepan.firstname}} {{ contacts.Stepan.secondname }}</span>
<span class="app-menu-item__icon">{{ icons.newspaper }}</span>
<span class="app-menu-item__caption">Новости (ВКонтакте)</span>
<span class="app-menu-item__external-link-icon">{{ icons.external_link_mini }}</span>
</a>
</div>
Expand Down

0 comments on commit c4fc18d

Please sign in to comment.