From 35a7a347d93b015bb429f611d291830bc8a283a8 Mon Sep 17 00:00:00 2001 From: Rafael Marçalo Date: Sat, 22 Oct 2022 02:09:30 +0100 Subject: Added info page and improved index page --- app.js | 4 +- public/css/extra.css | 11 ++++ public/static/images/dontleech.png | Bin 0 -> 316219 bytes public/static/images/sneedsfeednseed-store.png | Bin 0 -> 314974 bytes public/static/pdf/ISaiF.pdf | Bin 0 -> 268779 bytes routes/settings.js | 8 --- routes/visit.js | 8 +++ views/index.ejs | 8 ++- views/info.ejs | 73 +++++++++++++++++++++++++ views/partials/top/head.ejs | 1 + views/partials/top/navbar.ejs | 8 +-- views/settings.ejs | 5 -- views/visit.ejs | 9 +++ 13 files changed, 112 insertions(+), 23 deletions(-) create mode 100644 public/css/extra.css create mode 100644 public/static/images/dontleech.png create mode 100644 public/static/images/sneedsfeednseed-store.png create mode 100644 public/static/pdf/ISaiF.pdf delete mode 100644 routes/settings.js create mode 100644 routes/visit.js delete mode 100644 views/settings.ejs create mode 100644 views/visit.ejs diff --git a/app.js b/app.js index 0727863..5810af7 100644 --- a/app.js +++ b/app.js @@ -17,11 +17,11 @@ app.set('view engine', 'ejs'); const home = require("./routes/home"); const info = require("./routes/info"); const search = require("./routes/search"); -const settings = require("./routes/settings"); +const visit = require("./routes/visit"); app.get('/', home); app.get('/info', info); -app.get('/settings', settings); +app.get('/visit', visit); app.post('/search', search); // app start diff --git a/public/css/extra.css b/public/css/extra.css new file mode 100644 index 0000000..9569a3f --- /dev/null +++ b/public/css/extra.css @@ -0,0 +1,11 @@ +/*! + * Extra set of rules over Bootstrap + */ +.card:hover { + box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; + transition: all .5s; +} + +.green-text { + color: rgb(120, 153, 34); +} \ No newline at end of file diff --git a/public/static/images/dontleech.png b/public/static/images/dontleech.png new file mode 100644 index 0000000..51f1385 Binary files /dev/null and b/public/static/images/dontleech.png differ diff --git a/public/static/images/sneedsfeednseed-store.png b/public/static/images/sneedsfeednseed-store.png new file mode 100644 index 0000000..3d824a0 Binary files /dev/null and b/public/static/images/sneedsfeednseed-store.png differ diff --git a/public/static/pdf/ISaiF.pdf b/public/static/pdf/ISaiF.pdf new file mode 100644 index 0000000..81f41e2 Binary files /dev/null and b/public/static/pdf/ISaiF.pdf differ diff --git a/routes/settings.js b/routes/settings.js deleted file mode 100644 index 4fd05c1..0000000 --- a/routes/settings.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; - -function settings(req, res) -{ - res.render('settings'); -}; - -module.exports = settings; diff --git a/routes/visit.js b/routes/visit.js new file mode 100644 index 0000000..11a3c23 --- /dev/null +++ b/routes/visit.js @@ -0,0 +1,8 @@ +"use strict"; + +function visit(req, res) +{ + res.render('visit'); +}; + +module.exports = visit; diff --git a/views/index.ejs b/views/index.ejs index 20aa31a..f87b60f 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -4,7 +4,13 @@

SneedBay

Making Torrents Great Again

- app_cover +

SneedBay is a PirateBay indexing tool which facilitates the use of the website through it's api(apibay).

+

In order to download and seed the torrents, I recommend either using qBitorrent or transmission softwares.

+

Remember: Don't be a city slicker and please seed your torrents, otherwise, Al Sneed will pay you a visit.

+ + + app_cover + <%- include('partials/footer'); %> diff --git a/views/info.ejs b/views/info.ejs index 6c73579..d869667 100644 --- a/views/info.ejs +++ b/views/info.ejs @@ -1,5 +1,78 @@ <%- include('partials/header'); %>

About

+
+ info_conver +
+
+
+ + + + +
+
+
+
+ + + +
+
License
+

Licensed under the GPLv3

+
+
+
+
+
+ + + + +
+
UI & Icons
+

Both icons and UI from Bootstrap

+
+
+
+
+
+ + + +
+
My Website
+

Find me at https://rafa_99.gitlab.io/

+
+
+
+
+
+ + + + +
+
+ +
+
<%- include('partials/footer'); %> diff --git a/views/partials/top/head.ejs b/views/partials/top/head.ejs index f1c3c7b..dcf1afd 100644 --- a/views/partials/top/head.ejs +++ b/views/partials/top/head.ejs @@ -4,5 +4,6 @@ + SNEEDBAY diff --git a/views/partials/top/navbar.ejs b/views/partials/top/navbar.ejs index 77ec14b..25a8b69 100644 --- a/views/partials/top/navbar.ejs +++ b/views/partials/top/navbar.ejs @@ -1,7 +1,7 @@