diff --git a/.gitignore b/.gitignore index 0d5cdf0..711675a 100644 --- a/.gitignore +++ b/.gitignore @@ -64,3 +64,15 @@ typings/ #session whatsappwebjs json file whatsapp-web.js/session.json + +# ignore file in the generated website section +website-generator/public/pages/* + +# ignore ejs.html files +website-generator/public/templates/*/*.ejs.html + +# Not IPFS file in the direcotry +!website-generator/public/pages/ipfs-deploy.sh + + + diff --git a/README.md b/README.md index ce32cd3..520844a 100644 --- a/README.md +++ b/README.md @@ -50,5 +50,8 @@ You need to start both website-generator and whatsapp-bot. ### Contributors -1. Akilan Selvacoumar : as251@hw.ac.uk -2. Gaurav Gosain : gg68@hw.ac.uk +1. Akilan Selvacoumar: akilan@hwtech.club (https://akilan.io) +2. Gaurav Gosain: gg68@hw.ac.uk +3. Nicole Tobe: https://github.com/tobenxe +4. Humaid AlQassimi: me@humaidq.ae(https://humaidq.ae) + (Website generator based on: https://humaidq.ae/projects/shopsheet/) diff --git a/website-generator/app/controllers/home.js b/website-generator/app/controllers/home.js index 412aef4..3819524 100644 --- a/website-generator/app/controllers/home.js +++ b/website-generator/app/controllers/home.js @@ -24,8 +24,6 @@ exports.generate = function (req, res) { //we can now manipulate the data let result = req.body.companyName; - //console.log(req.body); - let dir = './public/pages/' + req.body.companyName; if (!fs.existsSync(dir)) { @@ -100,12 +98,10 @@ exports.deploy_ipfs = function (req, res) { } exports.convertCsv = function (req, res, next) { - console.log(req.body); const csvStr = req.body.csv; csv() .fromString(csvStr) .then((jsonObj) => { - console.log(jsonObj) req.body.csv = jsonObj; //delete file at path next() diff --git a/website-generator/public/templates/Colo_Shop/cart.ejs b/website-generator/public/templates/Colo_Shop/cart.ejs index 77d4a49..1661e6e 100644 --- a/website-generator/public/templates/Colo_Shop/cart.ejs +++ b/website-generator/public/templates/Colo_Shop/cart.ejs @@ -117,9 +117,9 @@
diff --git a/website-generator/public/templates/Colo_Shop/cart.ejs.html b/website-generator/public/templates/Colo_Shop/cart.ejs.html index c1c8907..926b4df 100644 --- a/website-generator/public/templates/Colo_Shop/cart.ejs.html +++ b/website-generator/public/templates/Colo_Shop/cart.ejs.html @@ -117,9 +117,9 @@
@@ -289,19 +289,19 @@ diff --git a/website-generator/public/templates/Colo_Shop/index.ejs.html b/website-generator/public/templates/Colo_Shop/index.ejs.html index 866c108..0f68369 100644 --- a/website-generator/public/templates/Colo_Shop/index.ejs.html +++ b/website-generator/public/templates/Colo_Shop/index.ejs.html @@ -120,8 +120,8 @@
@@ -145,18 +145,15 @@

Our Products

+

Loldfsdf sdfsdsdsfsd sd fsdrs d sdf

- -
+
- +
-
-
test
-
$12
+
java
+

We all love java fsdf sdf' sd'f 'sdf sfsdf sdf sdf

+
$130
+
+
-
- + +
+
+
+ +
+
+
C
+

C lord it is

+
$200
+
+
+ +
+
+
@@ -190,24 +203,37 @@

+
+
+
+
+
+
+
+
+
+
+
+
+
+ + - - - - + @@ -220,13 +246,13 @@ diff --git a/website-generator/public/templates/Colo_Shop/styles/main_styles.css b/website-generator/public/templates/Colo_Shop/styles/main_styles.css index 7a10c77..03ba8f8 100755 --- a/website-generator/public/templates/Colo_Shop/styles/main_styles.css +++ b/website-generator/public/templates/Colo_Shop/styles/main_styles.css @@ -1031,14 +1031,11 @@ section } .product-item:hover::after { - box-shadow: 0 25px 29px rgba(63, 78, 100, 0.15); - border: solid 2px rgba(235,235,235,1); } .product { width: 100%; height: 340px; - border-right: solid 1px #e9e9e9; } .product_image {