Files
pycom-documentation/themes/doc-theme/layouts/partials/menu.html
jirikrepl ab90848b98 feat: google search replaced with algolia search
- removed google search code from vuejs
- added algolia docs search scripts
2020-01-14 12:02:08 +01:00

45 lines
1.2 KiB
HTML

<v-navigation-drawer
v-model="drawer"
fixed
app
class="lighten-4 pt-0"
style="overflow-y: hidden; overflow-x: hidden;margin-top:70px;"
>
<v-container class="ma-0 pa-0 elevation-1">
<v-text-field
style="width: 100%;"
class="grey lighten-5 mt-0 mr-2 pa-3 ma-0 mono algolia-search-field"
light
hide-details
append-icon="search"
label="Search"
></v-text-field>
</v-container>
<div class="fancyScroll pa-0 ma-0" style="overflow-y: scroll; overflow-x: hidden;
max-height: 100%;" >
<v-divider class="grey lighten-1 mr-2 ml-1 mb-4"></v-divider>
<ul class="lefttree">
<li class="lefttree">
<a href="/" class="beba" style="color: #1E1E3C; text-decoration: none;" >
<v-icon style="color: #1E1E3C;" class="mr-1" >home</v-icon> Introduction</a>
</li>
</ul>
{{ partial "menu_recursive.html" (dict "menu" .Site.Menus.main "page" . "level" 0) }}
<v-divider class="grey lighten-1 ma-2 mt-4 mb-4"></v-divider>
<ul class="lefttree" >Have a question ?
<li class="lefttree"> <a href="https://forum.pycom.io">Ask on the forum</a>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
</v-navigation-drawer>