From e54f55ad8e1a68930dcc866376080f53ee8723c5 Mon Sep 17 00:00:00 2001 From: Daoud Clarke Date: Mon, 6 Nov 2023 18:42:49 +0000 Subject: [PATCH] Remove some unused code --- front-end/src/components/organisms/home.js | 22 ---------------------- mwmbl/templates/index.html | 2 +- 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 front-end/src/components/organisms/home.js diff --git a/front-end/src/components/organisms/home.js b/front-end/src/components/organisms/home.js deleted file mode 100644 index d8939f7..0000000 --- a/front-end/src/components/organisms/home.js +++ /dev/null @@ -1,22 +0,0 @@ -import define from '../../utils/define.js'; - -const template = () => /*html*/` -

- Welcome to mwmbl, the free, open-source and non-profit search engine. -

-

- You can start searching by using the search bar above! -

-`; - -export default define('home', class extends HTMLLIElement { - constructor() { - super(); - this.classList.add('home'); - this.__setup(); - } - - __setup() { - this.innerHTML = template(); - } -}, { extends: 'li' }); \ No newline at end of file diff --git a/mwmbl/templates/index.html b/mwmbl/templates/index.html index db3c3c5..a9e7d08 100644 --- a/mwmbl/templates/index.html +++ b/mwmbl/templates/index.html @@ -54,7 +54,7 @@ - +