-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtemplate-page-landing.php
executable file
·38 lines (35 loc) · 2.18 KB
/
template-page-landing.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
<?php /* Template Name: Page - Landing */ ?>
<?php get_header(); ?>
<?php if (have_posts()): while (have_posts()) : the_post(); ?>
<div class="homepage-block-wrp homepage-block-content-wrp">
<div class="homepage-lgo-wrp"><img class="homepage-lgotxt" src="<?php echo get_template_directory_uri(); ?>/lib/asset/img/FluxLogo-Text.svg" /><?php the_title(); ?></div>
<h1 class="homepage-txt-wrp"><?php the_field("page_intro") ?></h1>
<a href="#" class="btn-hex bgc-orng brd-orng blend-multiply" id="btn-cta">Join Now</a>
</div>
<div class="homepage-block-wrp homepage-block-signup-wrp">
<div class="homepage-signup-inr homepage-signup-form-wrp">
<h1><?php the_field('form_intro') ?></h1>
<?php the_field('form_text'); ?>
<form class="site-form-wrp" id="formContact">
<input class="site-input" id="name" name="Name" type="text" placeholder="<?php the_field('lbl_nme') ?>">
<input class="site-input" id="email" name="Email" type="email" placeholder="<?php the_field('lbl_eml') ?>">
<textarea class="site-input site-input-textarea" id="message" name="Message to Organisers" rows="2" placeholder="<?php the_field('lbl_msg') ?>"></textarea>
<div class="site-input site-input-checkbox-wrp">
<input class="site-input-checkbox" id="checkbox-Voulenteer" type="checkbox" name="Voulenteer" value="True"> <label for="checkbox-Voulenteer" class="site-input-checkbox-label"><?php the_field('lbl_vol') ?></label>
</div>
<button type="submit" class="site-submit bgc-dark brd-dark brd-angle"><?php the_field('lbl_sub') ?></button>
<!-- <a href="#" class="site-submit site-close blend-multiply bgc-dark brd-dark brd-angle" id="btn-cta"><div class="site-close-bar site-close-bar-1"></div><div class="site-close-bar site-close-bar-2"></div></a> -->
</form>
</div>
<div class="homepage-signup-inr homepage-signup-rsp homepage-signup-rsp-success">
<h1><?php the_field('success_intro') ?></h1>
<?php the_field('success_text'); ?>
</div>
<div class="homepage-signup-inr homepage-signup-rsp homepage-signup-rsp-fail">
<h1><?php the_field('fail_intro') ?></h1>
<?php the_field('fail_text'); ?>
</div>
</div>
<?php the_content(); ?>
<?php endwhile; endif; ?>
<?php get_footer(); ?>