Skip to content
This repository was archived by the owner on Oct 19, 2022. It is now read-only.

Commit e79ccaf

Browse files
committed
add wp
Signed-off-by: Jos Poortvliet <jospoortvliet@gmail.com>
1 parent fce2a0e commit e79ccaf

3 files changed

Lines changed: 27 additions & 0 deletions

File tree

33.8 KB
Loading

assets/whitepapers.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@
110110
"20": {
111111
"whitepaper_name": "Sparkasse Munich uses Nextcloud with HKN",
112112
"whitepaper_url": "English: https://nextcloud.com/media/wp135098u/whitepaper_Stadtsparkasse-Munich.pdf"
113+
},
114+
"21": {
115+
"whitepaper_name": "Vile de Genève deploys Nextcloud to protect Digital Sovereignty",
116+
"whitepaper_url": "English: https://nextcloud.com/media/wp135098u/Ville-de-Geneve.pdf"
113117
}
114118

115119
}

page-whitepapers.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,29 @@
2222
<p class="section--paragraph"><?php echo $l->t('The Nextcloud case studies focus on the real-world benefits of Nextcloud deployments for our customers.');?></p>
2323
<p class="section--paragraph"><small><?php echo $l->t('Note: unless you opt in to the newsletter, we do not store your email address, we just email you the link to the whitepaper.');?></small></p>
2424
<div class="row list display-flex">
25+
<div class="col-md-3">
26+
<div class="row wpthumbnail">
27+
<img class="img-responsive" src="<?php bloginfo('template_directory'); ?>/assets/img/whitepapers/geneve-thumbnail-banner.png"/>
28+
</div>
29+
<div class="row">
30+
<div class="description">
31+
<h3 class="section--paragraph__title"><?php echo $l->t('Vile de Genève deploys Nextcloud');?></h3>
32+
<p class="section--paragraph"><?php echo $l->t('The city of Genève aims to protect their Digital Sovereignty.');?></p>
33+
</div>
34+
<form name="whitepaper" method="post" action="<?php echo home_url('whitepaper-submit') ?>">
35+
<input type="hidden" name="segmentId" value="21">
36+
<input type="hidden" name="firstname" value="">
37+
<input type="hidden" name="requesttime" value="<?php echo time(); ?>">
38+
<input class="mail" type="text" name="email" maxlength="80" placeholder="Enter your email"></label>
39+
<div class="newsletter">
40+
<input type="hidden" name="newsletter" value="0" />
41+
<input type="hidden" name="moreinfo" value="0" />
42+
<input type="checkbox" name="moreinfo" value="1"> <small><?php echo $l->t('Subscribe me to the monthly Nextcloud newsletter');?> <?php echo $l->t('See our');?> <a class="hyperlink" href="<?php echo home_url('privacy') ?>"><?php echo $l->t('privacy policy');?></a></small>
43+
</div>
44+
<input class="button button--blue button--small" type="submit" value="Download"></p>
45+
</form>
46+
</div>
47+
</div>
2548
<!-- <div class="col-md-3">
2649
<div class="row wpthumbnail">
2750
<img class="img-responsive" src="<?php bloginfo('template_directory'); ?>/assets/img/whitepapers/skmunich-thumbnail-banner.png"/>

0 commit comments

Comments
 (0)