forked from JaydenForYou/Spring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
46 lines (45 loc) · 2.01 KB
/
page.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
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
<section class="main-hero">
<div class="main-hero-bg"
style="background-image: url('<?= $this->fields->thumbnail ?>')"></div>
<div class="d-flex flex-column align-content-center justify-content-center main-hero-content">
<div class="text-center main-hero-content-title"><?= $this->title; ?></div>
<div class="main-hero-waves-area waves-area">
<svg class="waves-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
<defs>
<path id="gentle-wave"
d="M -160 44 c 30 0 58 -18 88 -18 s 58 18 88 18 s 58 -18 88 -18 s 58 18 88 18 v 44 h -352 Z"/>
</defs>
<g class="parallax">
<use xlink:href="#gentle-wave" x="48" y="0"/>
<use xlink:href="#gentle-wave" x="48" y="3"/>
<use xlink:href="#gentle-wave" x="48" y="5"/>
<use xlink:href="#gentle-wave" x="48" y="7"/>
</g>
</svg>
</div>
</section>
<main class="main-content">
<div class="container-sm">
<div class="row post-content-main">
<article class="col-12 col-sm-12 px-0 borderbox post-content article-main">
<?= Utils::getContent($this->content); ?>
</article>
</div>
</main>
<section class="main-footer-waves-area waves-area">
<svg class="waves-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
<defs>
<path id="gentle-wave" d="M -160 44 c 30 0 58 -18 88 -18 s 58 18 88 18 s 58 -18 88 -18 s 58 18 88 18 v 44 h -352 Z" />
</defs>
<g class="parallax">
<use xlink:href="#gentle-wave" x="48" y="0" />
<use xlink:href="#gentle-wave" x="48" y="3" />
<use xlink:href="#gentle-wave" x="48" y="5" />
<use xlink:href="#gentle-wave" x="48" y="7" />
</g>
</svg>
</section>
<?php $this->need('footer.php'); ?>