From 4eee95bdae5e9af08d6e1ff8cf6fe4cb8de36bf2 Mon Sep 17 00:00:00 2001 From: filifa Date: Mon, 27 May 2024 14:39:25 -0500 Subject: [PATCH] add a footer --- about.html | 1 + ddheader.js | 17 +++++++++++++++++ index.html | 1 + mgs/mgs.html | 1 + 4 files changed, 20 insertions(+) diff --git a/about.html b/about.html index b2f24bb..63cbdcc 100644 --- a/about.html +++ b/about.html @@ -19,5 +19,6 @@

I'm in your walls.

+ diff --git a/ddheader.js b/ddheader.js index 618461c..68a75d5 100644 --- a/ddheader.js +++ b/ddheader.js @@ -21,4 +21,21 @@ class DDHeader extends HTMLElement { } } +class DDFooter extends HTMLElement { + constructor() { + super(); + } + + connectedCallback() { + this.innerHTML = ` + + `; + } +} + customElements.define("dd-header", DDHeader); +customElements.define("dd-footer", DDFooter); diff --git a/index.html b/index.html index edfb3da..0f5ff29 100644 --- a/index.html +++ b/index.html @@ -20,5 +20,6 @@

+ diff --git a/mgs/mgs.html b/mgs/mgs.html index 7adceb0..f78125e 100644 --- a/mgs/mgs.html +++ b/mgs/mgs.html @@ -208,5 +208,6 @@ +