diff --git a/static/src/js/app.js b/static/src/js/app.js index fbe8b45..617e092 100644 --- a/static/src/js/app.js +++ b/static/src/js/app.js @@ -13,6 +13,6 @@ if ($('body').hasClass('index')) { // Render components on index React.render(, document.getElementById('project-images-main')); } -if ($('#navbar-test')) { - React.render(, document.getElementById('navbar-test')); +if ($('navbar')) { + React.render(, $('navbar')[0]); } diff --git a/static/src/less/navbar.less b/static/src/less/navbar.less index dc1bbfa..49f3440 100644 --- a/static/src/less/navbar.less +++ b/static/src/less/navbar.less @@ -96,3 +96,7 @@ top: 0; z-index: 10000; } + +navbar + * { + margin-top: 52px; +} diff --git a/templates/about/me.html b/templates/about/me.html index 9577aa0..eebf223 100644 --- a/templates/about/me.html +++ b/templates/about/me.html @@ -23,6 +23,5 @@ - {% endblock %} diff --git a/templates/content_base.html b/templates/content_base.html index 80644e5..1aa9f18 100644 --- a/templates/content_base.html +++ b/templates/content_base.html @@ -9,7 +9,7 @@

{% block pageTitle %}{% endblock %}

+ {% block content %}{% endblock %} {% endblock %} - diff --git a/templates/index.html b/templates/index.html index 8f6f22a..c0dd176 100644 --- a/templates/index.html +++ b/templates/index.html @@ -35,6 +35,6 @@ - +
{% endblock %}