Skip to content

armgit / mwmbl

Public Imported from GitHub
0

An open source, non-profit web search engine

Remove some unused code

Daoud Clarkee54f55ad8e1a
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*/`
- <h1>
- Welcome to mwmbl, the free, open-source and non-profit search engine.
- </h1>
- <p>
- You can start searching by using the search bar above!
- </p>
-`;
-
-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 @@
<!-- Javasript entrypoint -->
<script src="https://unpkg.com/[email protected]"></script>
- <script src="../../front-end/src/index.js" type="module"></script>
+ <script src="/static/src/index.js" type="module"></script>
<header class="search-menu">
<!-- <ul>