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.
2 files changed, 5 insertions, 3 deletions
| -rw-r--r-- | website/js/footer.js | 4 | ||||
| -rw-r--r-- | website/js/header.js | 4 |
diff --git a/website/js/footer.js b/website/js/footer.js index 5150fa8..095bd1c 100644 --- a/website/js/footer.js +++ b/website/js/footer.js @@ -19,9 +19,9 @@ const htmlFooter = <hr width="350px" noshade> -<a href="${folderLevel}tutorials.html" class="hyperlink-footer">Tutorials</a> | -<a href="${folderLevel}projects.html" class="hyperlink-footer">Projects</a> | +<a href="${folderLevel}blog.html" class="hyperlink-footer">Blog</a> | <a href="${folderLevel}about.html" class="hyperlink-footer">About</a> | +<a href="${folderLevel}contact.html" class="hyperlink-footer">Contact</a> | <a href="${folderLevel}resume.html" class="hyperlink-footer">Resume</a> <hr width="350px" noshade> 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 () { |