-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_layout.jade
183 lines (147 loc) · 6.73 KB
/
_layout.jade
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
!!!
html(lang="en")
head
meta(charset="utf-8")
meta(http-equiv="X-UA-Compatible", content="IE=edge,chrome=1")
title Adefy
meta(name="description", content="Adefy NRM ads give media agencies the flexibility they need to push the limits of mobile advertising.")
meta(name="author", content="Adefy")
meta(name="keywords", content="mobile advertising, ads, innovation, startups, vienna, austria")
meta(name="viewport", content="width=device-width, initial-scale=1")
meta(property="og:title", content="Adefy")
meta(property="og:type", content="website")
meta(property="og:image", content="https://www.adefy.com/img/adefy_logo_b_square.png")
meta(property="og:url", content="https://www.adefy.com")
meta(property="og:description", content="Adefy NRM ads give media agencies the flexibility they need to push the limits of mobile advertising.")
| <!--[if IE]>
link(rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon")
| <![endif]-->
link(rel="icon" href="/img/favicon.png" type="image/png")
link(rel="stylesheet", href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css")
link(rel="stylesheet", href='//fonts.googleapis.com/css?family=Gudea:400,700,400italic|Oleo+Script')
link(rel="stylesheet", href="/css/reset.css")
link(rel="stylesheet", href="/css/styles.css?wedonthavecacheinvalidation")
link(rel="stylesheet", href="/mediaelement/mediaelementplayer.min.css")
| <!--[if lt IE 9]>
| <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
| <![endif]-->
script(src="//code.jquery.com/jquery-2.0.3.min.js")
body
#contact-us-overlay: #contact-us-form: .inner
h2 Get in touch
h4 <em><a href="mailto:[email protected]" target="_blank">Contact us directly</a></em> or enter your email and we'll get back to you!
input(type="email" id="contact-us-email" placeholder="Enter email")
button.submit Submit
button.gray.close Close
span.success-text
span.error-text
header
.center
.menu
a.logo(href="/") Adefy
a(href="/") Home
a(href="/technology") Technology
//- a(href="/publishers") Publishers
a(href="/advertisers") Media Agencies
a(href="/about") About
a(href="#" onclick="openContactForm()") Contact us
.language
a.button.white(href="#" onclick="openContactForm()") Interested? Get in touch!
#content
!= yield
footer
.center
ul
li
h6 Technology
a(href="/technology#ad-formats") Innovative Formats
a(href="/technology#authoring-tools") Authoring Tools
a(href="/technology#delivery") NRM Customization
li
h6 Media Agencies
a(href="#" onclick="openContactForm()" target="_blank") Get in touch!
a(href="/sales_brochure.pdf" onclick="ga('send', 'event', 'Download', 'PDF', 'Sales Brochure')" target="_blank") Download brochure
//- li
h6 Publishers
a(href="/publishers#monetize") Monetize
a(href="/publishers#inventory") Untapped Inventory
a(href="/publishers#floor-limits") Earn What You Want
a(href="https://developer.adefy.com" target="_blank") Developer Resources
a(href="https://developer.adefy.com/sdk" target="_blank") SDK Downloads
li
h6 Legal
a(href="/privacy") Privacy
a(href="/ToS") Terms & Conditions
a(href="/imprint") Imprint
li
h6 Help center
a(href="/about") About
a(href="#" onclick="openContactForm()") Contact Us
a(href="https://developer.adefy.com" target="_blank") Developer Center
hr
.center
.menu
a(href="/") Home
a(href="/technology") Technology
// a(href="/publishers") Publishers
a(href="/advertisers") Media Agencies
a(href="/about") About
a(href="#" onclick="openContactForm()") Contact us
a(href="https://twitter.com/AdefyMobile" target="_blank"): i.fa.fa-twitter
.language
a.button.white(href="#" onclick="openContactForm()") Interested? Get in touch!
.center
p.copyright
| Adefy ™ by Spectrum IT Solutions GmbH 2013-2014
script(src="/js/retina-1.1.0.min.js")
script(src="/mediaelement/mediaelement-and-player.min.js")
script(src="/js/demo_loader.js")
script(src="/js/ace/ace.js")
script(src="/_components/adefyre/build/are-prod-full.min.js")
script(src="/_components/adefyjs/build/ajs-prod.min.js")
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-37947508-7', 'adefy.com');
ga('send', 'pageview');
$("video").mediaelementplayer({ alwaysShowControls: true });
//- Contact form
$(document).ready(function (){
var contactFormVisible = false;
window.openContactForm = function() {
if(contactFormVisible == true) { return; }
$("#contact-us-overlay").fadeIn(400, function(){
$("#contact-us-form").show("fast");
contactFormVisible = true;
$("#contact-us-form button.submit, #contact-us-form input").removeAttr("disabled", "disabled");
$("#contact-us-form input").val("");
});
};
$("#contact-us-form button.submit").click(function() {
var email = $("#contact-us-form input").val();
$.ajax({
type: "GET",
url: "https://www.adefy.com/bounce_email",
data: { email: encodeURIComponent(email) },
success: function() {
$("#contact-us-form .success-text").text("Submitted!");
$("#contact-us-form .error-text").text("");
ga('send', 'event', 'Submit', 'Contact', 'Email');
$("#contact-us-form button.submit, #contact-us-form input").attr("disabled", "disabled");
},
error: function() {
$("#contact-us-form .success-text").text("");
$("#contact-us-form .error-text").text("An error occured ;(");
}
});
});
$("#contact-us-form button.close").click(function() {
if(contactFormVisible == false) { return; }
$("#contact-us-form").hide(0, function(){
$("#contact-us-overlay").fadeOut(400);
contactFormVisible = false;
});
});
});