1
0
mirror of https://github.com/ascribe/wp-theme synced 2024-12-23 01:30:09 +01:00
wp-theme/template-tour.php

34 lines
1003 B
PHP
Raw Normal View History

2015-09-19 00:03:57 +02:00
<?php
/*
Template Name: Landing Page / Product Tour
*/
require 'controller/init.php';
2015-09-19 00:03:57 +02:00
get_header();
$bgImage = get_field('header_background_image')['url'];
$headerTagline = get_field('header_tagline');
$buttonText = get_field('create_account_button_text');
2015-09-19 00:03:57 +02:00
?>
<header style="background-image:url(<?php echo $bgImage; ?>)">
<div class="centered-header">
<img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/logo-white.png" class="logo">
<div class="app-links">
<a href="<?php echo $signInLink; ?>">Sign In</a> / <a href="<?php echo $signUpLink; ?>">Sign Up</a>
</div>
2015-09-19 00:03:57 +02:00
<nav>
2015-09-21 21:29:57 +02:00
<?php wp_nav_menu( array( 'theme_location' => 'landing-menu', 'container' => false ) ); ?>
2015-09-19 00:03:57 +02:00
</nav>
<section class="description">
<h1><?php echo $headerTagline; ?></h1>
<a href="<?php echo $signUpLink; ?>" class="button blue"><?php echo $buttonText; ?></a>
</section>
2015-09-19 00:03:57 +02:00
</div>
<div class="chevron-divider"></div>
2015-09-19 00:03:57 +02:00
</header>
2015-09-21 21:29:57 +02:00
<?php require 'content-main.php'; ?>
2015-09-19 00:03:57 +02:00
<?php get_footer(); ?>