1
+ <!--
2
+ Copyright (c) 2016-2023 Martin Donath <martin.donath@squidfunk.com>
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to
5
+ deal in the Software without restriction, including without limitation the
6
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7
+ sell copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+ The above copyright notice and this permission notice shall be included in
10
+ all copies or substantial portions of the Software.
11
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13
+ FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
14
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
16
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
17
+ IN THE SOFTWARE.
18
+ -->
19
+
20
+ <!-- Determine class according to configuration -->
21
+ {% set class = "md-nav md-nav--primary" %}
22
+ {% if "navigation.tabs" in features %}
23
+ {% set class = class ~ " md-nav--lifted" %}
24
+ {% endif %}
25
+ {% if "toc.integrate" in features %}
26
+ {% set class = class ~ " md-nav--integrated" %}
27
+ {% endif %}
28
+
29
+ <!-- Main navigation -->
30
+ < nav class ="{{ class }} " aria-label ="{{ lang.t('nav') }} " data-md-level ="0 ">
31
+
32
+ <!-- Site title -->
33
+ < label class ="md-nav__title " for ="__drawer ">
34
+ < a href ="{{ config.extra.homepage | d(nav.homepage.url, true) | url }} " title ="{{ config.site_name | e }} "
35
+ class ="md-nav__button md-logo " aria-label ="{{ config.site_name }} " data-md-component ="logo ">
36
+ {% include "partials/logo.html" %}
37
+ </ a >
38
+ {{ config.site_name }}
39
+ </ label >
40
+
41
+ <!-- Repository information -->
42
+ {% if config.repo_url %}
43
+ < div class ="md-nav__source ">
44
+ {% include "partials/source.html" %}
45
+ </ div >
46
+ {% endif %}
47
+
48
+ <!-- Render item list -->
49
+ < ul class ="md-nav__list " data-md-scrollfix >
50
+ {% for nav_item in nav %}
51
+ {% set path = "__nav_" ~ loop.index %}
52
+ {% set level = 1 %}
53
+ {% include "partials/nav-item.html" %}
54
+ {% endfor %}
55
+ < li class ="community-callout-wrapper ">
56
+ < div class ="community-callout ">
57
+ < h2 > Join the community</ h2 >
58
+ < ul >
59
+ < li >
60
+ < a href ="https://slack.testcontainers.org/ " target ="_blank ">
61
+ < img src ="/community-logos/slack.svg " alt ="Slack " width ="30 " height ="31 ">
62
+ </ a >
63
+ </ li >
64
+ < li >
65
+ < a href ="https://github.com/testcontainers " target ="_blank ">
66
+ < img src ="/community-logos/github.svg " alt ="GitHub " width ="30 " height ="31 ">
67
+ </ a >
68
+ </ li >
69
+ < li >
70
+ < a href ="https://stackoverflow.com/questions/tagged/testcontainers " target ="_blank ">
71
+ < img src ="/community-logos/stackoverflow.svg " alt ="StackOverflow " width ="26 " height ="31 ">
72
+ </ a >
73
+ </ li >
74
+ < li >
75
+ < a href ="https://twitter.com/testcontainers " target ="_blank ">
76
+ < img src ="/community-logos/twitter.svg " alt ="Twitter " width ="37 " height ="31 ">
77
+ </ a >
78
+ </ li >
79
+ </ ul >
80
+ </ div >
81
+ </ li >
82
+ </ ul >
83
+ </ nav >
0 commit comments