From 557e496d3c8e41cc7c98bee5d425315922984056 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 5 Aug 2019 22:05:02 -0400 Subject: Tweaking and changing README --- README.md | 6 +++++- app.js | 19 +++++++++++++++---- views/about.ejs | 2 +- views/includes/footer.ejs | 9 +++++---- 4 files changed, 26 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 619a879..916fb10 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/app.js b/app.js index 34b5587..86374e9 100644 --- a/app.js +++ b/app.js @@ -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 @@

Team

-
Community Team
+
Community Team (Discord)

  • Travis#1777 (Admin)
  • 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 @@ -
    - -
    @@ -9,4 +6,8 @@ - \ No newline at end of file + + + \ No newline at end of file -- cgit v1.2.3