Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POC concept #5259

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion tyk-docs/assets/scss/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ a {
display: flex;
align-items: center;
min-height: 37px;
max-width: 250px;
max-width: 200px;
}

.banner {
Expand Down Expand Up @@ -256,3 +256,10 @@ ol, ul {
max-width: 97%;
}
}


.main-bar{
font-size: 15px;
font-weight: 500;
padding-left: 20px;
}
4 changes: 2 additions & 2 deletions tyk-docs/data/menu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ menu:
- title: "Home"
path: /
category: Tab
show: True
show: false
menu:
- title: "Tyk API Gateway Documentation"
path: /
Expand All @@ -13,7 +13,7 @@ menu:
- title: "Deployment and Operations"
path: /apim
category: Tab
show: True
show: false
menu:
- title: "Overview"
path: /apim
Expand Down
8 changes: 5 additions & 3 deletions tyk-docs/themes/tykio/layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
<nav style="padding: 16px 5px;">
<div class="header-refresh">
<a href="https://tyk.io/docs/" >
<img src="{{ "img/Tyk-Docs-logo-Dark.svg" | relURL }}" width="147" height="32" alt="Tyk API Gateway and API Management">
<img src="{{ "img/Tyk-Docs-logo-Dark.svg" | relURL }}" width="80" height="20" alt="Tyk API Gateway and API Management">
</a>
<div class="search_widget">
<div style="padding: 8px 8px 7px 10px" class="search-input" id="search_container">
<div style="padding: 8px 8px 7px 5px" class="search-input" id="search_container">
</div>
</div>
{{- partial "tabs_menu.html" . -}}

<div class="m-hide">
<div class="header__nav_container">
{{- partial "menu_top_external.html" . -}}
Expand All @@ -29,7 +31,7 @@

<div>
<div class="d-flex overflow-auto justify-content-start">
{{- partial "tabs_menu.html" . -}}
<div style="margin-top: 10px"> {{- partial "secondary_tab.html" . -}} </div>
</div>
</div>
</div>
Expand Down
5 changes: 5 additions & 0 deletions tyk-docs/themes/tykio/layouts/partials/secondary_tab.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{ $prefixPath := "universal-data-graph/getting-started-with-udg/" }}
<a class="main-bar" href="{{$prefixPath | relURL}}" >Manage Data Graphs</a>
<a class="main-bar" href="{{$prefixPath | relURL}}" >Manage Data Graphs</a>
<a class="main-bar" href="{{$prefixPath | relURL}}" >Manage Data Graphs</a>
<a class="main-bar" href="{{$prefixPath | relURL}}" >Manage Data Graphs</a>
2 changes: 1 addition & 1 deletion tyk-docs/themes/tykio/layouts/partials/tabs_menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
{{- end -}}
{{ $prefixPath := strings.TrimLeft "/" .path }}
{{if or (.show) ($showEmptyPages) }}
<div class="pr-40 {{if (and $selected $path_not_empty )}}nav_sub_active{{end}}">
<div style="padding-right: 20px;font-size: 12px" class=" {{if (and $selected $path_not_empty )}}nav_sub_active{{end}}">
<a href="{{$prefixPath | relURL}}" class="fs-xs text-black text-nowrap {{if not .show}} paint-red {{end}} {{if (and $selected $path_not_empty )}} font-700 active{{end}}">{{- .title -}}</a>
</div>
{{- end -}}
Expand Down
Loading