-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathjoin.html
More file actions
155 lines (128 loc) · 6.55 KB
/
join.html
File metadata and controls
155 lines (128 loc) · 6.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE html>
<html>
<head>
<title>Join Milano Tech Scene Community</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-social/4.9.1/bootstrap-social.min.css" rel="stylesheet">
<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.0/sweetalert.min.css" rel="stylesheet">
<link href="css/agency.css" rel="stylesheet" type="text/css" />
<link href="css/mts.css" rel="stylesheet" type="text/css" />
<link href="css/narros.css" rel="stylesheet" type="text/css" />
<!-- Custom Fonts -->
<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css" />
<link href="http://fonts.googleapis.com/css?family=Dosis:200,300,400,500,600,700,800" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700" rel="stylesheet" type="text/css" />
<link href="img/mts.png" rel="icon" type="image/png" />
</head>
<body>
<div class="container">
<div class="header clearfix">
<nav>
<ul class="nav nav-pills pull-right">
<li role="presentation"><a href="http://medium.com/milano-tech-scene">Blog</a></li>
<li role="presentation"><a href="http://twitter.com/milanotechscene">Twitter</a></li>
</ul>
</nav>
<a href="index.html"><h3 class="text-muted">Milano Tech Scene</h3></a>
<!-- <a class="navbar-brand page-scroll" href="#home"><img id="logo" src="img/mts.svg" alt="mts logo"><span>milano tech scene</span></a> -->
</div>
<div class="jumbotron">
<h2>Milano Tech Scene</h2>
<h4>The single point of access for all Tech communities in Milano</h4>
</div>
<div class="row">
<div class="col-md-3">
</div>
<div class="col-md-6">
<form class="form-horizontal" role="form" data-bind="submit: signup">
<div class="form-group" >
<input data-bind="value: email, valueUpdate:'input'" id="email" type="email" class="input-lg" placeholder="Email"/>
</div>
<div class="form-group">
<input data-bind="value: firstName, valueUpdate:'input'" id="firstName" class="input-lg" placeholder="First Name"/>
</div>
<div class="form-group">
<input data-bind="value: lastName, valueUpdate:'input'" id="lastName" class="input-lg" placeholder="Last Name"/>
</div>
<div class="form-group">
<button id="form-submit" type="submit" data-bind="enable: email.isValid()" class="btn btn-lg btn-primary">Signup</button>
</div>
</form>
</div>
</div>
<div class="row marketing">
<div class="col-lg-6">
<h4>Slack</h4>
<p>We geek around on a dedicated slack team. Is open for everyone. Behave. </p>
<h4>Calendar</h4>
<p>All events conveniently wrapped up in one calendar</p>
</div>
<div class="col-lg-6">
<h4>Stay up to date</h4>
<p>As we grow, we'll send occasional newsletters about activities, events or to hear your opinion</p>
<h4>Tech Firm</h4>
<p>We want to help the conversation between developers and companies. <a href="mailto:staff@milanotechscene.it">Write us directly</a></p>
</div>
</div>
</div>
<footer class="footer">
<p>© Milano Tech Scene 2015</p>
</footer>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.0/sweetalert.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.3.0/knockout-min.js"></script>
<script src="js/knockout.validation.min.js"></script>
<script src="js/axios.min.js"></script>
<script type="text/javascript">
var AppViewModel = function () {
var self = this;
self.email = ko.observable("").extend({ required: true, email: true });
self.firstName = ko.observable("").extend({ required: true });
self.lastName = ko.observable("").extend({ required: true });
self.name = ko.computed(function() {
return this.firstName() + " " + this.lastName();
}, this);
self.signup = function() {
self.send();
Intercom('boot', {
app_id: "h5m9iozj",
email: self.email(),
firstname: self.firstName(),
lastname: self.lastName(),
name: self.name()
});
}
self.send = function() {
axios.post('https://invito.apispark.net/v1/signups', {
email: self.email(),
owner: '55d5e49e4b6552892c51e552',
first_name: self.firstName(),
last_name: self.lastName(),
name: self.name(),
})
.then(function (response) {
console.log(response);
swal("Welcome to Milano Tech Scene", "Enjoy the networking", "success")
})
.catch(function (response) {
console.log(response);
swal("Oops", "Something went wrong", "warning")
});
}
}
ko.applyBindings(new AppViewModel());
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-64235722-1', 'auto');
ga('send', 'pageview');
</script>
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w. Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/h5m9iozj';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})()</script>
</body>
</html>