-
Notifications
You must be signed in to change notification settings - Fork 0
/
use-cases.php
72 lines (54 loc) · 2.06 KB
/
use-cases.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
<?php
/**
* Template Name: Use Cases
*
*/
get_header();
?>
<main class="dark-theme">
<section class="get-started-hero intro use-cases">
<div class="get-started-hero-back">
</div>
<div class="area flex align-center">
<div class="resp-logo">
<img src="<?php echo get_template_directory_uri(); ?>/img/logos/logo-white.svg">
</div>
<div class="col-8">
<div class="sub-section flex align-center">
<div class="icon small">
<img src="<?php echo get_template_directory_uri(); ?>/img/icons/circles.svg" loading="lazy" />
</div>
<h1 class="subtitle"><?php the_title(); ?></h1>
</div>
<p class="title-giga"><?php the_field('header_usecases_title'); ?></p>
<div class="text-20 light-blu">
<?php the_content(); ?>
</div>
</div>
</div>
<div class="area flex wrap gap-20">
<?php $usecases = get_field('select_use_cases');
if( $usecases ): ?>
<?php foreach( $usecases as $post ):
setup_postdata($post); ?>
<div class="col-x">
<a class="nostyle" href="<?php the_permalink(); ?>">
<div class="generic-card glow-back has-link">
<div class="wrappo">
<h3 class="title-40"><?php the_title(); ?></h3>
<p class="text-20 light-blu"><?php the_field('tagline') ?></p>
<p><?php the_content(); ?></p>
<div class="fake-button space">
<p>Learn more</p>
</div>
</div>
</div>
</a>
</div>
<?php endforeach; ?>
<?php wp_reset_postdata(); ?>
<?php endif; ?>
</div>
</section>
</main>
<?php get_footer(); ?>