diff options
| author | Andrew Lee <alee14498@gmail.com> | 2019-08-05 22:05:02 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@gmail.com> | 2019-08-05 22:05:02 -0400 |
| commit | 557e496d3c8e41cc7c98bee5d425315922984056 (patch) | |
| tree | 2b2e4b165b3c7bbcd17b2089f498f2912995c263 | |
| parent | 4f82b9ffe4a68d4a90213e50c21d763f57c49d2d (diff) | |
| download | alp-website-557e496d3c8e41cc7c98bee5d425315922984056.tar.gz alp-website-557e496d3c8e41cc7c98bee5d425315922984056.tar.bz2 alp-website-557e496d3c8e41cc7c98bee5d425315922984056.zip | |
Tweaking and changing README
| -rw-r--r-- | README.md | 6 | ||||
| -rw-r--r-- | app.js | 19 | ||||
| -rw-r--r-- | views/about.ejs | 2 | ||||
| -rw-r--r-- | views/includes/footer.ejs | 9 |
4 files changed, 26 insertions, 10 deletions
@@ -1,2 +1,6 @@ # Alee Production Website -A rewrite of the old aleecorp.github.io website +The official website for Alee Productions. + +Written in Express.JS, EJS and MDBootstrap + +Licensed with GPL-3.0
\ No newline at end of file @@ -42,8 +42,19 @@ const rl = readline.createInterface({ output: process.stdout }); +function rlHelp() { + console.log("---------HELP-------"); + console.log("help - Displays help"); + console.log("clear - Clears the console"); + console.log("exit - Exits Application"); + console.log("--------------------"); +} + rl.on("line", (input) => { switch (input) { + case "help": + rlHelp() + break; case "clear": console.clear(); break; @@ -56,7 +67,7 @@ rl.on("line", (input) => { exitWebsite(); break; default: - console.log("[X] Error: Command not found. Use clear or exit."); + console.log("[X] Error: Command not found. Type help."); break; } }); @@ -68,7 +79,7 @@ app.set('view engine', 'ejs'); app.set("views", path.join(__dirname, "views")); app.use(express.static(path.join(__dirname, "public"))); -app.use(logger) +app.use(logger); app.use("/", require("./routes/index")); app.use("/projects", require("./routes/projects")); @@ -81,6 +92,6 @@ app.use((req, res) => { }); app.listen(port, () => { - //Hook.success("Alee Productions Website","Website has been loaded!") - console.log(`[>] Website listening on port ${port}!`) + //Hook.success("Alee Productions Website","Website has been loaded!"); + console.log(`[>] Website listening on port ${port}!`); });
\ No newline at end of file diff --git a/views/about.ejs b/views/about.ejs index a7f74d3..f00c69f 100644 --- a/views/about.ejs +++ b/views/about.ejs @@ -32,7 +32,7 @@ <h1>Team</h1> <div class="card text-white success-color-dark mb-3" style="max-width: 20rem;"> <div class="card-body"> - <h5 class="card-title">Community Team</h5> + <h5 class="card-title">Community Team (Discord)</h5> <p class="card-text text-white"> <ul> <li>Travis#1777 (Admin)</li> diff --git a/views/includes/footer.ejs b/views/includes/footer.ejs index dd10125..600ae87 100644 --- a/views/includes/footer.ejs +++ b/views/includes/footer.ejs @@ -1,6 +1,3 @@ -<footer class="page-footer fixed-bottom font-small green"> - <div class="footer-copyright text-center py-3">© Copyright 2016-2019, Alee Productions. Powered by ExpressJS and EJS.</div> -</footer> <!-- JQuery --> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <!-- Bootstrap tooltips --> @@ -9,4 +6,8 @@ <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js"> </script> <!-- MDB core JavaScript --> -<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.8.7/js/mdb.min.js"></script>
\ No newline at end of file +<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.8.7/js/mdb.min.js"></script> + +<footer class="page-footer fixed-bottom font-small green"> + <div class="footer-copyright text-center py-3">© Copyright 2016-2019, Alee Productions. Powered by ExpressJS, EJS and Material Design Bootstrap.</div> +</footer>
\ No newline at end of file |
