diff options
author | Espina2 <expina2@hotmail.com> | 2017-01-29 22:12:05 +0300 |
---|---|---|
committer | Espina2 <expina2@hotmail.com> | 2017-01-29 22:12:05 +0300 |
commit | 301acd7330a6585cebb0628cd5eecfc9064ea74a (patch) | |
tree | 5ecbacb4d1d6533106851c8a6de4f809b4b5d859 /page-box.php | |
parent | bba271123a94a6e94bbd3eafa35178d22c621e90 (diff) |
fix box page and remove css pages files from the custom
Diffstat (limited to 'page-box.php')
-rw-r--r-- | page-box.php | 79 |
1 files changed, 33 insertions, 46 deletions
diff --git a/page-box.php b/page-box.php index c314dfe5..ee2bcb12 100644 --- a/page-box.php +++ b/page-box.php @@ -1,4 +1,5 @@ <head> +<link href="<?php echo get_template_directory_uri(); ?>/assets/css/box.css" rel="stylesheet"> <script> require(["require.config"], function() { require(["pages/box"]) @@ -16,7 +17,7 @@ <div class="container"> <div class="col-xs-8 col-centered"> <h2 class="section--heading-1 section--text--center revealOnScroll"><?php echo $l->t('Bring your data home');?></h2> - <p class="section--intro section--text--center revealOnScroll"><?php echo $l->t('The Nextcloud Box is your private cloud. It stores your data and enables + <p class="section--paragraph section--text--center revealOnScroll"><?php echo $l->t('The Nextcloud Box is your private cloud. It stores your data and enables you to sync between your devices and share with others.');?></p> <a class="button button--blue button--arrow button--large revealOnScroll" href="<?php echo home_url('features') ?>" role="button"><?php echo $l->t('Know Nextcloud</a>');?> </div> @@ -27,18 +28,18 @@ <div class="container"> <div class="box-open col-md-7 revealOnScroll"></div> <div class="wrapper-text col-md-5 revealOnScroll"> - <h2><?php echo $l->t('Technology');?></h1> - <h6><?php echo $l->t('The Nextcloud box consists of the following parts:');?></h6> - <ul> - <li><?php echo $l->t('1 TB USB3 hard drive from WDLabs');?></li> - <li><?php echo $l->t('Nextcloud case with room for the drive and a compute board');?></li> - <li><?php echo $l->t('microUSB charger, cables and adapters, a screw driver and screws');?></li> - <li><?php echo $l->t('microSD card with Snappy Ubuntu Core as OS, including Apache, MySQL and the latest Nextcloud 10 pre-installed and ready to go');?></li> - </ul> - <p><?php echo $l->t('The Box does not come with a Raspberry Pi.');?></p> - <p><?php echo $l->t('The Box is hardware-compatible with the Raspberry Pi 2 and 3, and the oDroid C2.');?></p> - <p><?php echo $l->t('Right now, the OS only works with the Raspberry Pi 2. Software support for Raspberry Pi 3 is planned for November 2016. There is no plan for oDroid C2 yet but Linux Kernel 4.10 has support planned for the hardware so first half 2017 is a reasonable guess.');?></p> - <p><?php echo $l->t('Note that by default, the Nextcloud Box only works on the network it is connected to (like your home LAN). It requires configuration of encryption (https) and router ports to reach it from outside your home network.');?></p> + <h2 class="section--heading-1"><?php echo $l->t('Technology');?></h1> + <h6 class="section--paragraph__tittle"><?php echo $l->t('The Nextcloud box consists of the following parts:');?></h6> + <p class="section--paragraph"><?php echo $l->t('1 TB USB3 hard drive from WDLabs');?><p> + <p class="section--paragraph"><?php echo $l->t('Nextcloud case with room for the drive and a compute board');?></p> + <p class="section--paragraph"><?php echo $l->t('microUSB charger, cables and adapters, a screw driver and screws');?></p> + <p class="section--paragraph"><?php echo $l->t('microSD card with Snappy Ubuntu Core as OS, including Apache, MySQL and the latest Nextcloud 10 pre-installed and ready to go');?></p> + <p class="section--paragraph"><?php echo $l->t('The Box does not come with a Raspberry Pi.');?></p> + <p class="section--paragraph"><?php echo $l->t('The Box is hardware-compatible with the Raspberry Pi 2 and 3, and the oDroid C2.');?></p> + </div> + <div class="col-md-6"> + <p class="section--paragraph"><?php echo $l->t('Right now, the OS only works with the Raspberry Pi 2. Software support for Raspberry Pi 3 is planned for November 2016. There is no plan for oDroid C2 yet but Linux Kernel 4.10 has support planned for the hardware so first half 2017 is a reasonable guess.');?></p> + <p class="section--paragraph"><?php echo $l->t('Note that by default, the Nextcloud Box only works on the network it is connected to (like your home LAN). It requires configuration of encryption (https) and router ports to reach it from outside your home network.');?></p> </div> </div> </section> @@ -46,37 +47,23 @@ <section class="section-getbox"> <div class="container"> <div class="row"> - <div class="wrapper-text col-md-4"> - <h2 class="section--title revealOnScroll"><?php echo $l->t('Get the box');?></h2> - <p class="section--intro revealOnScroll"><?php echo $l->t('Currently you can only purchase the Nextcloud Box in Europe and the USA. We are working on bringing the box to other regions!');?></p> - <div class="button button--blue button--dropdown"> - <input class="dropdown-toggle" type="text"> - <div class="dropdown-text">Select your country</div> - <ul class="dropdown-content"> - <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828823500" target="_blank">Buy in the USA </a>');?></li> - <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828823600" target="_blank">Buy in the UK </a>');?></li> - <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828823700" target="_blank">Buy in Germany </a>');?></li> - <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828823800" target="_blank">Buy in Spain </a>');?></li> - <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828823900" target="_blank">Buy in France </a>');?></li> - <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828824000" target="_blank">Buy in Italy </a>');?></li> - <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828824100" target="_blank">Buy in the Netherlands </a>');?></li> - <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4832872800" target="_blank">Buy in rest of Europe </a>');?></li> - </ul> - </div> - - <!--<div class="btn-group"> - <button type="button" data-toggle="dropdown" class="btn btn-primary buybutton dropdown-toggle revealOnScroll" aria-expanded="false"><?php echo $l->t('Select your country');?> <span class="caret"></span></button> - <ul role="menu" class="dropdown-menu"> - <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828823500" target="_blank">Buy in the USA </a>');?></li> - <li><?php echo $l->t('<a href=" http://shop.wdc.com/promo/4828823600" target="_blank">Buy in the UK </a>');?></li> - <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828823700" target="_blank">Buy in Germany </a>');?></li> - <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828823800" target="_blank">Buy in Spain </a>');?></li> - <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828823900" target="_blank">Buy in France </a>');?></li> - <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828824000" target="_blank">Buy in Italy </a>');?></li> - <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828824100" target="_blank">Buy in the Netherlands </a>');?></li> - <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4832872800" target="_blank">Buy in rest of Europe </a>');?></li> - </ul> - </div>--> + <div class="wrapper-text col-md-4"> + <h2 class="section--title revealOnScroll"><?php echo $l->t('Get the box');?></h2> + <p class="section--paragraph revealOnScroll"><?php echo $l->t('Currently you can only purchase the Nextcloud Box in Europe and the USA. We are working on bringing the box to other regions!');?></p> + <div class="button button--blue button--dropdown"> + <input class="dropdown-toggle" type="text"> + <div class="dropdown-text">Select your country</div> + <ul class="dropdown-content"> + <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828823500" target="_blank">Buy in the USA </a>');?></li> + <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828823600" target="_blank">Buy in the UK </a>');?></li> + <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828823700" target="_blank">Buy in Germany </a>');?></li> + <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828823800" target="_blank">Buy in Spain </a>');?></li> + <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828823900" target="_blank">Buy in France </a>');?></li> + <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828824000" target="_blank">Buy in Italy </a>');?></li> + <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4828824100" target="_blank">Buy in the Netherlands </a>');?></li> + <li><?php echo $l->t('<a href="http://shop.wdc.com/promo/4832872800" target="_blank">Buy in rest of Europe </a>');?></li> + </ul> + </div> </div> <div class="box-perspective col-md-8 revealOnScroll"></div> </div> @@ -86,8 +73,8 @@ <section class="section-how-to-box"> <div class="container"> <div class="col-xs-8 col-centered"> - <h2 class="section--heading-2 section--text--center revealOnScroll"><?php echo $l->t('How to Box');?></h2> - <p class="section--intro section--text--center revealOnScroll"><?php echo $l->t('The Nextcloud Box is very easy to assemble. It comes with all necessary screws and a screwdriver. The lid uses magnets (magic!) so you can quickly open and close it.');?></p> + <h2 class="section--heading-1 section--text--center revealOnScroll"><?php echo $l->t('How to Box');?></h2> + <p class="section--paragraph section--text--center revealOnScroll"><?php echo $l->t('The Nextcloud Box is very easy to assemble. It comes with all necessary screws and a screwdriver. The lid uses magnets (magic!) so you can quickly open and close it.');?></p> <div class="assembly revealOnScroll"></div> <a class="button button--blue button--arrow button--large revealOnScroll" href="<?php echo get_template_directory_uri(); ?>/assets/files/Box-Assembly-Guide.pdf" role="button"><?php echo $l->t('Download PDF</a>');?> </div> |