aboutsummaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
Diffstat (limited to 'routes')
-rw-r--r--routes/about.js27
-rw-r--r--routes/blog.js27
-rw-r--r--routes/community-rules.js27
-rw-r--r--routes/index.js27
-rw-r--r--routes/projects.js27
5 files changed, 135 insertions, 0 deletions
diff --git a/routes/about.js b/routes/about.js
new file mode 100644
index 0000000..9222133
--- /dev/null
+++ b/routes/about.js
@@ -0,0 +1,27 @@
+/*********************************
+
+ Alee Productions Website: Website for Alee Productions
+ Copyright (C) 2019 Alee
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+**************************************/
+const express = require("express");
+const router = express.Router();
+
+router.get('/', (req, res) => {
+ res.render('about', {title: 'About | Alee Productions'});
+ });
+
+module.exports = router; \ No newline at end of file
diff --git a/routes/blog.js b/routes/blog.js
new file mode 100644
index 0000000..627403c
--- /dev/null
+++ b/routes/blog.js
@@ -0,0 +1,27 @@
+/*********************************
+
+ Alee Productions Website: Website for Alee Productions
+ Copyright (C) 2019 Alee
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+**************************************/
+const express = require("express");
+const router = express.Router();
+
+router.get('/', (req, res) => {
+ res.render('blog', {title: 'Blog | Alee Productions'});
+});
+
+module.exports = router; \ No newline at end of file
diff --git a/routes/community-rules.js b/routes/community-rules.js
new file mode 100644
index 0000000..d723a5b
--- /dev/null
+++ b/routes/community-rules.js
@@ -0,0 +1,27 @@
+/*********************************
+
+ Alee Productions Website: Website for Alee Productions
+ Copyright (C) 2019 Alee
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+ **************************************/
+const express = require("express");
+const router = express.Router();
+
+router.get('/', (req, res) => {
+ res.render('community/rules', {title: 'Community Rules | Alee Productions'});
+});
+
+module.exports = router; \ No newline at end of file
diff --git a/routes/index.js b/routes/index.js
new file mode 100644
index 0000000..24859b6
--- /dev/null
+++ b/routes/index.js
@@ -0,0 +1,27 @@
+/*********************************
+
+ Alee Productions Website: Website for Alee Productions
+ Copyright (C) 2019 Alee
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+**************************************/
+const express = require("express");
+const router = express.Router();
+
+router.get('/', (req, res) => {
+ res.render('index', {title: 'Home | Alee Productions'});
+ });
+
+module.exports = router; \ No newline at end of file
diff --git a/routes/projects.js b/routes/projects.js
new file mode 100644
index 0000000..6e45ce0
--- /dev/null
+++ b/routes/projects.js
@@ -0,0 +1,27 @@
+/*********************************
+
+ Alee Productions Website: Website for Alee Productions
+ Copyright (C) 2019 Alee
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+**************************************/
+const express = require("express");
+const router = express.Router();
+
+router.get('/', (req, res) => {
+ res.render('projects', {title: 'Projects | Alee Productions'});
+ });
+
+module.exports = router; \ No newline at end of file