diff --git a/.github/workflows/deploy-frontend-dev.yml b/.github/workflows/deploy-frontend-dev.yml index ea851975a..ef93bce41 100644 --- a/.github/workflows/deploy-frontend-dev.yml +++ b/.github/workflows/deploy-frontend-dev.yml @@ -2,8 +2,7 @@ name: DeployFrontendDev on: push: - branches: - - "master" + jobs: deploy-frontend-dev: diff --git a/api-doc.md b/api-doc.md index 2074f370f..949f47910 100644 --- a/api-doc.md +++ b/api-doc.md @@ -417,3 +417,71 @@ - Headers : none - Message : Acceptence mail has been sent successfully ``` + +### 9. Get Career Page LifeatCanopas Section Images + +``` +- Method : GET +- Endpoint : /api/lifeimages +- Description : API for get images of lifeat canopas section of career page +- Request: + - Headers : none + - Body : none + +- Response : + + - If API is not found or image data not found then, + - Status Code: 404 not found + - Data: no response data + + - If any server error is there then, + - Status Code: 500 Internal server error + - Data: no response data + + - If request will success , + - Status Code: 200 Ok + - Headers : none + - Data : + [ + { + "id": 1, + "image_urls": "https://canopas-website.s3.ap-south-1.amazonaws.com/lifeCanopas/1-400.webp,https://canopas-website.s3.ap-south-1.amazonaws.com/lifeCanopas/1-800.webp,https://canopas-website.s3.ap-south-1.amazonaws.com/lifeCanopas/1-1600.webp", + "index": 0 + }, + ] + +``` + +### 10. Get Career Page Perks and Benefit Section Images + +``` +- Method : GET +- Endpoint : /api/perksimages +- Description : API for get images of perks and benefit section of career page +- Request: + - Headers : none + - Body : none + +- Response : + + - If API is not found or image data not found then, + - Status Code: 404 not found + - Data: no response data + + - If any server error is there then, + - Status Code: 500 Internal server error + - Data: no response data + + - If request will success , + - Status Code: 200 Ok + - Headers : none + - Data : + [ + { + "id": 1, + "image_urls": "https://canopas-website.s3.ap-south-1.amazonaws.com/perksBenefits/1-400.webp,https://canopas-website.s3.ap-south-1.amazonaws.com//perksBenefits/1-800.webp", + "index": 0 + }, + ] + +``` diff --git a/go.mod b/go.mod index 43092d15a..f3f793e28 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module canopas-website -go 1.20 +go 1.21.3 replace contact => ./contact @@ -42,7 +42,7 @@ require ( cloud.google.com/go/compute v1.23.0 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect cloud.google.com/go/recaptchaenterprise/v2 v2.7.2 // indirect - github.com/aws/aws-sdk-go v1.44.322 // indirect + github.com/aws/aws-sdk-go v1.47.2 // indirect github.com/bytedance/sonic v1.10.0 // indirect github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect github.com/chenzhuoyu/iasm v0.9.0 // indirect @@ -73,12 +73,12 @@ require ( github.com/ugorji/go/codec v1.2.11 // indirect go.opencensus.io v0.24.0 // indirect golang.org/x/arch v0.4.0 // indirect - golang.org/x/crypto v0.12.0 // indirect - golang.org/x/net v0.14.0 // indirect + golang.org/x/crypto v0.14.0 // indirect + golang.org/x/net v0.17.0 // indirect golang.org/x/oauth2 v0.11.0 // indirect golang.org/x/sync v0.3.0 // indirect - golang.org/x/sys v0.11.0 // indirect - golang.org/x/text v0.12.0 // indirect + golang.org/x/sys v0.13.0 // indirect + golang.org/x/text v0.13.0 // indirect google.golang.org/api v0.136.0 // indirect google.golang.org/appengine v1.6.7 // indirect google.golang.org/genproto v0.0.0-20230807174057-1744710a1577 // indirect diff --git a/go.sum b/go.sum index 3e0632852..9ac6a0caa 100644 --- a/go.sum +++ b/go.sum @@ -10,8 +10,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/aws/aws-lambda-go v1.41.0 h1:l/5fyVb6Ud9uYd411xdHZzSf2n86TakxzpvIoz7l+3Y= github.com/aws/aws-lambda-go v1.41.0/go.mod h1:jwFe2KmMsHmffA1X2R09hH6lFzJQxzI8qK17ewzbQMM= -github.com/aws/aws-sdk-go v1.44.322 h1:7JfwifGRGQMHd99PvfXqxBaZsjuRaOF6e3X9zRx2uYo= -github.com/aws/aws-sdk-go v1.44.322/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= +github.com/aws/aws-sdk-go v1.47.2 h1:KEdO2PbjfEBmHvnEwbYEpr65ZIkmwK5aB85Gj19ASuA= +github.com/aws/aws-sdk-go v1.47.2/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/awslabs/aws-lambda-go-api-proxy v0.15.0 h1:0xG48rLv0ZYYCtBSYKip31LnL1yVk8LTUHM9H3wqadw= github.com/awslabs/aws-lambda-go-api-proxy v0.15.0/go.mod h1:DPHlODrQDzpZ5IGRueOmrXthxReqhHHIAnHpI2nsaTw= github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM= @@ -44,6 +44,7 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.m github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI= +github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU= github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= @@ -58,6 +59,7 @@ github.com/gin-gonic/gin v1.9.1 h1:4idEAncQnU5cB7BeOkPtxjfCSye0AAm1R0RVIqJ+Jmg= github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s= +github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa7l++s0DH+LDiLs= github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= @@ -69,6 +71,7 @@ github.com/go-playground/validator/v10 v10.15.0 h1:nDU5XeOKtB3GEa+uB7GNYwhVKsgjA github.com/go-playground/validator/v10 v10.15.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU= github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI= +github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= github.com/goccy/go-json v0.9.7/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= @@ -138,8 +141,6 @@ github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q= github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4= github.com/lib/pq v1.2.0 h1:LXpIM/LZ5xGFhOpXAQUIMM1HdyqzVYM13zNdjCEEcA0= github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw= -github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= @@ -151,13 +152,15 @@ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJ github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= +github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= +github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= github.com/onsi/gomega v1.27.7 h1:fVih9JD6ogIiHUN6ePK7HJidyEDpWGVB5mzM7cWNXoU= +github.com/onsi/gomega v1.27.7/go.mod h1:1p8OOlwo2iUUDsHnOrjE5UKYJ+e3W8eQ3qSlRahPmr4= github.com/pelletier/go-toml/v2 v2.0.1/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= github.com/pelletier/go-toml/v2 v2.0.9 h1:uH2qQXheeefCCkuBBSLi7jCiSmj3VRh2+Goq2N7Xxu0= github.com/pelletier/go-toml/v2 v2.0.9/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= @@ -181,6 +184,7 @@ github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/tj/assert v0.0.3 h1:Df/BlaZ20mq6kuai7f5z2TvPFiwC3xaWJSDQNiIS3Rk= +github.com/tj/assert v0.0.3/go.mod h1:Ne6X72Q+TB1AteidzQncjw9PabbMp4PBMZ1k+vd1Pvk= github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI= github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= github.com/ugorji/go v1.2.7/go.mod h1:nF9osbDWLy6bDVv/Rtoh6QgnvNDpmCalQV5urGCCS6M= @@ -199,8 +203,8 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.12.0 h1:tFM/ta59kqch6LlvYnPa0yx5a83cL2nHflFhYKvv9Yk= -golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw= +golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= @@ -219,9 +223,8 @@ golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwY golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= -golang.org/x/net v0.14.0 h1:BONx9s002vGdD9umnlX1Po8vOZmrgH34qlHcD1MfK14= -golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.11.0 h1:vPL4xzxBM4niKCW6g9whtaWVXTJf1U5e4aZxxFx/gbU= @@ -246,23 +249,20 @@ golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM= -golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= -golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc= -golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= @@ -325,6 +325,7 @@ gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df/go.mod h1:LRQQ+SO6ZHR7tOkp gopkg.in/guregu/null.v3 v3.5.0 h1:xTcasT8ETfMcUHn0zTvIYtQud/9Mx5dJqD554SZct0o= gopkg.in/guregu/null.v3 v3.5.0/go.mod h1:E4tX2Qe3h7QdL+uZ3a0vqvYwKQsRSQKM5V4YltdgH9Y= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/jobs/life_perks_images.go b/jobs/life_perks_images.go new file mode 100644 index 000000000..c88c8fc4c --- /dev/null +++ b/jobs/life_perks_images.go @@ -0,0 +1,46 @@ +package jobs + +import ( + "net/http" + + log "github.com/sirupsen/logrus" + + "github.com/gin-gonic/gin" + "github.com/jmoiron/sqlx" +) + +type LifePerksImages struct { + Id int `json:"id"` + ImageUrls string `json:"image_urls"` + Index int `json:"index"` +} + +type LifeandPerksRepository struct { + Db *sqlx.DB +} + +func NewLifePerksImages(db *sqlx.DB) *LifeandPerksRepository { + return &LifeandPerksRepository{Db: db} +} + +func (repository *LifeandPerksRepository) LifeImages(c *gin.Context) { + lifeImages := []LifePerksImages{} + err := repository.Db.Select(&lifeImages, "SELECT l.id, l.image_urls, l.index FROM lifeatcanopas l") + if err != nil { + log.Error(err) + c.AbortWithStatus(http.StatusInternalServerError) + return + } + c.JSON(http.StatusOK, lifeImages) +} + +func (repository *LifeandPerksRepository) PerksImages(c *gin.Context) { + perksImages := []LifePerksImages{} + err := repository.Db.Select(&perksImages, "SELECT p.id, p.image_urls, p.index FROM perks p") + if err != nil { + log.Error(err) + c.AbortWithStatus(http.StatusInternalServerError) + return + } + c.JSON(http.StatusOK, perksImages) +} diff --git a/jobs/life_perks_images_test.go b/jobs/life_perks_images_test.go new file mode 100644 index 000000000..6748d7794 --- /dev/null +++ b/jobs/life_perks_images_test.go @@ -0,0 +1,83 @@ +package jobs + +import ( + "net/http" + "net/http/httptest" + "testing" + "utils" + + "github.com/gin-gonic/gin" + "github.com/jmoiron/sqlx" + "github.com/stretchr/testify/assert" +) + +var l_repo *LifeandPerksRepository +var l_err error +var l_testDB *sqlx.DB + +func TestInitLifePerksImages(t *testing.T) { + l_testDB, l_err = utils.TestDB() + if l_err != nil { + t.Errorf("Error in initializing test DB: %v", l_err) + } + + l_repo = NewLifePerksImages(l_testDB) +} + +func TestGetAllLifeImages(t *testing.T) { + utils.TruncateTables(l_testDB) + l_err = utils.CreateTables(l_testDB) + if l_err != nil { + t.Errorf("Error in initializing test DB: %v", l_err) + } + utils.PrepareTablesData(l_testDB) + engine := gin.New() + engine.GET("/api/lifeimages", l_repo.LifeImages) + req, l_err := http.NewRequest("GET", "/api/lifeimages", nil) + if l_err != nil { + t.Errorf("Error in creating request: %v", l_err) + } + w := httptest.NewRecorder() + engine.ServeHTTP(w, req) + + assert.EqualValues(t, http.StatusOK, w.Code) + got := utils.GotArrayData(w, t) + expected := []interface{}{expectedLifeImages()} + assert.Equal(t, expected, got) +} + +func TestGetAllPerksImages(t *testing.T) { + utils.TruncateTables(l_testDB) + l_err = utils.CreateTables(l_testDB) + if l_err != nil { + t.Errorf("Error in initializing test DB: %v", l_err) + } + utils.PrepareTablesData(l_testDB) + engine := gin.New() + engine.GET("/api/perkimages", l_repo.PerksImages) + req, l_err := http.NewRequest("GET", "/api/perkimages", nil) + if l_err != nil { + t.Errorf("Error in creating request: %v", l_err) + } + w := httptest.NewRecorder() + engine.ServeHTTP(w, req) + + assert.EqualValues(t, http.StatusOK, w.Code) + got := utils.GotArrayData(w, t) + expected := []interface{}{expectedPerkImages()} + assert.Equal(t, expected, got) +} +func expectedLifeImages() map[string]interface{} { + lifeImages := make(map[string]interface{}) + lifeImages["id"] = 1.0 + lifeImages["image_urls"] = "https://canopas-website.s3.ap-south-1.amazonaws.com/lifeCanopas/1-400.webp,https://canopas-website.s3.ap-south-1.amazonaws.com/lifeCanopas/1-800.webp,https://canopas-website.s3.ap-south-1.amazonaws.com/lifeCanopas/1-1600.webp" + lifeImages["index"] = 0.0 + return lifeImages +} +func expectedPerkImages() map[string]interface{} { + perkImages := make(map[string]interface{}) + perkImages["id"] = 1.0 + perkImages["image_urls"] = "https://canopas-website.s3.ap-south-1.amazonaws.com/lifeCanopas/1-400.webp,https://canopas-website.s3.ap-south-1.amazonaws.com/lifeCanopas/1-800.webp" + perkImages["index"] = 0.0 + return perkImages +} diff --git a/main.go b/main.go index 4a57adadf..8e888d8f5 100644 --- a/main.go +++ b/main.go @@ -58,6 +58,7 @@ func setupRouter() *gin.Engine { sitemapRepo := sitemap.New(jobsRepo) leaveRepo := leave.New(templateFS, utilsRepo) notificationRepo := notification.New(templateFS, utilsRepo) + lifePerksImagesRepo := jobs.NewLifePerksImages(sqlDb) router.POST("/api/send-contact-mail", contactRepo.SendContactMail) @@ -87,6 +88,10 @@ func setupRouter() *gin.Engine { }) }) + router.GET("/api/lifeimages", lifePerksImagesRepo.LifeImages) + + router.GET("/api/perksimages", lifePerksImagesRepo.PerksImages) + return router } diff --git a/nuxt-frontend/assets/images/flutter-app-development/blog/1-400w.webp b/nuxt-frontend/assets/images/flutter-app-development/blog/1-400w.webp new file mode 100644 index 000000000..37a394170 Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/blog/1-400w.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/blog/1-800w.webp b/nuxt-frontend/assets/images/flutter-app-development/blog/1-800w.webp new file mode 100644 index 000000000..71ecfca60 Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/blog/1-800w.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/blog/2-400w.webp b/nuxt-frontend/assets/images/flutter-app-development/blog/2-400w.webp new file mode 100644 index 000000000..b134a8f04 Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/blog/2-400w.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/blog/2-800w.webp b/nuxt-frontend/assets/images/flutter-app-development/blog/2-800w.webp new file mode 100644 index 000000000..fe87bcba0 Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/blog/2-800w.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/blog/3-400w.webp b/nuxt-frontend/assets/images/flutter-app-development/blog/3-400w.webp new file mode 100644 index 000000000..b7e51a344 Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/blog/3-400w.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/blog/3-800w.webp b/nuxt-frontend/assets/images/flutter-app-development/blog/3-800w.webp new file mode 100644 index 000000000..770ff2b04 Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/blog/3-800w.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/blog/4-400w.webp b/nuxt-frontend/assets/images/flutter-app-development/blog/4-400w.webp new file mode 100644 index 000000000..f07f58f9b Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/blog/4-400w.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/blog/4-800w.webp b/nuxt-frontend/assets/images/flutter-app-development/blog/4-800w.webp new file mode 100644 index 000000000..86c9b662b Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/blog/4-800w.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/blog/5-400w.webp b/nuxt-frontend/assets/images/flutter-app-development/blog/5-400w.webp new file mode 100644 index 000000000..525e92bde Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/blog/5-400w.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/blog/5-800w.webp b/nuxt-frontend/assets/images/flutter-app-development/blog/5-800w.webp new file mode 100644 index 000000000..271f7851d Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/blog/5-800w.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/blog/desk800w.webp b/nuxt-frontend/assets/images/flutter-app-development/blog/desk800w.webp new file mode 100644 index 000000000..8b91f59a9 Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/blog/desk800w.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/cta/background-1200w.webp b/nuxt-frontend/assets/images/flutter-app-development/cta/background-1200w.webp new file mode 100644 index 000000000..560992c6c Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/cta/background-1200w.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/cta/background-2400w.webp b/nuxt-frontend/assets/images/flutter-app-development/cta/background-2400w.webp new file mode 100644 index 000000000..8adae6357 Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/cta/background-2400w.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/cta/background-400w.webp b/nuxt-frontend/assets/images/flutter-app-development/cta/background-400w.webp new file mode 100644 index 000000000..3a915411a Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/cta/background-400w.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/cta/background-800w.webp b/nuxt-frontend/assets/images/flutter-app-development/cta/background-800w.webp new file mode 100644 index 000000000..c4cef9299 Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/cta/background-800w.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/cta/hex-img.webp b/nuxt-frontend/assets/images/flutter-app-development/cta/hex-img.webp new file mode 100644 index 000000000..56155fe85 Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/cta/hex-img.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/leap.webp b/nuxt-frontend/assets/images/flutter-app-development/leap.webp new file mode 100644 index 000000000..d1df3e142 Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/leap.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/leap400.webp b/nuxt-frontend/assets/images/flutter-app-development/leap400.webp new file mode 100644 index 000000000..7dc91e450 Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/leap400.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/leap800.webp b/nuxt-frontend/assets/images/flutter-app-development/leap800.webp new file mode 100644 index 000000000..a58d1f3c7 Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/leap800.webp differ diff --git a/nuxt-frontend/assets/images/flutter-app-development/quote.webp b/nuxt-frontend/assets/images/flutter-app-development/quote.webp new file mode 100644 index 000000000..05a260906 Binary files /dev/null and b/nuxt-frontend/assets/images/flutter-app-development/quote.webp differ diff --git a/nuxt-frontend/assets/images/ios-app-development/casestudy/justly1-800w.webp b/nuxt-frontend/assets/images/ios-app-development/casestudy/justly1-800w.webp index 4e9ea56d9..a9eba563a 100644 Binary files a/nuxt-frontend/assets/images/ios-app-development/casestudy/justly1-800w.webp and b/nuxt-frontend/assets/images/ios-app-development/casestudy/justly1-800w.webp differ diff --git a/nuxt-frontend/assets/images/ios-app-development/casestudy/mobile/justly1.webp b/nuxt-frontend/assets/images/ios-app-development/casestudy/mobile/justly1.webp index 24c0a46d3..cfdafc309 100644 Binary files a/nuxt-frontend/assets/images/ios-app-development/casestudy/mobile/justly1.webp and b/nuxt-frontend/assets/images/ios-app-development/casestudy/mobile/justly1.webp differ diff --git a/nuxt-frontend/assets/images/ios-app-development/casestudy/mobile/justly2.webp b/nuxt-frontend/assets/images/ios-app-development/casestudy/mobile/justly2.webp index a9b4f964b..799ff5d56 100644 Binary files a/nuxt-frontend/assets/images/ios-app-development/casestudy/mobile/justly2.webp and b/nuxt-frontend/assets/images/ios-app-development/casestudy/mobile/justly2.webp differ diff --git a/nuxt-frontend/assets/images/ios-app-development/development/activeconsultation.webp b/nuxt-frontend/assets/images/ios-app-development/development/activeconsultation.webp index 9ad76a4ce..5f217f6f7 100644 Binary files a/nuxt-frontend/assets/images/ios-app-development/development/activeconsultation.webp and b/nuxt-frontend/assets/images/ios-app-development/development/activeconsultation.webp differ diff --git a/nuxt-frontend/assets/images/ios-app-development/development/activedeployment.webp b/nuxt-frontend/assets/images/ios-app-development/development/activedeployment.webp index 8afaad52d..4d09b8703 100644 Binary files a/nuxt-frontend/assets/images/ios-app-development/development/activedeployment.webp and b/nuxt-frontend/assets/images/ios-app-development/development/activedeployment.webp differ diff --git a/nuxt-frontend/assets/images/ios-app-development/development/activedesign.webp b/nuxt-frontend/assets/images/ios-app-development/development/activedesign.webp index db9bc8a2d..b5d3bfdc3 100644 Binary files a/nuxt-frontend/assets/images/ios-app-development/development/activedesign.webp and b/nuxt-frontend/assets/images/ios-app-development/development/activedesign.webp differ diff --git a/nuxt-frontend/assets/images/ios-app-development/development/activedevelopment.webp b/nuxt-frontend/assets/images/ios-app-development/development/activedevelopment.webp index 6490a1577..e124dc579 100644 Binary files a/nuxt-frontend/assets/images/ios-app-development/development/activedevelopment.webp and b/nuxt-frontend/assets/images/ios-app-development/development/activedevelopment.webp differ diff --git a/nuxt-frontend/assets/images/ios-app-development/development/activemaintenance.webp b/nuxt-frontend/assets/images/ios-app-development/development/activemaintenance.webp index 6ebd79c82..70ca04a6c 100644 Binary files a/nuxt-frontend/assets/images/ios-app-development/development/activemaintenance.webp and b/nuxt-frontend/assets/images/ios-app-development/development/activemaintenance.webp differ diff --git a/nuxt-frontend/assets/images/ios-app-development/development/consultation.webp b/nuxt-frontend/assets/images/ios-app-development/development/consultation.webp index 966efd3c5..ee69dcd85 100644 Binary files a/nuxt-frontend/assets/images/ios-app-development/development/consultation.webp and b/nuxt-frontend/assets/images/ios-app-development/development/consultation.webp differ diff --git a/nuxt-frontend/assets/images/ios-app-development/development/deployment.webp b/nuxt-frontend/assets/images/ios-app-development/development/deployment.webp index c1b62e52c..0609b2454 100644 Binary files a/nuxt-frontend/assets/images/ios-app-development/development/deployment.webp and b/nuxt-frontend/assets/images/ios-app-development/development/deployment.webp differ diff --git a/nuxt-frontend/assets/images/ios-app-development/development/design.webp b/nuxt-frontend/assets/images/ios-app-development/development/design.webp index 0cbdd7f90..19baaf6a5 100644 Binary files a/nuxt-frontend/assets/images/ios-app-development/development/design.webp and b/nuxt-frontend/assets/images/ios-app-development/development/design.webp differ diff --git a/nuxt-frontend/assets/images/ios-app-development/development/development.webp b/nuxt-frontend/assets/images/ios-app-development/development/development.webp index 5fc9413ed..ea87f5f53 100644 Binary files a/nuxt-frontend/assets/images/ios-app-development/development/development.webp and b/nuxt-frontend/assets/images/ios-app-development/development/development.webp differ diff --git a/nuxt-frontend/assets/images/ios-app-development/development/maintenance.webp b/nuxt-frontend/assets/images/ios-app-development/development/maintenance.webp index 7c993067f..7459a185e 100644 Binary files a/nuxt-frontend/assets/images/ios-app-development/development/maintenance.webp and b/nuxt-frontend/assets/images/ios-app-development/development/maintenance.webp differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_1-1600w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_1-1600w.webp deleted file mode 100644 index 8997e3511..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_1-1600w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_1-400w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_1-400w.webp deleted file mode 100644 index 94ce2a2ae..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_1-400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_1-800w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_1-800w.webp deleted file mode 100644 index 763ddc2d1..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_1-800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_10-1600w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_10-1600w.webp deleted file mode 100644 index 7ba7ef192..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_10-1600w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_10-400w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_10-400w.webp deleted file mode 100644 index 55a8feb84..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_10-400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_10-800w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_10-800w.webp deleted file mode 100644 index 0915fb983..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_10-800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_11-1600w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_11-1600w.webp deleted file mode 100644 index 26a20cd98..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_11-1600w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_11-400w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_11-400w.webp deleted file mode 100644 index a381aebfe..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_11-400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_11-800w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_11-800w.webp deleted file mode 100644 index 4e6e20c3d..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_11-800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_12-1600w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_12-1600w.webp deleted file mode 100644 index 7a2937882..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_12-1600w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_12-400w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_12-400w.webp deleted file mode 100644 index fa9b8cd36..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_12-400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_12-800w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_12-800w.webp deleted file mode 100644 index 835473191..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_12-800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_2-1600w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_2-1600w.webp deleted file mode 100644 index 605488305..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_2-1600w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_2-400w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_2-400w.webp deleted file mode 100644 index 405ea729c..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_2-400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_2-800w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_2-800w.webp deleted file mode 100644 index d149c4942..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_2-800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_3-1600w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_3-1600w.webp deleted file mode 100644 index 44983e94e..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_3-1600w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_3-400w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_3-400w.webp deleted file mode 100644 index 52210d5cc..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_3-400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_3-800w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_3-800w.webp deleted file mode 100644 index 40ff8cd4d..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_3-800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_4-1600w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_4-1600w.webp deleted file mode 100644 index d3e86e62e..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_4-1600w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_4-400w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_4-400w.webp deleted file mode 100644 index ac41c93b3..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_4-400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_4-800w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_4-800w.webp deleted file mode 100644 index d237816fa..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_4-800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_5-1600w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_5-1600w.webp deleted file mode 100644 index e4eb547e2..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_5-1600w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_5-400w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_5-400w.webp deleted file mode 100644 index ed7e6c1f1..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_5-400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_5-800w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_5-800w.webp deleted file mode 100644 index ba7e57100..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_5-800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_6-1600w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_6-1600w.webp deleted file mode 100644 index 5c141ece9..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_6-1600w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_6-400w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_6-400w.webp deleted file mode 100644 index 67bc74860..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_6-400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_6-800w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_6-800w.webp deleted file mode 100644 index d644572ea..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_6-800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_7-1600w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_7-1600w.webp deleted file mode 100644 index 77ef8ab86..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_7-1600w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_7-400w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_7-400w.webp deleted file mode 100644 index 08603df7e..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_7-400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_7-800w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_7-800w.webp deleted file mode 100644 index b6c6495a0..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_7-800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_8-1600w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_8-1600w.webp deleted file mode 100644 index a38e8275e..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_8-1600w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_8-400w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_8-400w.webp deleted file mode 100644 index 05f5ee22e..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_8-400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_8-800w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_8-800w.webp deleted file mode 100644 index ed9492323..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_8-800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_9-1600w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_9-1600w.webp deleted file mode 100644 index cceac91b6..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_9-1600w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_9-400w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_9-400w.webp deleted file mode 100644 index da8f4fe8a..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_9-400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/life/jobs_canopas_life_9-800w.webp b/nuxt-frontend/assets/images/life/jobs_canopas_life_9-800w.webp deleted file mode 100644 index f47a6f5de..000000000 Binary files a/nuxt-frontend/assets/images/life/jobs_canopas_life_9-800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_1_400w.webp b/nuxt-frontend/assets/images/perks/jobs_canopas_perks_1_400w.webp deleted file mode 100644 index b88b3c5d4..000000000 Binary files a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_1_400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_1_800w.webp b/nuxt-frontend/assets/images/perks/jobs_canopas_perks_1_800w.webp deleted file mode 100644 index 7362cf78d..000000000 Binary files a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_1_800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_2_400w.webp b/nuxt-frontend/assets/images/perks/jobs_canopas_perks_2_400w.webp deleted file mode 100644 index 70e75a8d9..000000000 Binary files a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_2_400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_2_800w.webp b/nuxt-frontend/assets/images/perks/jobs_canopas_perks_2_800w.webp deleted file mode 100644 index cfb03b9a5..000000000 Binary files a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_2_800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_3_400w.webp b/nuxt-frontend/assets/images/perks/jobs_canopas_perks_3_400w.webp deleted file mode 100644 index 58762c0a4..000000000 Binary files a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_3_400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_3_800w.webp b/nuxt-frontend/assets/images/perks/jobs_canopas_perks_3_800w.webp deleted file mode 100644 index 8a6212fec..000000000 Binary files a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_3_800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_4_400w.webp b/nuxt-frontend/assets/images/perks/jobs_canopas_perks_4_400w.webp deleted file mode 100644 index f80872aa5..000000000 Binary files a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_4_400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_4_800w.webp b/nuxt-frontend/assets/images/perks/jobs_canopas_perks_4_800w.webp deleted file mode 100644 index d8dd46161..000000000 Binary files a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_4_800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_5_400w.webp b/nuxt-frontend/assets/images/perks/jobs_canopas_perks_5_400w.webp deleted file mode 100644 index f60c6caa1..000000000 Binary files a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_5_400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_5_800w.webp b/nuxt-frontend/assets/images/perks/jobs_canopas_perks_5_800w.webp deleted file mode 100644 index e75a7f58b..000000000 Binary files a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_5_800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_6_400w.webp b/nuxt-frontend/assets/images/perks/jobs_canopas_perks_6_400w.webp deleted file mode 100644 index 57c231861..000000000 Binary files a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_6_400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_6_800w.webp b/nuxt-frontend/assets/images/perks/jobs_canopas_perks_6_800w.webp deleted file mode 100644 index eff7488cd..000000000 Binary files a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_6_800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_7_400w.webp b/nuxt-frontend/assets/images/perks/jobs_canopas_perks_7_400w.webp deleted file mode 100644 index ac9e8a033..000000000 Binary files a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_7_400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_7_800w.webp b/nuxt-frontend/assets/images/perks/jobs_canopas_perks_7_800w.webp deleted file mode 100644 index 4d08acfec..000000000 Binary files a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_7_800w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_8_400w.webp b/nuxt-frontend/assets/images/perks/jobs_canopas_perks_8_400w.webp deleted file mode 100644 index 36f09ced6..000000000 Binary files a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_8_400w.webp and /dev/null differ diff --git a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_8_800w.webp b/nuxt-frontend/assets/images/perks/jobs_canopas_perks_8_800w.webp deleted file mode 100644 index d8db230dc..000000000 Binary files a/nuxt-frontend/assets/images/perks/jobs_canopas_perks_8_800w.webp and /dev/null differ diff --git a/nuxt-frontend/components/about/HowItAllStartedSection.vue b/nuxt-frontend/components/about/HowItAllStartedSection.vue index e2b36e0a8..750df061b 100644 --- a/nuxt-frontend/components/about/HowItAllStartedSection.vue +++ b/nuxt-frontend/components/about/HowItAllStartedSection.vue @@ -26,8 +26,8 @@ index == activeIndex ? 'v2-canopas-gradient-text' : index < activeIndex - ? 'text-black-core/[0.2]' - : 'text-black-core/[0.6]' + ? 'text-black-core/[0.2]' + : 'text-black-core/[0.6]' " class="text-[1.5rem] leading-[2.5rem] xl:text-[1.875rem] xl:leading-[2.812rem] font-inter-medium hover:bg-clip-text hover:text-transparent hover:from-[#FF835B] hover:to-[#F2709C] hover:bg-gradient-[270.11deg]" @click="slide(index, story)" diff --git a/nuxt-frontend/components/contributions/GithubContribution.vue b/nuxt-frontend/components/contributions/GithubContribution.vue index 86a14b630..5dc56814b 100644 --- a/nuxt-frontend/components/contributions/GithubContribution.vue +++ b/nuxt-frontend/components/contributions/GithubContribution.vue @@ -313,7 +313,7 @@ export default { language: "Kotlin", color: "bg-[#A97BFF]", forks: "02", - title: "Cpompose CountryPicker", + title: "Compose CountryPicker", description: "Country code bottomsheet picker in Jetpack Compose with Search functionality...", stars: "50", diff --git a/nuxt-frontend/components/flutter-app-development/BlogSection.vue b/nuxt-frontend/components/flutter-app-development/BlogSection.vue new file mode 100644 index 000000000..fe9b6369b --- /dev/null +++ b/nuxt-frontend/components/flutter-app-development/BlogSection.vue @@ -0,0 +1,224 @@ + + + diff --git a/nuxt-frontend/components/flutter-app-development/CtaSection.vue b/nuxt-frontend/components/flutter-app-development/CtaSection.vue new file mode 100644 index 000000000..ce95589bb --- /dev/null +++ b/nuxt-frontend/components/flutter-app-development/CtaSection.vue @@ -0,0 +1,67 @@ + + + diff --git a/nuxt-frontend/components/flutter-app-development/CtaSection2.vue b/nuxt-frontend/components/flutter-app-development/CtaSection2.vue new file mode 100644 index 000000000..5141c6269 --- /dev/null +++ b/nuxt-frontend/components/flutter-app-development/CtaSection2.vue @@ -0,0 +1,62 @@ + + + + diff --git a/nuxt-frontend/components/flutter-app-development/DevelopmentSection.vue b/nuxt-frontend/components/flutter-app-development/DevelopmentSection.vue index 48a4aa4d4..301de4e53 100644 --- a/nuxt-frontend/components/flutter-app-development/DevelopmentSection.vue +++ b/nuxt-frontend/components/flutter-app-development/DevelopmentSection.vue @@ -1,27 +1,25 @@ - diff --git a/nuxt-frontend/components/home-new/HomeIndex.vue b/nuxt-frontend/components/home-new/HomeIndex.vue index 2b440cbc3..43c7b1f6b 100644 --- a/nuxt-frontend/components/home-new/HomeIndex.vue +++ b/nuxt-frontend/components/home-new/HomeIndex.vue @@ -35,32 +35,32 @@ import LandingSection from "@/components/home-new/LandingSection.vue"; import { elementInViewPort } from "@/utils.js"; import { defineAsyncComponent } from "vue"; -const CaseStudy = defineAsyncComponent(() => - import("@/components/home-new/CaseStudy.vue"), +const CaseStudy = defineAsyncComponent( + () => import("@/components/home-new/CaseStudy.vue"), ); -const ServiceSection = defineAsyncComponent(() => - import("@/components/home-new/ServiceSection.vue"), +const ServiceSection = defineAsyncComponent( + () => import("@/components/home-new/ServiceSection.vue"), ); -const ServiceSectionMobile = defineAsyncComponent(() => - import("@/components/home-new/ServiceSectionMobile.vue"), +const ServiceSectionMobile = defineAsyncComponent( + () => import("@/components/home-new/ServiceSectionMobile.vue"), ); -const ContributionSection = defineAsyncComponent(() => - import("@/components/home-new/ContributionSection.vue"), +const ContributionSection = defineAsyncComponent( + () => import("@/components/home-new/ContributionSection.vue"), ); -const ContributionSectionMobile = defineAsyncComponent(() => - import("@/components/home-new/ContributionSectionMobile.vue"), +const ContributionSectionMobile = defineAsyncComponent( + () => import("@/components/home-new/ContributionSectionMobile.vue"), ); -const ClientReview = defineAsyncComponent(() => - import("@/components/home-new/ClientReviewSection.vue"), +const ClientReview = defineAsyncComponent( + () => import("@/components/home-new/ClientReviewSection.vue"), ); -const CTASection = defineAsyncComponent(() => - import("@/components/mobile-app-development/CTASection2.vue"), +const CTASection = defineAsyncComponent( + () => import("@/components/mobile-app-development/CTASection2.vue"), ); -const BlogSection = defineAsyncComponent(() => - import("@/components/home-new/BlogSection.vue"), +const BlogSection = defineAsyncComponent( + () => import("@/components/home-new/BlogSection.vue"), ); -const NewFooter = defineAsyncComponent(() => - import("@/components/partials/NewFooter.vue"), +const NewFooter = defineAsyncComponent( + () => import("@/components/partials/NewFooter.vue"), ); export default { diff --git a/nuxt-frontend/components/home-new/UserReview.vue b/nuxt-frontend/components/home-new/UserReview.vue index 9f8460020..30820ab32 100644 --- a/nuxt-frontend/components/home-new/UserReview.vue +++ b/nuxt-frontend/components/home-new/UserReview.vue @@ -193,8 +193,8 @@ export default { }; }, components: { - LottieAnimation: defineAsyncComponent(() => - import("@/components/utils/LottieAnimation.vue"), + LottieAnimation: defineAsyncComponent( + () => import("@/components/utils/LottieAnimation.vue"), ), }, mounted() { diff --git a/nuxt-frontend/components/ios-app-development/BlogSection.vue b/nuxt-frontend/components/ios-app-development/BlogSection.vue index badb7be69..69c955d52 100644 --- a/nuxt-frontend/components/ios-app-development/BlogSection.vue +++ b/nuxt-frontend/components/ios-app-development/BlogSection.vue @@ -1,9 +1,9 @@ - diff --git a/nuxt-frontend/pages/services.vue b/nuxt-frontend/pages/services.vue index 482ce969b..f29a50bc4 100644 --- a/nuxt-frontend/pages/services.vue +++ b/nuxt-frontend/pages/services.vue @@ -5,7 +5,7 @@