Commit 2d388a6103b175608f108b687b8b35318e71cca0
1 parent
f2e2b05ca5
Exists in
master
content change
Showing
7 changed files
with
66 additions
and
56 deletions
Show diff stats
css/custom.css
images/1.2.png
images/2.2.png
images/3.2.png
index.html
... | ... | @@ -68,8 +68,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= |
68 | 68 | <body ng-controller="mainController" id="front"> |
69 | 69 | <div style="font-size:24px;position: fixed; top:50%; right:0; width: 70px;height: 40px;background-color: #303030;border-top-left-radius: 25px; border-bottom-left-radius: 25px;border: 2px solid #303030; z-index: 999; padding: 5px;text-align: center;" > |
70 | 70 | <!-- <button style="font-size:24px;position: fixed; width: 70px;height: 40px;background-color: #303030;border-top-left-radius: 25px; border-bottom-left-radius: 25px;border: 2px solid #303030;"> --> |
71 | - <a href="https://wa.me/918283056881" target="_blank" style= "color:#fff;cursor: pointer;"> <i class="fa fa-whatsapp" ></i> | |
72 | - </a> | |
71 | + <i class="fa fa-whatsapp" ng-click="click()" ></i> | |
73 | 72 | <!-- </button> --> |
74 | 73 | </div> |
75 | 74 | <!-- Google Tag Manager (noscript) --> | ... | ... |
pages/Home.html
... | ... | @@ -27,7 +27,9 @@ |
27 | 27 | <div class="imageTxt">Shortlisted startups get to network with fellow startups and founders.</div> |
28 | 28 | </div> |
29 | 29 | </div> |
30 | - | |
30 | + <div class="apply-btn1"> | |
31 | + <button class="btn submit-button" style="outline: none;" value="Apply" ng-click="apply()" >REGISTER</button> | |
32 | + </div> | |
31 | 33 | </div> |
32 | 34 | <div class="col-xs-12 happen-citymeetup"> |
33 | 35 | <div class="happen-meetup"> |
... | ... | @@ -95,7 +97,7 @@ |
95 | 97 | </div> |
96 | 98 | </div> |
97 | 99 | <div class="apply-btn"> |
98 | - <button class="btn submit-button" style="outline: none;" value="Apply" ng-click="apply()" >PROCEED</button> | |
100 | + <button class="btn submit-button" style="outline: none;" value="Apply" ng-click="apply()" >REGISTER</button> | |
99 | 101 | </div> |
100 | 102 | </div> |
101 | 103 | </form> | ... | ... |
script.js
... | ... | @@ -413,6 +413,12 @@ |
413 | 413 | |
414 | 414 | } |
415 | 415 | |
416 | + $scope.click=function(){ | |
417 | + //Analytics.trackEvent('register', 'click', 'Registration'); | |
418 | + let redirectUrl = "https://wa.me/918283056881"; | |
419 | + window.open(redirectUrl,"_blank") | |
420 | + } | |
421 | + | |
416 | 422 | // $scope.data.city = ''; |
417 | 423 | $scope.watch = function(value){ |
418 | 424 | //document.getElementById("ahmedabad").src = ""; |
... | ... | @@ -826,61 +832,59 @@ |
826 | 832 | headers: {} |
827 | 833 | }).then(function mySuccess(paymentResult) { |
828 | 834 | $scope.loading = false; |
829 | - $("p").html(paymentResult.data.data) | |
835 | + //$("p").html(paymentResult.data.data) | |
830 | 836 | }, function myError(error) { |
831 | 837 | }); |
832 | 838 | } |
833 | - // var i = 0; | |
834 | - // $scope.payingAmnt = $scope.payingAmnt * 100; | |
835 | - // var options = { | |
836 | - // //"key": "rzp_test_YwHsVFiDIQ2WUQ", | |
837 | - // "key": "rzp_live_mkmCb4FkstuWaS", | |
838 | - // "amount": $scope.payingAmnt, | |
839 | - | |
840 | - // "name": "Startup Jalsa", | |
841 | - // "description":"amount", | |
842 | - // "currency": "INR", | |
843 | - // "status": "done", | |
844 | - | |
845 | - // "prefill": { | |
846 | - // "email": $scope.detail.email, | |
847 | - // "contact": $scope.detail.phone | |
848 | - // }, | |
849 | - | |
850 | - // "theme": { | |
851 | - // "color": "#2196f3 ", | |
852 | - // "image_padding":"NO" | |
853 | - // }, | |
854 | - // "modal": { | |
855 | - // "ondismiss": function(){ | |
856 | - // } | |
857 | - // }, | |
858 | - // "handler": function (response){ | |
859 | - // createPayment(response); | |
860 | - // } | |
861 | - // }; | |
862 | - // var rzp1 = new Razorpay(options); | |
863 | - // rzp1.open(); | |
864 | - // $scope.paymentResponse = {}; | |
865 | - // function createPayment(response){ | |
866 | - // console.log("response12333333",response) | |
867 | - // $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | |
868 | - // $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; | |
869 | - // $scope.paymentResponse.amount = data.amount; | |
870 | - // $scope.paymentResponse.currency = "INR"; | |
871 | - // $scope.paymentResponse.status = $scope.paymentResult.data.status; | |
872 | - // console.log("$scope.paymentResponse.amount=====",$scope.paymentResponse.amount) | |
873 | - // $http({ | |
874 | - // method: 'PUT', | |
875 | - // url: BASE_URL+'/payments/'+$scope.paymentResult.data.id, | |
876 | - // data: $scope.paymentResponse, | |
877 | - // headers: {} | |
878 | - // }).then(function mySuccess(searchResult) { | |
879 | - // console.log("searchResult",searchResult) | |
880 | - // $location.path("/confirmation") | |
881 | - // }, function myError(error) { | |
882 | - // }); | |
883 | - // } | |
839 | + var i = 0; | |
840 | + $scope.payingAmnt = $scope.payingAmnt * 100; | |
841 | + var options = { | |
842 | + //"key": "rzp_test_YwHsVFiDIQ2WUQ", | |
843 | + "key": "rzp_live_mkmCb4FkstuWaS", | |
844 | + "amount": $scope.payingAmnt, | |
845 | + | |
846 | + "name": "Startup Jalsa", | |
847 | + "description":"amount", | |
848 | + "currency": "INR", | |
849 | + "status": "done", | |
850 | + | |
851 | + "prefill": { | |
852 | + "email": $scope.detail.email, | |
853 | + "contact": $scope.detail.phone | |
854 | + }, | |
855 | + | |
856 | + "theme": { | |
857 | + "color": "#2196f3 ", | |
858 | + "image_padding":"NO" | |
859 | + }, | |
860 | + "modal": { | |
861 | + "ondismiss": function(){ | |
862 | + } | |
863 | + }, | |
864 | + "handler": function (response){ | |
865 | + createPayment(response); | |
866 | + } | |
867 | + }; | |
868 | + var rzp1 = new Razorpay(options); | |
869 | + rzp1.open(); | |
870 | + $scope.paymentResponse = {}; | |
871 | + function createPayment(response){ | |
872 | + $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | |
873 | + $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; | |
874 | + $scope.paymentResponse.amount = data.amount; | |
875 | + $scope.paymentResponse.currency = "INR"; | |
876 | + $scope.paymentResponse.status = $scope.paymentResult.data.status; | |
877 | + $http({ | |
878 | + method: 'PUT', | |
879 | + url: BASE_URL+'/payments/'+$scope.paymentResult.data.id, | |
880 | + data: $scope.paymentResponse, | |
881 | + headers: {} | |
882 | + }).then(function mySuccess(searchResult) { | |
883 | + Analytics.trackEvent('register', 'click', 'Registration'); | |
884 | + $location.path("/confirm") | |
885 | + }, function myError(error) { | |
886 | + }); | |
887 | + } | |
884 | 888 | //} |
885 | 889 | |
886 | 890 | }, function myError(error) { |
... | ... | @@ -1010,6 +1014,7 @@ |
1010 | 1014 | data: $scope.paymentResponse, |
1011 | 1015 | headers: {} |
1012 | 1016 | }).then(function mySuccess(searchResult) { |
1017 | + Analytics.trackEvent('register', 'click', 'Registration'); | |
1013 | 1018 | $location.path("/confirm") |
1014 | 1019 | }, function myError(error) { |
1015 | 1020 | }); | ... | ... |