diff --git a/public/js/index.js b/public/js/index.js index e228e99..b47d099 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1,5 +1,5 @@ /** Création et exportation de la classe Header */ -export default class Header { +class Header { constructor(element) { this.element = element; this.html = document.documentElement; diff --git a/templates/html/header.gohtml b/templates/html/header.gohtml index 995884c..c9bed6a 100644 --- a/templates/html/header.gohtml +++ b/templates/html/header.gohtml @@ -1,5 +1,12 @@ {{ define "header-html" }} +
@@ -9,7 +16,7 @@
  • Documentation
  • admin
  • - +