From cc8c25a175e1fe623ec43096813cb5d63d4fe4c6 Mon Sep 17 00:00:00 2001 From: rahulkiller104 <56788144+rahulkiller104@users.noreply.github.com> Date: Mon, 4 May 2020 13:13:06 +0530 Subject: [PATCH 1/5] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 098460c..18b1490 100644 --- a/README.md +++ b/README.md @@ -1 +1,11 @@ Discussion Forum +there are four type of forum +1.coding +2.club +3.development +4.academic +anyone can ask question and anyone can answer after login/register.without registered they can only see question/answer. + + +for testing you have to install mongodb and node. +make local server and test it. From 1a968dc2a7ba981206e1bb82da1646d679b8d957 Mon Sep 17 00:00:00 2001 From: Abhishek Ranjan Date: Sun, 4 Oct 2020 12:59:19 +0530 Subject: [PATCH 2/5] modified the navbar --- .gitignore | 1 + hncc/index.html | 36 +- package-lock.json | 3 + v1/app.js | 19 +- v1/package-lock.json | 807 ++++++++++++++++++++++++ v1/views/css/style.css | 359 ++++++++++- v1/views/html/landing.ejs | 176 ++++-- v1/views/html/{login.html => login.ejs} | 308 ++++----- 8 files changed, 1469 insertions(+), 240 deletions(-) create mode 100644 .gitignore create mode 100644 package-lock.json create mode 100644 v1/package-lock.json rename v1/views/html/{login.html => login.ejs} (97%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c7346ae --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +v1/node_modules diff --git a/hncc/index.html b/hncc/index.html index 3411f92..1e22ae7 100644 --- a/hncc/index.html +++ b/hncc/index.html @@ -20,10 +20,10 @@ #star{ color:#17a2b8; } - + #content{ box-shadow: 0 0 3px rgba(0,0,0,0.4); - + } #content:hover { @@ -37,10 +37,10 @@ #work-icon{ font-size: 3em; } - - + + #content{ margin-bottom: 15px; } @@ -67,7 +67,7 @@
- +
@@ -132,7 +132,7 @@

Repeat

- +

HOW It work

@@ -167,9 +167,9 @@
Coding
Details
-
+
- +
app development
@@ -184,7 +184,7 @@
Club Activities

@@ -334,4 +334,4 @@

Trending Topics

- \ No newline at end of file + diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..48e341a --- /dev/null +++ b/package-lock.json @@ -0,0 +1,3 @@ +{ + "lockfileVersion": 1 +} diff --git a/v1/app.js b/v1/app.js index fff7600..08c8b6d 100644 --- a/v1/app.js +++ b/v1/app.js @@ -38,34 +38,39 @@ app.get("/bit/new",function(req,res) { res.render("html/new.ejs"); }); - + app.post("/bit",function(req,res){ //get data from from var question =req.body.question; var newquestion={question:question}; - - + + data.create(newquestion,function(err,newlycreated) { if(err) { res.render("bit/new"); - + }else { res.redirect("/bit"); } }); - - + + }); +app.use('/login', (req, res) => { + res.render("html/login") +}) + + app.listen(3000,function(){ console.log("server is started"); -}); \ No newline at end of file +}); diff --git a/v1/package-lock.json b/v1/package-lock.json new file mode 100644 index 0000000..bc65e52 --- /dev/null +++ b/v1/package-lock.json @@ -0,0 +1,807 @@ +{ + "name": "hcmp", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "accepts": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", + "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", + "requires": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + } + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" + }, + "async": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz", + "integrity": "sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=" + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" + }, + "bl": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/bl/-/bl-2.2.1.tgz", + "integrity": "sha512-6Pesp1w0DEX1N550i/uGV/TqucVL4AM/pgThFSN/Qq9si1/DF9aIHs1BxD8V/QU0HoeHO6cQRTAuYnLPKq1e4g==", + "requires": { + "readable-stream": "^2.3.5", + "safe-buffer": "^5.1.1" + } + }, + "bluebird": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", + "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==" + }, + "body-parser": { + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", + "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", + "requires": { + "bytes": "3.1.0", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.7.2", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.7.0", + "raw-body": "2.4.0", + "type-is": "~1.6.17" + } + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "bson": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/bson/-/bson-1.1.5.tgz", + "integrity": "sha512-kDuEzldR21lHciPQAIulLs1LZlCXdLziXI6Mb/TDkwXhb//UORJNPXgcRs2CuO4H0DcMkpfT3/ySsP3unoZjBg==" + }, + "bytes": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", + "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "content-disposition": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", + "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", + "requires": { + "safe-buffer": "5.1.2" + } + }, + "content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" + }, + "cookie": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", + "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==" + }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "denque": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/denque/-/denque-1.4.1.tgz", + "integrity": "sha512-OfzPuSZKGcgr96rf1oODnfjqBFmr1DVoc/TrItj3Ohe0Ah1C5WX5Baquw/9U9KovnQ88EqmJbD66rKYUQYN1tQ==" + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" + }, + "ejs": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.5.tgz", + "integrity": "sha512-dldq3ZfFtgVTJMLjOe+/3sROTzALlL9E34V4/sDtUd/KlBSS0s6U1/+WPE1B4sj9CXHJpL1M6rhNJnc9Wbal9w==", + "requires": { + "jake": "^10.6.1" + } + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" + }, + "express": { + "version": "4.17.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", + "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", + "requires": { + "accepts": "~1.3.7", + "array-flatten": "1.1.1", + "body-parser": "1.19.0", + "content-disposition": "0.5.3", + "content-type": "~1.0.4", + "cookie": "0.4.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.1.2", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.5", + "qs": "6.7.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.1.2", + "send": "0.17.1", + "serve-static": "1.14.1", + "setprototypeof": "1.1.1", + "statuses": "~1.5.0", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + } + }, + "express-session": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/express-session/-/express-session-1.17.1.tgz", + "integrity": "sha512-UbHwgqjxQZJiWRTMyhvWGvjBQduGCSBDhhZXYenziMFjxst5rMV+aJZ6hKPHZnPyHGsrqRICxtX8jtEbm/z36Q==", + "requires": { + "cookie": "0.4.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~2.0.0", + "on-headers": "~1.0.2", + "parseurl": "~1.3.3", + "safe-buffer": "5.2.0", + "uid-safe": "~2.1.5" + }, + "dependencies": { + "depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==" + }, + "safe-buffer": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", + "integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==" + } + } + }, + "filelist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.1.tgz", + "integrity": "sha512-8zSK6Nu0DQIC08mUC46sWGXi+q3GGpKydAG36k+JDba6VRpkevvOWUW5a/PhShij4+vHT9M+ghgG7eM+a9JDUQ==", + "requires": { + "minimatch": "^3.0.4" + } + }, + "finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "requires": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + } + }, + "forwarded": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", + "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=" + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" + }, + "generaterr": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/generaterr/-/generaterr-1.5.0.tgz", + "integrity": "sha1-sM62zFFk3yoGEzjMNAqGFTlcUvw=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "http-errors": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", + "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.1", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.0" + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" + }, + "ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "jake": { + "version": "10.8.2", + "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.2.tgz", + "integrity": "sha512-eLpKyrfG3mzvGE2Du8VoPbeSkRry093+tyNjdYaBbJS9v17knImYGNXQCUV0gLxQtF82m3E8iRb/wdSQZLoq7A==", + "requires": { + "async": "0.9.x", + "chalk": "^2.4.2", + "filelist": "^1.0.1", + "minimatch": "^3.0.4" + } + }, + "kareem": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.3.1.tgz", + "integrity": "sha512-l3hLhffs9zqoDe8zjmb/mAN4B8VT3L56EUvKNqLFVs9YlFA+zx7ke1DO8STAdDyYNkeSo1nKmjuvQeI12So8Xw==" + }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" + }, + "memory-pager": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", + "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", + "optional": true + }, + "merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" + }, + "method-override": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/method-override/-/method-override-3.0.0.tgz", + "integrity": "sha512-IJ2NNN/mSl9w3kzWB92rcdHpz+HjkxhDJWNDBqSlas+zQdP8wBiJzITPg08M/k2uVvMow7Sk41atndNtt/PHSA==", + "requires": { + "debug": "3.1.0", + "methods": "~1.1.2", + "parseurl": "~1.3.2", + "vary": "~1.1.2" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "requires": { + "ms": "2.0.0" + } + } + } + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" + }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" + }, + "mime-db": { + "version": "1.44.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", + "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==" + }, + "mime-types": { + "version": "2.1.27", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", + "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", + "requires": { + "mime-db": "1.44.0" + } + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "mongodb": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.6.2.tgz", + "integrity": "sha512-sSZOb04w3HcnrrXC82NEh/YGCmBuRgR+C1hZgmmv4L6dBz4BkRse6Y8/q/neXer9i95fKUBbFi4KgeceXmbsOA==", + "requires": { + "bl": "^2.2.1", + "bson": "^1.1.4", + "denque": "^1.4.1", + "require_optional": "^1.0.1", + "safe-buffer": "^5.1.2", + "saslprep": "^1.0.0" + } + }, + "mongoose": { + "version": "5.10.7", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.10.7.tgz", + "integrity": "sha512-oiofFrD4I5p3PhJXn49QyrU1nX5CY01qhPkfMMrXYPhkfGLEJVwFVO+0PsCxD91A2kQP+d/iFyk5U8e86KI8eQ==", + "requires": { + "bson": "^1.1.4", + "kareem": "2.3.1", + "mongodb": "3.6.2", + "mongoose-legacy-pluralize": "1.0.2", + "mpath": "0.7.0", + "mquery": "3.2.2", + "ms": "2.1.2", + "regexp-clone": "1.0.0", + "safe-buffer": "5.2.1", + "sift": "7.0.1", + "sliced": "1.0.1" + }, + "dependencies": { + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + } + } + }, + "mongoose-legacy-pluralize": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/mongoose-legacy-pluralize/-/mongoose-legacy-pluralize-1.0.2.tgz", + "integrity": "sha512-Yo/7qQU4/EyIS8YDFSeenIvXxZN+ld7YdV9LqFVQJzTLye8unujAWPZ4NWKfFA+RNjh+wvTWKY9Z3E5XM6ZZiQ==" + }, + "mpath": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.7.0.tgz", + "integrity": "sha512-Aiq04hILxhz1L+f7sjGyn7IxYzWm1zLNNXcfhDtx04kZ2Gk7uvFdgZ8ts1cWa/6d0TQmag2yR8zSGZUmp0tFNg==" + }, + "mquery": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/mquery/-/mquery-3.2.2.tgz", + "integrity": "sha512-XB52992COp0KP230I3qloVUbkLUxJIu328HBP2t2EsxSFtf4W1HPSOBWOXf1bqxK4Xbb66lfMJ+Bpfd9/yZE1Q==", + "requires": { + "bluebird": "3.5.1", + "debug": "3.1.0", + "regexp-clone": "^1.0.0", + "safe-buffer": "5.1.2", + "sliced": "1.0.1" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "requires": { + "ms": "2.0.0" + } + } + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "negotiator": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", + "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" + }, + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "requires": { + "ee-first": "1.1.1" + } + }, + "on-headers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", + "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==" + }, + "parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" + }, + "passport": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/passport/-/passport-0.4.1.tgz", + "integrity": "sha512-IxXgZZs8d7uFSt3eqNjM9NQ3g3uQCW5avD8mRNoXV99Yig50vjuaez6dQK2qC0kVWPRTujxY0dWgGfT09adjYg==", + "requires": { + "passport-strategy": "1.x.x", + "pause": "0.0.1" + } + }, + "passport-local": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/passport-local/-/passport-local-1.0.0.tgz", + "integrity": "sha1-H+YyaMkudWBmJkN+O5BmYsFbpu4=", + "requires": { + "passport-strategy": "1.x.x" + } + }, + "passport-local-mongoose": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/passport-local-mongoose/-/passport-local-mongoose-6.0.1.tgz", + "integrity": "sha512-Jc/ImrVnG7o7aTIqrAznt2CxVxy5M2gAxc3erVZyPVUVfiwgvrhlzA9c5fswValA12H2C9mm1AjqGDz+491TDg==", + "requires": { + "generaterr": "^1.5.0", + "passport-local": "^1.0.0", + "scmp": "^2.1.0", + "semver": "^7.1.1" + }, + "dependencies": { + "semver": { + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", + "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==" + } + } + }, + "passport-strategy": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/passport-strategy/-/passport-strategy-1.0.0.tgz", + "integrity": "sha1-tVOaqPwiWj0a0XlHbd8ja0QPUuQ=" + }, + "path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" + }, + "pause": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/pause/-/pause-0.0.1.tgz", + "integrity": "sha1-HUCLP9t2kjuVQ9lvtMnf1TXZy10=" + }, + "process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "proxy-addr": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz", + "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==", + "requires": { + "forwarded": "~0.1.2", + "ipaddr.js": "1.9.1" + } + }, + "qs": { + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", + "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" + }, + "random-bytes": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz", + "integrity": "sha1-T2ih3Arli9P7lYSMMDJNt11kNgs=" + }, + "range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" + }, + "raw-body": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", + "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", + "requires": { + "bytes": "3.1.0", + "http-errors": "1.7.2", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + } + }, + "readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "regexp-clone": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/regexp-clone/-/regexp-clone-1.0.0.tgz", + "integrity": "sha512-TuAasHQNamyyJ2hb97IuBEif4qBHGjPHBS64sZwytpLEqtBQ1gPJTnOaQ6qmpET16cK14kkjbazl6+p0RRv0yw==" + }, + "require_optional": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/require_optional/-/require_optional-1.0.1.tgz", + "integrity": "sha512-qhM/y57enGWHAe3v/NcwML6a3/vfESLe/sGM2dII+gEO0BpKRUkWZow/tyloNqJyN6kXSl3RyyM8Ll5D/sJP8g==", + "requires": { + "resolve-from": "^2.0.0", + "semver": "^5.1.0" + } + }, + "resolve-from": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz", + "integrity": "sha1-lICrIOlP+h2egKgEx+oUdhGWa1c=" + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "saslprep": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.3.tgz", + "integrity": "sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag==", + "optional": true, + "requires": { + "sparse-bitfield": "^3.0.3" + } + }, + "scmp": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/scmp/-/scmp-2.1.0.tgz", + "integrity": "sha512-o/mRQGk9Rcer/jEEw/yw4mwo3EU/NvYvp577/Btqrym9Qy5/MdWGBqipbALgd2lrdWTJ5/gqDusxfnQBxOxT2Q==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + }, + "send": { + "version": "0.17.1", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", + "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", + "requires": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "~1.7.2", + "mime": "1.6.0", + "ms": "2.1.1", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "dependencies": { + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" + } + } + }, + "serve-static": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", + "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", + "requires": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.1" + } + }, + "setprototypeof": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", + "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" + }, + "sift": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/sift/-/sift-7.0.1.tgz", + "integrity": "sha512-oqD7PMJ+uO6jV9EQCl0LrRw1OwsiPsiFQR5AR30heR+4Dl7jBBbDLnNvWiak20tzZlSE1H7RB30SX/1j/YYT7g==" + }, + "sliced": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/sliced/-/sliced-1.0.1.tgz", + "integrity": "sha1-CzpmK10Ewxd7GSa+qCsD+Dei70E=" + }, + "sparse-bitfield": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", + "integrity": "sha1-/0rm5oZWBWuks+eSqzM004JzyhE=", + "optional": true, + "requires": { + "memory-pager": "^1.0.2" + } + }, + "statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + }, + "toidentifier": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", + "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" + }, + "type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "requires": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + } + }, + "uid-safe": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.5.tgz", + "integrity": "sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA==", + "requires": { + "random-bytes": "~1.0.0" + } + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" + }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" + } + } +} diff --git a/v1/views/css/style.css b/v1/views/css/style.css index 154eecd..6f6f706 100644 --- a/v1/views/css/style.css +++ b/v1/views/css/style.css @@ -1,3 +1,7 @@ +html { + scroll-behavior: smooth; +} + body { font-family: "Open Sans", Arial; text-align: center; @@ -21,6 +25,359 @@ body * { transform: rotate(0deg) translate3d(1, 0, 0); } } + +#header { + transition: all 0.5s; + z-index: 997; + padding: 20px 0; + background: steelblue; +} + +#header.header-scrolled, +#header.header-inner-pages { + background: linear-gradient(45deg, steelblue 0%, steelblue 100%); + padding: 12px 0; +} + +#header .logo { + margin: 0 !important; + padding: 0; + size: 24px; +} + +.nav-justify { + justify-content: space-around !important; +} + +#header.header-scrolled .logo { + visibility: visible; +} + +@media (max-width: 992px) { + #header { + padding: 12px 0; + } + + #header .logo { + font-size: 28px; + } +} + +.nav-menu ul { + margin: 0; + padding: 0; + list-style: none; +} + +.nav-menu>ul { + display: flex; +} + +.nav-menu>ul>li { + position: relative; + white-space: nowrap; + padding: 10px 0 10px 24px; +} + +.nav-menu a { + display: block; + position: relative; + color: rgba(255, 255, 255, 0.7); + transition: 0.3s; + font-size: 15px; + font-weight: 600; + padding: 0 3px; + font-family: "Open Sans", sans-serif; +} + +.nav-menu a:hover:before, +.nav-menu li:hover>a:before, +.nav-menu .active>a:before { + visibility: visible; + width: 100%; +} + +.nav-menu a:hover, +.nav-menu li:hover>a { + color: #fff; +} + +.nav-menu .drop-down ul { + display: block; + position: absolute; + left: 22px; + top: calc(100% + 30px); + z-index: 99; + opacity: 0; + visibility: hidden; + padding: 10px 0; + background: #fff; + box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25); + transition: 0.3s; +} + +.nav-menu .drop-down:hover>ul { + opacity: 1; + top: 100%; + visibility: visible; +} + +.nav-menu .drop-down li { + min-width: 180px; + position: relative; +} + +.nav-menu .drop-down ul a { + padding: 10px 20px; + font-size: 14px; + text-transform: none; + color: #2c4964; +} + +.nav-menu .drop-down ul a:hover, +.nav-menu .drop-down ul .active>a, +.nav-menu .drop-down ul li:hover>a { + color: #5846f9; +} + +.nav-menu .drop-down>a:after { + content: ""; + font-family: IcoFont; + padding-left: 5px; +} + +.nav-menu .drop-down .drop-down ul { + top: 0; + left: calc(100% - 30px); +} + +.nav-menu .drop-down .drop-down:hover>ul { + opacity: 1; + top: 0; + left: 100%; +} + +.nav-menu .drop-down .drop-down>a { + padding-right: 35px; +} + +.nav-menu .drop-down .drop-down>a:after { + content: ""; + font-family: IcoFont; + position: absolute; + right: 15px; +} + +@media (max-width: 1366px) { + .nav-menu .drop-down .drop-down ul { + left: -90%; + } + + .nav-menu .drop-down .drop-down:hover>ul { + left: -100%; + } + + .nav-menu .drop-down .drop-down>a:after { + content: "\ea9d"; + } +} + +/* Get Startet Button */ +.get-started-btn { + margin-left: 25px; + color: #fff; + border-radius: 5px; + padding: 6px 25px 8px 25px; + white-space: nowrap; + transition: 0.3s; + font-size: 14px; + font-weight: 600; + display: inline-block; + border: 2px solid rgba(255, 255, 255, 0.5); +} + +.get-started-btn:hover { + border-color: #fff; + color: #fff; +} + +@media (max-width: 992px) { + .get-started-btn { + margin: 0 10px; + padding: 6px 18px; + } +} + + +* { + margin: 0; + padding: 0; + box-sizing: border-box; + font-family: 'Poppins', sans-serif; +} + +.wrapper.py-4 { + height: 100%; + width: 100%; + position: relative; +} + +.wrapper .menu-btn i { + color: white; + position: absolute; + transform: ; + top: 12px; + right: 50px; + font-size: 23px; + transition: all 0.3s ease; +} + +.wrapper .menu-btn i.fa-times { + opacity: 0; +} + +#btn:checked~.menu-btn i.fa-times { + opacity: 1; + transform: rotate(-180deg); +} + +#btn:checked~.menu-btn i.fa-bars { + opacity: 0; + transform: rotate(180deg); +} + +#sidebar { + position: fixed; + background: linear-gradient(45deg, steelblue 0%, steelblue 100%); + height: 100%; + width: 270px; + overflow: hidden; + top: 0; + left: -270px; + transition: all 0.3s ease; +} + +#btn:checked~#sidebar { + left: 0; + top: 0; +} + +#sidebar .title { + line-height: 65px; + text-align: center; + + font-size: 25px; + font-weight: 600; + color: #f2f2f2; + border-bottom: 2px solid #fff; +} + +#sidebar .list-items { + position: relative; + width: 100%; + height: 100%; + list-style: none; +} + +#sidebar .list-items li { + line-height: 50px; + border-top: 1px solid rgba(255, 255, 255, 0.1); + transition: all 0.3s ease; +} + +#sidebar .list-items li:hover { + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + box-shadow: 0 0px 10px 3px #fff; +} + +#sidebar .list-items li:first-child { + border-top: none; +} + +#sidebar .list-items li a { + color: #f2f2f2; + text-decoration: none; + font-size: 18px; + font-weight: 500; + height: 100%; + width: 100%; + display: block; +} + +#sidebar .list-items li a i { + margin-right: 20px; +} + +#sidebar .list-items .icons { + width: 100%; + height: 40px; + text-align: center; + position: absolute; + bottom: 100px; + line-height: 40px; + display: flex; + align-items: center; + justify-content: center; +} + +#sidebar .list-items .icons a { + height: 100%; + width: 40px; + display: block; + margin: 0 5px; + font-size: 18px; + color: #fff; + + border-radius: 5px; + border: 1.3px solid #fff; + transition: all 0.3s ease; +} + +#sidebar .list-items .icons a:hover { + box-shadow: 3px 4px solid #fff; + border: 2px solid #fff; +} + +.list-items .icons a:first-child { + margin-left: 0px; +} + +.content { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + color: #202020; + z-index: -1; + width: 100%; + text-align: center; +} + +.content .header { + font-size: 45px; + font-weight: 700; +} + +.content p { + font-size: 40px; + font-weight: 700; +} + +label.menu-btn { + display: none !important; +} + +@media (max-width:991px) { + label.menu-btn { + display: block !important; + } + + .userlog { + display: none !important; + } +} + .pie-chart { font-family: "Open Sans", Arial; } @@ -120,4 +477,4 @@ body * { -webkit-box-direction: normal; flex-direction: column; } -} \ No newline at end of file +} diff --git a/v1/views/html/landing.ejs b/v1/views/html/landing.ejs index 6307dd2..cdbc5e6 100644 --- a/v1/views/html/landing.ejs +++ b/v1/views/html/landing.ejs @@ -14,55 +14,81 @@ + Hncc -
- -
+ + +
+ + +
@@ -86,10 +115,15 @@
+ +
+
+ +
- +

HOW It work

@@ -108,11 +142,14 @@
+

+
+ +

Ask Questions

-
@@ -124,9 +161,9 @@ Details
-
+
- +
app development
@@ -141,7 +178,7 @@
- +
app development
@@ -167,16 +204,17 @@
-
-
+

+
+
- +
@@ -277,9 +316,10 @@
- + +
@@ -333,6 +373,22 @@ + + + + - \ No newline at end of file + diff --git a/v1/views/html/login.html b/v1/views/html/login.ejs similarity index 97% rename from v1/views/html/login.html rename to v1/views/html/login.ejs index ef77c3a..37a839e 100644 --- a/v1/views/html/login.html +++ b/v1/views/html/login.ejs @@ -1,155 +1,155 @@ - - - - - - - - - - - - - LoginPage - - - - - - -
- - -
- -
- -

Welcome Back

-

Enter your personal login
and password to conected with us

-
- -
-
-
- -
-
-

Create Account

- -
- - - -
-

or use your eamil for registeration

-
- -
-
-
@
-
- -
-
-
- -
-
-
-
- -
-
-
- -
-
-
-
- -
-
-
- -
-
- -
-
- - - - - - - - - - - - + + + + + + + + + + + + + LoginPage + + + + + + +
+ + +
+ +
+ +

Welcome Back

+

Enter your personal login
and password to conected with us

+
+ +
+
+
+ +
+
+

Create Account

+ +
+ + + +
+

or use your eamil for registeration

+
+ +
+
+
@
+
+ +
+
+
+ +
+
+
+
+ +
+
+
+ +
+
+
+
+ +
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + \ No newline at end of file From 336df340c79ab51d777c221a62e664227d72f161 Mon Sep 17 00:00:00 2001 From: Abhishek Ranjan Date: Tue, 6 Oct 2020 19:21:59 +0530 Subject: [PATCH 3/5] modified services --- v1/package.json | 4 +-- v1/views/css/style.css | 62 +++++++++++++++++++++++++++++++++++++++ v1/views/html/landing.ejs | 38 ++++++++++++------------ 3 files changed, 83 insertions(+), 21 deletions(-) diff --git a/v1/package.json b/v1/package.json index e1ed2b3..e082b5e 100644 --- a/v1/package.json +++ b/v1/package.json @@ -11,8 +11,8 @@ "method-override": "^3.0.0", "mongoose": "^5.9.7", "passport": "^0.4.1", - "passport-local-mongoose": "^6.0.1", - "passport-local": "^1.0.0" + "passport-local": "^1.0.0", + "passport-local-mongoose": "^6.0.1" }, "devDependencies": {}, "scripts": { diff --git a/v1/views/css/style.css b/v1/views/css/style.css index 6f6f706..1c782d4 100644 --- a/v1/views/css/style.css +++ b/v1/views/css/style.css @@ -25,6 +25,68 @@ body * { transform: rotate(0deg) translate3d(1, 0, 0); } } +#Services { + background: #628CE5; + background: -webkit-linear-gradient(bottom, #628CE5, #FFFFFF); + background: -moz-linear-gradient(bottom, #628CE5, #FFFFFF); + background: linear-gradient(to top, #628CE5, #FFFFFF); + height: 65vh; +} + +.service { + display: flex; + justify-content: space-around; + margin-top: 100px; + padding-top: 50px; +} + +.box1 { + background: white; + display: flex; + box-shadow: 28px 24px 61px -21px rgba(58,58,166,1); + + max-width: 300px; + border-radius: 10px; + height: 150px; +} +.box1:hover { + transform: scale(1.1); + cursor: pointer; +} +.box2:hover { + transform: scale(1.1); + cursor: pointer; +} +.box1 i { + padding: 40px 10px; +} +.box1 p { + padding: 60px 18px; + font-size: 25px +} +.box2 { + background: white; + display: flex; + box-shadow: 28px 24px 61px -21px rgba(58,58,166,1); + + max-width: 300px; + border-radius: 10px; + height: 150px; +} +.box2 i { + padding: 40px 10px; +} +.box2 p { + padding: 60px 18px; + font-size: 23px +} +.question { + text-align: center; +} + +#question { + margin-top: 120px +} #header { transition: all 0.5s; diff --git a/v1/views/html/landing.ejs b/v1/views/html/landing.ejs index cdbc5e6..b50e86a 100644 --- a/v1/views/html/landing.ejs +++ b/v1/views/html/landing.ejs @@ -100,7 +100,7 @@
-
+
@@ -120,30 +120,30 @@
+
+
+ +

This is a demo!

-
-
+
-

HOW It work

-
-
-
-

Reference site about Lorem Ipsum, giving information on its origins, as well as a random Lipsum generator.

-
-
-
-

Reference site about Lorem Ipsum, giving information on its origins, as well as a random Lipsum generator.

-
-
-
-

Reference site about Lorem Ipsum, giving information on its origins, as well as a random Lipsum generator.

-
-
+ + +
+ +

This is a demo!

+
+ +
+ + +
-
+ +
From 3432610fdfba73fad2df98434375aa0f3140c392 Mon Sep 17 00:00:00 2001 From: Abhishek Ranjan Date: Thu, 8 Oct 2020 12:33:14 +0530 Subject: [PATCH 4/5] modified footer --- v1/views/css/style.css | 91 ++++++- v1/views/html/landing.ejs | 550 +++++++++++++++++++++----------------- 2 files changed, 378 insertions(+), 263 deletions(-) diff --git a/v1/views/css/style.css b/v1/views/css/style.css index 1c782d4..f24dccb 100644 --- a/v1/views/css/style.css +++ b/v1/views/css/style.css @@ -6,6 +6,7 @@ body { font-family: "Open Sans", Arial; text-align: center; } + body * { font-weight: 300; margin: 0; @@ -15,71 +16,126 @@ body * { @-webkit-keyframes bake-pie { from { -webkit-transform: rotate(0deg) translate3d(0, 0, 0); - transform: rotate(0deg) translate3d(0, 0, 0); + transform: rotate(0deg) translate3d(0, 0, 0); } } @keyframes bake-pie { from { -webkit-transform: rotate(0deg) translate3d(0, 0, 0); - transform: rotate(0deg) translate3d(1, 0, 0); + transform: rotate(0deg) translate3d(1, 0, 0); } } + #Services { background: #628CE5; background: -webkit-linear-gradient(bottom, #628CE5, #FFFFFF); background: -moz-linear-gradient(bottom, #628CE5, #FFFFFF); background: linear-gradient(to top, #628CE5, #FFFFFF); - height: 65vh; + +} +a{text-decoration:none!important;} + .fa-z { + color: white; + width: 2rem; + height: 2rem; + text-align: center; + font-size: 1.5rem; + line-height: 2rem; +} + +.social { + color: #4D045D; + background-color: white; + border-radius: 50%; +} + +.footer { + background-color: #4D045D; + color: white; +} + +.gap{ + padding: 2rem; + font-size: 1.2rem; +} + +.address-info{ + text-align: right; +} + +.footer-copyright { + background-color: #000000; + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} + +.howWork p { + font-size: 25px; + padding-top: 30px; } .service { display: flex; justify-content: space-around; - margin-top: 100px; + margin-top: 0px; padding-top: 50px; + flex-wrap: wrap; +} +.service.one { + margin: 0; + padding: 0 0 50px 0; + justify-content: space-between; + max-width: 1200px; + margin: auto; } .box1 { background: white; display: flex; - box-shadow: 28px 24px 61px -21px rgba(58,58,166,1); - + box-shadow: 28px 24px 61px -21px rgba(58, 58, 166, 1); max-width: 300px; border-radius: 10px; height: 150px; } + .box1:hover { transform: scale(1.1); cursor: pointer; } + .box2:hover { transform: scale(1.1); cursor: pointer; } + .box1 i { padding: 40px 10px; } + .box1 p { padding: 60px 18px; font-size: 25px } + .box2 { background: white; display: flex; - box-shadow: 28px 24px 61px -21px rgba(58,58,166,1); - + box-shadow: 28px 24px 61px -21px rgba(58, 58, 166, 1); max-width: 300px; border-radius: 10px; height: 150px; } + .box2 i { padding: 40px 10px; } + .box2 p { padding: 60px 18px; font-size: 23px } + .question { text-align: center; } @@ -270,7 +326,6 @@ body * { } } - * { margin: 0; padding: 0; @@ -327,7 +382,6 @@ body * { #sidebar .title { line-height: 65px; text-align: center; - font-size: 25px; font-weight: 600; color: #f2f2f2; @@ -390,7 +444,6 @@ body * { margin: 0 5px; font-size: 18px; color: #fff; - border-radius: 5px; border: 1.3px solid #fff; transition: all 0.3s ease; @@ -443,21 +496,25 @@ label.menu-btn { .pie-chart { font-family: "Open Sans", Arial; } + .pie-chart--wrapper { width: 400px; margin: 30px auto; text-align: center; } + .pie-chart__pie, .pie-chart__legend { display: inline-block; vertical-align: top; } + .pie-chart__pie { position: relative; height: 200px; width: 200px; margin: 10px auto 35px; } + .pie-chart__pie::before { content: ""; display: block; @@ -470,6 +527,7 @@ label.menu-btn { top: 50px; left: 50px; } + .pie-chart__pie::after { content: ""; display: block; @@ -487,8 +545,9 @@ label.menu-btn { height: 200px; clip: rect(0px, 200px, 200px, 100px); -webkit-animation: bake-pie 1s; - animation: bake-pie 1s; + animation: bake-pie 1s; } + .slice span { display: block; position: absolute; @@ -513,15 +572,18 @@ label.menu-btn { text-align: left; width: 65%; } + .pie-chart__legend li { height: 1.25em; margin-bottom: 0.7em; padding-left: 0.5em; border-left: 1.25em solid black; } + .pie-chart__legend em { font-style: normal; } + .pie-chart__legend span { float: right; } @@ -531,12 +593,13 @@ label.menu-btn { display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; - flex-direction: row; + flex-direction: row; } + @media (max-width: 500px) { .pie-charts { -webkit-box-orient: vertical; -webkit-box-direction: normal; - flex-direction: column; + flex-direction: column; } } diff --git a/v1/views/html/landing.ejs b/v1/views/html/landing.ejs index b50e86a..a76f4a6 100644 --- a/v1/views/html/landing.ejs +++ b/v1/views/html/landing.ejs @@ -1,93 +1,94 @@ - - - - - - - - - - + + + + + + + + + + - Hncc - -
+
+

How we work!

+ +
+
+
+ +

This is a demo!

+ +
+ + -
-
- -

This is a demo!

+
+ +

This is a demo!

+
+
+
+
+
+
+ +

This is a demo!

+
-
- -

This is a demo!

-
-
-
- -
+ +
+ +

This is a demo!

+
+
@@ -147,61 +166,61 @@
-

Ask Questions

+

Ask Questions

-
-
-
-
- app development -
-
Coding
-

Some quick example text to build on the card title and make up the bulk of the card's content.

- Details -
-
-
-
- -
- app development -
-
Club Activities
-

Some quick example text to build on the card title and make up the bulk of the card's content.

- Details -
+
+
+
+
+ app development +
+
Coding
+

Some quick example text to build on the card title and make up the bulk of the card's content.

+ Details +
+
+
+
+ +
+ app development +
+
Club Activities
+

Some quick example text to build on the card title and make up the bulk of the card's content.

+ Details +
-
-
+
+
-
+
-
- app development -
-
Academic
-

Some quick example text to build on the card title and make up the bulk of the card's content.

- Details -
+
+ app development +
+
Academic
+

Some quick example text to build on the card title and make up the bulk of the card's content.

+ Details +
-
-
+
+
-
-
- app development -
-
Development
-

Some quick example text to build on the card title and make up the bulk of the card's content.

- Details -
-
-
+
+
+ app development +
+
Development
+

Some quick example text to build on the card title and make up the bulk of the card's content.

+ Details +
+
+
@@ -211,56 +230,57 @@ -
-
-
+
+
+
- -
-
-

Current Workshops

-

Rows are wrappers for columns. Each column has horizontal padding (called a gutter) for controlling the space between them. This padding is then counteracted on the rows with negative margins. This way, all the content in your columns is visually aligned down the left side. -

-
+
+
+

Current Workshops

+

Rows are wrappers for columns. Each column has horizontal padding (called a gutter) for controlling the space between them. This padding is then counteracted on the rows with negative margins. This way, all the content in your columns is + visually aligned down the left side. +

+
+
-
@@ -269,56 +289,59 @@
-
-

Trending Topics

-
-
-
-
-

Jason 10h ago

-

Some quick example text to build on the card title and make up the bulk of the card's content.Some quick example text to build on the card title and make up the bulk of the card's content.

-

- - -

- Card link - Details -
-
-
-
-
-
-

Jason 10h ago

-

Some quick example text to build on the card title and make up the bulk of the card's content.Some quick example text to build on the card title and make up the bulk of the card's content.

-

- - - -

- Card link - Details -
-
-
-
-
-
-

Jason 10h ago

-

Some quick example text to build on the card title and make up the bulk of the card's content.Some quick example text to build on the card title and make up the bulk of the card's content.

-

- - -

- Card link - Details -
-
-
+
+

Trending Topics

+
+
+
+
+

Jason 10h ago

+

Some quick example text to build on the card title and make up the bulk of the card's content.Some quick example text to build on the card title and make up the bulk of the card's content.

+

+ + + +

+ Card link + Details +
+
+
+
+
+
+

Jason 10h ago

+

Some quick example text to build on the card title and make up the bulk of the card's content.Some quick example text to build on the card title and make up the bulk of the card's content.

+

+ + + + +

+ Card link + Details +
+
+
+
+
+
+

Jason 10h ago

+

Some quick example text to build on the card title and make up the bulk of the card's content.Some quick example text to build on the card title and make up the bulk of the card's content.

+

+ + + +

+ Card link + Details +
+
+
+
-
@@ -361,34 +384,63 @@

-
-

Copyright 2019 hncc. All rights reserved Privacy Terms

-
+
+ +
+
+
+
+ + contact@bits.com

+ + + +
+

+
+ + Address
BIT Sindri, Dhanbad +
+ +
+
+
+ +
+ + + + +
+ + + + + + - - - - + + - - + + - if ($(window).scrollTop() > 100) { - $('#header').addClass('header-scrolled'); - } - - + + - - From 0b1fcbc9d7a3888fab378dd12b0c168d04cd4da4 Mon Sep 17 00:00:00 2001 From: Abhishek Ranjan Date: Sat, 10 Oct 2020 17:25:31 +0530 Subject: [PATCH 5/5] modified working section --- v1/views/css/style.css | 29 +++++++++++++++++------------ v1/views/html/landing.ejs | 8 ++++---- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/v1/views/css/style.css b/v1/views/css/style.css index f24dccb..f8caf5a 100644 --- a/v1/views/css/style.css +++ b/v1/views/css/style.css @@ -27,13 +27,13 @@ body * { } } -#Services { +/* #Services { background: #628CE5; background: -webkit-linear-gradient(bottom, #628CE5, #FFFFFF); background: -moz-linear-gradient(bottom, #628CE5, #FFFFFF); background: linear-gradient(to top, #628CE5, #FFFFFF); -} +} */ a{text-decoration:none!important;} .fa-z { color: white; @@ -71,14 +71,16 @@ a{text-decoration:none!important;} } .howWork p { - font-size: 25px; + font-size: 40px; padding-top: 30px; + font-family: "Times New Roman", Times, serif; + font-weight: 600; } .service { display: flex; justify-content: space-around; - margin-top: 0px; + margin-top: 80px; padding-top: 50px; flex-wrap: wrap; } @@ -93,19 +95,19 @@ a{text-decoration:none!important;} .box1 { background: white; display: flex; - box-shadow: 28px 24px 61px -21px rgba(58, 58, 166, 1); + box-shadow: 0px 0px 35px -11px rgba(58, 58, 166, 1); max-width: 300px; border-radius: 10px; height: 150px; } .box1:hover { - transform: scale(1.1); cursor: pointer; + box-shadow: 0px 0px 55px -11px rgba(58, 58, 166, 1); } .box2:hover { - transform: scale(1.1); + box-shadow: 0px 0px 55px -11px rgba(58, 58, 166, 1); cursor: pointer; } @@ -115,13 +117,14 @@ a{text-decoration:none!important;} .box1 p { padding: 60px 18px; - font-size: 25px + font-size: 25px; + font-family: "Times New Roman", Times, serif; } .box2 { background: white; display: flex; - box-shadow: 28px 24px 61px -21px rgba(58, 58, 166, 1); + box-shadow: 0px 0px 35px -11px rgba(58, 58, 166, 1); max-width: 300px; border-radius: 10px; height: 150px; @@ -133,11 +136,13 @@ a{text-decoration:none!important;} .box2 p { padding: 60px 18px; - font-size: 23px + font-size: 25px; + font-family: "Times New Roman", Times, serif; } -.question { - text-align: center; +.question img { + width: 300px; + height: auto; } #question { diff --git a/v1/views/html/landing.ejs b/v1/views/html/landing.ejs index a76f4a6..f8137a9 100644 --- a/v1/views/html/landing.ejs +++ b/v1/views/html/landing.ejs @@ -120,10 +120,7 @@
-
-

How we work!

-
@@ -131,7 +128,10 @@
+
+

How we work?

+
@@ -140,7 +140,7 @@
- +