aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rw-r--r--app.js19
-rw-r--r--views/about.ejs2
-rw-r--r--views/includes/footer.ejs9
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 @@
<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