Skip to content

Commit 25236e3

Browse files
authored
Create top-menu.js
1 parent 1c00b7b commit 25236e3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

assets/js/top-menu.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
gitbook.events.bind("page.change", function() {
2+
let doc = $('section.markdown-section');
3+
let topMenu = $(`
4+
<span class="topnav">
5+
<a class="logobox" target="_blank" href="https://softuni.bg"><img class="logo" src="/assets/software-university-logo.png" alt="logo"></a>
6+
<a target="_blank" href="https://softuni.bg/apply">Стани програмист</a>
7+
<a target="_blank" href="https://www.youtube.com/c/CodeWithNakov">YouTube Channel</a>
8+
<a target="_blank" href="https://introprogramming.info">Книгите на Наков</a>
9+
</span>
10+
`);
11+
doc.prepend(topMenu);
12+
});

0 commit comments

Comments
 (0)