Skip to content

Commit 3a0aae3

Browse files
hemangsksils
authored andcommitted
app.js: Add Home directive
This moves plans json object into Home directive.
1 parent b9fb34c commit 3a0aae3

1 file changed

Lines changed: 66 additions & 57 deletions

File tree

assets/app.js

Lines changed: 66 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -78,63 +78,72 @@ app.directive('team', function () {
7878
controllerAs: "dc"
7979
}
8080
})
81+
app.directive('home', function () {
82+
return{
83+
restrict: 'E',
84+
templateUrl: '/partials/tabs/home.html',
85+
controller: function() {
86+
self = this
87+
self.plans = [
88+
{
89+
"title" : "Monthly Quality Sessions",
90+
"subtitle": "Level up - one step every month",
91+
"benefits" : [
92+
"Build a better workflow incrementally",
93+
"Start learning, stop being dependent",
94+
"Get the right tools for your team",
95+
],
96+
"features" : [
97+
"Talk through your problems monthly",
98+
"A monthly summary of your main issues",
99+
"3 recommendations on solutions",
100+
"Follow up at the end of the month",
101+
"Recurring ROI with every session"
102+
],
103+
"price": "500eur/mon",
104+
"form": `<a href="https://viperdev.typeform.com/to/fABj8j" target="_blank">Get Started</a>`
105+
},
106+
{
107+
"title" : "Boost Your Open Source Project",
108+
"subtitle": "Partner with us as a long term investment",
109+
"benefits" : [
110+
"Get great developers on your project",
111+
"Improve quality and save money",
112+
"Expand technology choices",
113+
"Give back and increase trust",
114+
"Strengthen your tech brand",
115+
],
116+
"features" : [
117+
"A dedicated community expert works with you in your channels",
118+
"Automated newcomer invitation and onboarding",
119+
"Social media promotion",
120+
"Includes Monthly Quality Sessions",
121+
],
122+
"price": "2000eur/mon/project<br>2000eur setup/project",
123+
"form": `<a href="https://viperdev.typeform.com/to/AKlsXq" target="_blank">Get Started</a>`
124+
},
125+
{
126+
"title" : "Custom",
127+
"subtitle": "You thought of something we're perfect for?",
128+
"benefits" : [
129+
"Improve code quality",
130+
"Improve workflows",
131+
"Develop faster",
132+
],
133+
"features" : [
134+
"Workshops on premises",
135+
"Consulting on premises",
136+
"Limitless possibilities",
137+
"Create workflow automation"
138+
],
139+
"price": "On Request",
140+
"form": "<a href=\"mailto:interest@viperdev.io\">Mail us</a>"
141+
}
142+
]
143+
},
144+
controllerAs: 'qc'
145+
}
146+
})
81147
app.controller('Data', ['$http', function($http , $scope){
82148
self = this;
83-
84-
self.plans = [
85-
{
86-
"title" : "Monthly Quality Sessions",
87-
"subtitle": "Level up - one step every month",
88-
"benefits" : [
89-
"Build a better workflow incrementally",
90-
"Start learning, stop being dependent",
91-
"Get the right tools for your team",
92-
],
93-
"features" : [
94-
"Talk through your problems monthly",
95-
"A monthly summary of your main issues",
96-
"3 recommendations on solutions",
97-
"Follow up at the end of the month",
98-
"Recurring ROI with every session"
99-
],
100-
"price": "500eur/mon",
101-
"form": `<a href="https://viperdev.typeform.com/to/fABj8j" target="_blank">Get Started</a>`
102-
},
103-
{
104-
"title" : "Boost Your Open Source Project",
105-
"subtitle": "Partner with us as a long term investment",
106-
"benefits" : [
107-
"Get great developers on your project",
108-
"Improve quality and save money",
109-
"Expand technology choices",
110-
"Give back and increase trust",
111-
"Strengthen your tech brand",
112-
],
113-
"features" : [
114-
"A dedicated community expert works with you in your channels",
115-
"Automated newcomer invitation and onboarding",
116-
"Social media promotion",
117-
"Includes Monthly Quality Sessions",
118-
],
119-
"price": "2000eur/mon/project<br>2000eur setup/project",
120-
"form": `<a href="https://viperdev.typeform.com/to/AKlsXq" target="_blank">Get Started</a>`
121-
},
122-
{
123-
"title" : "Custom",
124-
"subtitle": "You thought of something we're perfect for?",
125-
"benefits" : [
126-
"Improve code quality",
127-
"Improve workflows",
128-
"Develop faster",
129-
],
130-
"features" : [
131-
"Workshops on premises",
132-
"Consulting on premises",
133-
"Limitless possibilities",
134-
"Create workflow automation"
135-
],
136-
"price": "On Request",
137-
"form": "<a href=\"mailto:interest@viperdev.io\">Mail us</a>"
138-
}
139-
]
140149
}])

0 commit comments

Comments
 (0)