diff options
Updated tabs (header) layout, added blog page and transfered contact from about to a new contact page. Updated information in about page. Updated footer.
1 files changed, 3 insertions, 1 deletions
| -rw-r--r-- | website/js/header.js | 4 |
diff --git a/website/js/header.js b/website/js/header.js index 45bd1b6..21986b4 100644 --- a/website/js/header.js +++ b/website/js/header.js @@ -2,8 +2,10 @@ const pageGroups = { main: { Tutorials: 'tutorials.html', Projects: 'projects.html', + Blog: 'blog.html', Home: 'index.html', About: 'about.html', + Contact: 'contact.html', Resume: 'resume.html' }, mundus: { @@ -45,7 +47,7 @@ const current = { const generator = { generateTabs: function (tabTitles) { let toReturn = ''; - tabTitles.forEach(item => { toReturn += `<a href="./${current.pageGroup[item]}" class="${item === current.tab ? 'selected-tab' : 'other-tab'}">${item}</a> `; }); + tabTitles.forEach(item => { toReturn += `<a href="./${current.pageGroup[item]}" class="${item === current.tab ? 'selected-tab' : 'other-tab'}">${item}</a>`; }); return toReturn; }, generateFull: function () { |