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

Updated training link main menu #2893

Merged
merged 1 commit into from
Jan 19, 2023
Merged
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
7 changes: 1 addition & 6 deletions arrow-site/docs/_data/menu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ nav:
url: https://media.arrow-kt.io

- title: Training
icon: <i class="far fa-angle-down"></i>
externals:
- company: 47 Degrees
url: https://www.47deg.com/
- company: Instil
url: https://instil.co/
url: https://academy.47deg.com/courses/functional-programming-in-kotlin-and-arrow

- title: Support
url: https://www.47deg.com/services/
Expand Down
13 changes: 0 additions & 13 deletions arrow-site/docs/_includes/_nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,9 @@
<ul>
{% for item in site.data.menu.nav%}
{% if item.title != 'Github' %}
{% if item.title != "Training" %}
<li class="nav-menu-item">
<a class="menu-links" href="{{ item.url }}" title="{{ item.title }}">{{ item.title }}</a>
</li>
{% else %}
<li class="nav-menu-item">
<span onclick="myFunction()" class="menu-links dropdown-btn" title="{{ item.title }}">{{ item.title }}{{ item.icon }}</span>
<div id="dropdown" class="dropdown-content">
<ul>
{% for external in item.externals %}
<li><a href="{{ external.url }}">{{ external.company }}</a></li>
{% endfor %}
</ul>
</div>
</li>
{% endif %}
{% endif %}
{% endfor %}
<div class="nav-stars">
Expand Down