-
Notifications
You must be signed in to change notification settings - Fork 6
/
page-liste.hbs
88 lines (81 loc) · 3.18 KB
/
page-liste.hbs
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{{!--
This template is used for the posts that are marked as pages.
--}}
{{!-- This block preloads specific assets for the post page --}}
{{#contentFor "preload"}}
<link rel="preload" href="{{asset " css/post.css"}}" as="style" />
<link rel="preload" href="{{asset " js/page.js"}}" as="script" />
<style>
.button-style-liste{
background-color: #FF8000;
border-radius: 25px;
padding: 15px;
margin-bottom:15px
}
</style>
{{/contentFor}}
{{!-- This block loads specific styles for the post page --}}
{{#contentFor "styles"}}
<link rel="stylesheet" type="text/css" href="{{asset " css/post.css"}}" media="screen" />
{{/contentFor}}
{{!-- The tag below means: insert everything in this file
into the {body} of the default.hbs template --}}
{{!< default}} {{!-- Special header.hbs partial to generate the <header> tag --}}
{{#post}}
{{> header background=feature_image}}
<div class="m-hero__content" data-animate="fade-down">
<h1 class="m-hero-title bigger">Liste Finale</h1>
{{#if custom_excerpt}}
<p class="m-hero-description">{{custom_excerpt}}</p>
{{/if}}
</div>
{{/post}}
<main class="main-wrap">
{{!-- Everything inside the #post tags pulls data from the post --}}
{{#post}}
{{!-- Inject styles of the hero image to make it responsive --}}
{{> hero background=feature_image}}
<div class="m-hero__content" data-animate="fade-down">
{{#if custom_excerpt}}
<p class="m-hero-description">{{custom_excerpt}}</p>
{{/if}}
</div>
</section>
<article>
<div class="l-content">
<div class="l-wrapper in-post" data-animate="fade-up">
<div class="l-post-content">
<div class="pos-relative js-post-content">
<div style="display:flex; align-items:center; justify-content:center">
<button class="button-style-liste">
<a href="https://esu.osut.org/content/files/2023/05/Liste participanti-a treia etapa-lista.pdf"
target="_blank" style="color:white;font-size:30px;">Descarcă <i class="fa fa-download"></i></a>
</button>
</div>
<div>
<iframe src="https://drive.google.com/file/d/1Zw42rnAuhWpuLDPumCMX078Fb9MBze2A/preview"
class="size"></iframe>
</div>
</div>
</div>
</div>
</div>
</article>
{{/post}}
</main>
<style>
.size {
width: 100%;
height: 700px;
}
@media only screen and (max-width: 620px) {
.size {
height: 400px;
}
}
</style>
{{!-- The #contentFor helper here will send everything inside it up to the matching #block helper found in
default.hbs --}}
{{#contentFor "scripts"}}
<script defer src="{{asset " js/page.js"}}"></script>
{{/contentFor}}