diff --git a/src/Modules/AdminLib/Classes/AdminController.php b/src/Modules/AdminLib/Classes/AdminController.php deleted file mode 100644 index dce4d86..0000000 --- a/src/Modules/AdminLib/Classes/AdminController.php +++ /dev/null @@ -1,10 +0,0 @@ -render("@Index/index.twig", [ - "title" => "Coming Soon" - ]); - // return file_get_contents($this->getModuleRoot() . "/index.html"); - } - - public function test() - { - return "hello " . $this->getUrlArguments()["slug"]; - } -} diff --git a/src/Modules/Index/Templates/index.twig b/src/Modules/Index/Templates/index.twig deleted file mode 100644 index 73141a6..0000000 --- a/src/Modules/Index/Templates/index.twig +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "@AdminPanel/template.twig" %} - -{% block styles %} - -{% endblock %} -{% block body %} -
-
-
-
-

COMING SOON

-

This website is under construction.

-

Webpage Source: Ompmega edited by Aviortheking

-
-
-
-
-{% endblock %} diff --git a/src/Modules/Index/css/style.css b/src/Modules/Index/css/style.css deleted file mode 100644 index c9a597e..0000000 --- a/src/Modules/Index/css/style.css +++ /dev/null @@ -1,78 +0,0 @@ -@import url(https://fonts.googleapis.com/css?family=Montserrat); -@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700); - -h1 { - margin: 0; - font-family: 'Montserrat', sans-serif; - font-size: 4em; - color: #333; - -webkit-text-shadow: 0 2px 1px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.7); - -moz-text-shadow: 0 2px 1px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.7); - text-shadow: 0 2px 1px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.7); - word-spacing: 16px; -} - -p { - font-family: 'Open Sans', sans-serif; - font-size: 1.4em; - font-weight: bold; - color: #222; - text-shadow: 0 0 40px #fff, 0 0 30px #fff, 0 0 20px #fff; -} - -.container { - position: absolute; - top: 0; - bottom: 0; - width: 100%; - background: url(''); - background-size: cover; -} - -.wrapper { - width: 100%; - min-height: 100%; - height: auto; - display: table; -} - -.content { - display: table-cell; - vertical-align: middle; -} - -.item { - width: auto; - height: auto; - margin: 0 auto; - text-align: center; - padding: 8px; -} - -@media only screen and (min-width: 800px) { - h1 { - font-size: 6em; - } - - p { - font-size: 1.6em; - } -} - -@media only screen and (max-width: 320px) { - h1 { - font-size: 2em; - } - - p { - font-size: 1.2em; - } -} - -/* -Edits -*/ - -body { - margin: 0; -} diff --git a/src/Modules/Index/index.json b/src/Modules/Index/index.json deleted file mode 100644 index 68109f6..0000000 --- a/src/Modules/Index/index.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "routes": { - "index": { - "path": "/", - "controller": "\\Index\\Controller\\IndexController", - "function": "index" - }, - "css": { - "path": "/style.css", - "file": "/css/style.css", - "type": "text/css", - "headers": { - "Content-Type": "text/css" - } - }, - "arg": { - "path": "/{arg}/{arg2}", - "controller": "\\ModuleName\\Controller\\ExampleController", - "function": "example", - "args": { - "arg": { - "regex": "/[a-z]+/" - }, - "arg2": { - "option": "test.option" - } - } - } - }, - "templateFolder": "/Templates/" -}