diff --git a/homepage/theme/static/images/offen-logo-circle-only.svg b/homepage/theme/static/images/offen-logo-circle-only.svg new file mode 100644 index 0000000..add91c3 --- /dev/null +++ b/homepage/theme/static/images/offen-logo-circle-only.svg @@ -0,0 +1,66 @@ + + diff --git a/homepage/theme/static/scripts/functions.js b/homepage/theme/static/scripts/functions.js new file mode 100644 index 0000000..f1341ca --- /dev/null +++ b/homepage/theme/static/scripts/functions.js @@ -0,0 +1,19 @@ +/** code by webdevtrick ( https://webdevtrick.com ) **/ +(function($) { + $(function() { + $('nav ul li a:not(:only-child)').click(function(e) { + $(this).siblings('.nav-dropdown').toggle(); + $('.dropdown').not($(this).siblings()).hide(); + e.stopPropagation(); + }); + $('html').click(function() { + $('.nav-dropdown').hide(); + }); + $('#nav-toggle').click(function() { + $('nav ul').slideToggle(); + }); + $('#nav-toggle').on('click', function() { + this.classList.toggle('active'); + }); + }); +})(jQuery); diff --git a/homepage/theme/templates/temp.html b/homepage/theme/templates/temp.html index cff2361..0b3e85b 100644 --- a/homepage/theme/templates/temp.html +++ b/homepage/theme/templates/temp.html @@ -9,8 +9,52 @@