-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
316 lines (260 loc) · 15.2 KB
/
footer.php
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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
<?php ?>
<footer>
<div class="area">
<div class="footer-nav-1">
<div class="icon small">
<img src="<?php echo get_template_directory_uri(); ?>/img/icons/home.svg" loading="lazy" />
</div>
<nav>
<?php wp_nav_menu( array( 'theme_location' => 'menu-footer' ) ); ?>
</nav>
</div>
<div class="footer-nav-2">
<div class="icon small">
<img src="<?php echo get_template_directory_uri(); ?>/img/icons/features.svg" loading="lazy" />
</div>
<nav>
<ul>
<li><a href="<?php echo home_url(); ?>/features/">Features</a>
<?php wp_nav_menu( array( 'theme_location' => 'shapedao-features-menu' ) ); ?>
<?php wp_nav_menu( array( 'theme_location' => 'members-features-menu' ) ); ?>
<?php wp_nav_menu( array( 'theme_location' => 'reward-features-menu' ) ); ?>
</li>
</ul>
</nav>
</div>
<div class="footer-newsletter flex gap-20">
<div class="icon small">
<img src="<?php echo get_template_directory_uri(); ?>/img/icons/message.svg" loading="lazy" />
</div>
<div class="col-4">
<p class="text-22 white">Subscribe to our Newsletter</p>
<p class="no-margin-bottom">Get exclusive access to Hypha’s latest news and announcements as a Hypha Insider. Subscribe now and stay ahead of the curve.</p>
</div>
<div class="col-8">
<form autocomplete="false" role="form" method="post" action="https://mautic.hypha.earth/form/submit?formId=9" id="mauticform_newslettersignup2023" data-mautic-form="newslettersignup2023" enctype="multipart/form-data">
<div class="mauticform-error" id="mauticform_newslettersignup2023_error"></div>
<div class="mauticform-message" id="mauticform_newslettersignup2023_message"></div>
<div class="mauticform-innerform" data-mautic-form-page="1">
<div class="pre-button">
<div class="pre-checkbox">
<div id="mauticform_newslettersignup2023_email" data-validate="email" data-validation-type="email" class="mauticform-row mauticform-email mauticform-field-1 mauticform-required">
<label id="mauticform_label_newslettersignup2023_email" for="mauticform_input_newslettersignup2023_email" class="mauticform-label">Email</label>
<input id="mauticform_input_newslettersignup2023_email" name="mauticform[email]" value="" class="mauticform-input" type="email">
<span class="mauticform-errormsg" style="display: none;">This is required.</span>
</div>
<div id="mauticform_newslettersignup2023_first_name" data-validate="first_name" data-validation-type="text" class="mauticform-row mauticform-text mauticform-field-2 mauticform-required">
<label id="mauticform_label_newslettersignup2023_first_name" for="mauticform_input_newslettersignup2023_first_name" class="mauticform-label">First name</label>
<input id="mauticform_input_newslettersignup2023_first_name" name="mauticform[first_name]" value="" class="mauticform-input" type="text">
<span class="mauticform-errormsg" style="display: none;">This is required.</span>
</div>
<div id="mauticform_newslettersignup2023_what_is_5_times_4" data-validate="what_is_5_times_4" data-validation-type="captcha" class="mauticform-row mauticform-text mauticform-field-3 mauticform-required">
<label id="mauticform_label_newslettersignup2023_what_is_5_times_4" for="mauticform_input_newslettersignup2023_what_is_5_times_4" class="mauticform-label">what is 5 times 4?</label>
<input id="mauticform_input_newslettersignup2023_what_is_5_times_4" name="mauticform[what_is_5_times_4]" value="" class="mauticform-input" type="text">
<span class="mauticform-errormsg" style="display: none;">This is required.</span>
</div>
</div>
<div id="mauticform_newslettersignup2023_privacy_consent" data-validate="privacy_consent" data-validation-type="checkboxgrp" class="wrap-area full checkbo">
<div class="mauticform-checkboxgrp-row flex">
<input class="mauticform-checkboxgrp-checkbox" name="mauticform[privacy_consent][]" id="mauticform_checkboxgrp_checkbox_privacy_consent_Agree0" type="checkbox" value="Agree">
<span class="text-12">By submitting this form you agree to our <a href="<?php echo home_url(); ?>/privacy-policy/" target="_blank" class="light-blu">Privacy Policy</a></span>
</div>
<span class="mauticform-errormsg" style="display: none;">This is required.</span>
</div>
</div>
<div class="mauticform-row">
<div id="mauticform_newslettersignup2023_submit" class="mauticform-row mauticform-button-wrapper mauticform-field-5">
<button type="submit" name="mauticform[submit]" id="mauticform_input_newslettersignup2023_submit" value="" class="mauticform-button btn btn-default">Submit</button>
</div>
</div>
</div>
<input type="hidden" name="mauticform[formId]" id="mauticform_newslettersignup2023_id" value="9">
<input type="hidden" name="mauticform[return]" id="mauticform_newslettersignup2023_return" value="">
<input type="hidden" name="mauticform[formName]" id="mauticform_newslettersignup2023_name" value="newslettersignup2023">
</form>
</div>
</div>
<div class="footer-social flex gap-20">
<div class="icon small">
<img src="<?php echo get_template_directory_uri(); ?>/img/icons/community.svg" loading="lazy" />
</div>
<div class="col-4">
<p class="text-22 white">Follow us on our socials</p>
<p>DAO-ify your social media feeds with educational content, exciting events, and more</p>
</div>
<div class="col-8 has-social flex gap-20">
<div class="col-full">
<a class="fot-soc white text-22" href="https://x.com/HyphaDAO" target="_blank">Twitter <img src="<?php echo get_template_directory_uri(); ?>/img/icons/x-logo.svg" /></a>
</div>
<div class="col-full">
<a class="fot-soc white text-22" href="https://www.linkedin.com/company/hypha-dao/" target="_blank">Linkedin <img src="<?php echo get_template_directory_uri(); ?>/img/icons/linkedin.svg" /></a>
</div>
<div class="col-full">
<a class="fot-soc white text-22" href="https://discord.gg/JfM7Tv3MQk" target="_blank">Discord <img src="<?php echo get_template_directory_uri(); ?>/img/icons/discord.svg" /> </a>
</div>
<div class="col-full">
<a class="fot-soc white text-22" href="https://medium.com/hyphadao" target="_blank">Medium <img src="<?php echo get_template_directory_uri(); ?>/img/icons/medium.svg" /></a>
</div>
</div>
</div>
<div class="footer-bottom">
<div class="flex gap-20">
<p>Hypha Genossenschaft, Birkenweg 6, 9490, Vaduz Liechtenstein.</p>
<!--<a href="#">Sitemap XML</a>-->
</div>
<img class="foot-logo" src="<?php echo get_template_directory_uri(); ?>/img/logos/logo-white.svg" />
</div>
</div>
</footer>
<!-- HOME Js -->
<?php if( is_page_template('home-template.php') ) :?>
<script src="<?php echo get_template_directory_uri(); ?>/js/home-features-animations.js" type="text/javascript">
</script>
<?php endif;?>
<!-- carousel JS / HOME / Feature CPT - Group - About Us -->
<?php if( is_page_template('home-template.php') || is_singular( 'feature') || is_page_template('features-category-shape.php') || is_page_template('features-category-engage.php') || is_page_template('features-category-distribute.php') || is_page_template('features-aggregative.php') || is_page_template('about-us.php') || is_singular( 'usecase' ) || is_singular( 'service') ) :?>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery-3-10-1-min.js"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/owl.carousel.js"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/owl.navigation.js"></script>
<?php endif;?>
<!-- DAO Carousel / HOME-->
<?php if( is_page_template('home-template.php') ) :?>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/daoscarousel.js"></script>
<?php endif;?>
<!-- Testimonaial carousel / HOME / use case CPT / services -->
<?php if( is_page_template('home-template.php') || is_singular( 'usecase' ) || is_singular( 'service') ) :?>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/testimonialscarousel.js"></script>
<?php endif;?>
<!-- about-us carousel / HOME -->
<?php if( is_page_template('about-us.php') ) :?>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/timeline-carousel.js"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/teamcarousel.js"></script>
<?php endif;?>
<!-- Global Animations Js / News / pricing plans / education / archives / Group (CPT Category) / About us / Use Cases aggregative -->
<?php if( is_page_template('hypha-news.php')
|| is_page_template('generic-page.php')
|| is_page_template('generic-page-short-header.php')
|| is_page_template('redirect-post-beta.php')
|| is_page_template('lead-form.php')
|| is_page_template('newsletter-sub.php')
|| is_page_template('get-started.php')
|| is_page_template('hypha-education.php')
|| is_post_type_archive('educational')
|| is_tax('section')
|| is_category()
|| is_home()
|| is_single()
|| is_page_template('pricing-plans.php')
|| is_page_template('pricing-dao-builder.php')
|| is_page_template('pricing-ecosystem-builder.php')
|| is_page_template('pricing-developer.php')
|| is_tax('group')
|| is_page_template('features-category-shape.php')
|| is_page_template('features-category-engage.php')
|| is_page_template('features-category-distribute.php')
|| is_page_template('features-aggregative.php')
|| is_page_template('about-us.php')
|| is_page_template('use-cases.php')
|| is_page_template('hyphalab.php')
|| is_page_template('pdf-page-template.php')
|| is_singular( 'service')
|| is_page_template('services-aggregative.php') ) :?>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/global-animations.js"></script>
<?php endif;?>
<!-- DAO builder Js -->
<?php if( is_page_template('pricing-dao-builder.php') ) :?>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/dao-builder.js"></script>
<?php endif;?>
<!-- Ecosystem builder Js -->
<?php if( is_page_template('pricing-ecosystem-builder.php') ) :?>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/ecosystem-builder.js"></script>
<?php endif;?>
<!-- Get Started ACCOUNT Js -->
<?php if( is_page_template('get-started-account.php') ) :?>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/get-started-account.js"></script>
<?php endif;?>
<!-- Get Started CREATE DAO Js -->
<?php if( is_page_template('get-started-create.php') ) :?>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/get-started-create.js"></script>
<?php endif;?>
<!-- Get Started DEVELOPER Js -->
<?php if( is_page_template('get-started-developers.php') ) :?>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/get-started-dev.js"></script>
<?php endif;?>
<!-- Get Started JOIN Js -->
<?php if( is_page_template('get-started-join.php') ) :?>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/get-started-join.js"></script>
<?php endif;?>
<!-- Feature CPT -->
<?php if( is_singular( 'feature') || is_page_template('features-category-shape.php') || is_page_template('features-category-engage.php') || is_page_template('features-category-distribute.php') || is_page_template('features-aggregative.php') ) :?>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/features-carousel.js"></script>
<?php endif;?>
<!-- services -->
<?php if(is_singular( 'service') ):?>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/services.js"></script>
<?php endif;?>
<!-- HOME header text animations -->
<?php if( is_page_template('home-template.php') ) :?>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/animatext.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".anima").animatext({
mode: "words",
speed: 100
});
});
</script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/home-text-animations.js"></script>
<?php endif;?>
<!-- animate cookie banner -->
<script type="text/javascript">
jQuery(document).ready(function($) {
setTimeout(() => {
$(".cky-consent-container").addClass("in")
}, 3000);
});
</script>
<!-- FreeScout BEGIN -->
<?php if (!is_page('create-hypha-account') && !is_page('create-your-dao') && !is_page('join-a-dao')):?>
<script>
var FreeScoutW = {
s: {
"color": "#17294a",
"position": "br",
"locale": "en",
"id": 4231256624
}
};
(function(d, e, s) {
if (d.getElementById("freescout-w")) return;
a = d.createElement(e);
m = d.getElementsByTagName(e)[0];
a.async = 1;
a.id = "freescout-w";
a.src = s;
m.parentNode.insertBefore(a, m)
})(document, "script", "https://help.hypha.earth/modules/enduserportal/js/widget.js?v=1840");
</script>
<?php endif; ?>
<!-- FreeScout END -->
<?php wp_footer();
// This fxn allows plugins to insert themselves/scripts/css/files (right here) into the footer of your website.
// Removing this fxn call will disable all kinds of plugins.
// Move it if you like, but keep it around.
?>
<!-- mautic tracking pixel -->
<script>
(function(w, d, t, u, n, a, m) {
w['MauticTrackingObject'] = n;
w[n] = w[n] || function() {
(w[n].q = w[n].q || []).push(arguments)
}, a = d.createElement(t),
m = d.getElementsByTagName(t)[0];
a.async = 1;
a.src = u;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://mautic.hypha.earth/mtc.js', 'mt');
mt('send', 'pageview');
</script>
</body>
</html>