added animations and pageLoad and preLoader

This commit is contained in:
Amir Mohamadi
2020-12-19 13:26:55 +03:30
parent bc5e617778
commit 9433eb84ac
57 changed files with 13099 additions and 494 deletions
+6
View File
@@ -10,6 +10,7 @@ const projectController = require('../controllers/projectController')
const contactPageController = require('../controllers/contactPageController')
const contactUsReasonController = require('../controllers/contactUsReasonController')
const mainCatalogController = require('../controllers/mainCatalogController')
const historyController = require('../controllers/historyController')
/////////////////////////////////////////////////////////// routes
//////////////// slider
@@ -63,4 +64,9 @@ router.delete('/contact/reason/:id', contactUsReasonController.delete)
///////////////// main catalog
router.post('/catalog', mainCatalogController.create)
///////////////// history
router.post('/history', historyController.create)
router.put('/history/:id', historyController.update)
router.delete('/history/:id', historyController.delete)
module.exports = router
+5
View File
@@ -11,6 +11,7 @@ const projectController = require('../controllers/projectController')
const contactPageController = require('../controllers/contactPageController')
const contactUsReasonController = require('../controllers/contactUsReasonController')
const mainCatalogController = require('../controllers/mainCatalogController')
const historyController = require('../controllers/historyController')
/////////////////////////////////////////////////////////// routes
//////////////// slider
@@ -46,4 +47,8 @@ router.get('/contact/reason', contactUsReasonController.getAll)
//////////////// main catalog
router.get('/catalog', mainCatalogController.get)
//////////////// history
router.get('/history', historyController.getAll)
router.get('/history/:id', historyController.getOne)
module.exports = router