forked from Marlomss/SP-RECICLA
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnews-detail.html
163 lines (146 loc) · 6.2 KB
/
news-detail.html
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<!DOCTYPE html>
<html lang="pt-br" dir="ltr">
<head>
<meta charset="utf-8">
<title>SP Recicla</title>
<link rel="stylesheet" href="css/swiper.min.css">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/styles-news.css">
<link rel="stylesheet" href="css/responsivo.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<main class="apresentacao">
<div class="center">
<a href="index.html" class="logo">
<i class="logomarca"></i>
</a>
<div class="">
<a href="#" id="menu-mobile">
<span></span>
<span></span>
<span></span>
</a>
</div>
<nav class="menu" id="menu">
<ul>
<li class="menu__li">
<a href="index.html" class="menu__link">Início</a>
</li>
<li class="menu__li">
<a href="mapa.html" class="menu__link">Mapa</a>
</li>
<li class="menu__li">
<a href="contact.html" class="menu__link">Cadastro</a>
</li>
</ul>
</nav>
<div class="clear"></div>
</div>
<section class="section-top-margin">
<div class="center">
<!-- <header class="p-15">
<h2 class="title align-left">Our Recent Post</h2>
<h5 class="subtitle align-left">Vampires The Romantic Ideology Behind Them</h5>
</header> -->
<div class="post-detail">
<div class="post-detail__img-box">
<img id="imagem" src="" alt="" class="img-responsiva">
</div>
<div class="post__box">
<h2 class="post__title" id="titulo"></h2>
<p class="post__subtitle">By <strong id="autor"></strong> | <span id="data"></span></p>
<div class="post__text">
<p class="mb-40" id="texto"></p>
</div>
<div class="post__video" id="box-video">
</div>
</div>
</div>
</div>
</section>
<section class="newsletter">
<div class="center">
<div class="newsletter__box">
<div class="newsletter__wrapper">
<div class="newsletter__content">
<span class="newsletter__text">Get Update Protips every <br>newsletter</span>
<form action="" method="post" class="newsletter__form">
<div class="newsletter__box-input">
<div class="newsletter__input-box">
<input type="text" name="" value="" class="newsletter__input" placeholder="Enter your email">
</div>
</div>
<div class="newsletter__box-submit">
<input class="newsletter__submit" type="submit" name="" value="">
</div>
</form>
<div class="clear"></div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer">
<div class="center">
<div class="footer__box">
<i class="logomarca"></i>
<p class="footer__descricao">Maui helicopter tours are a great way to <br>see the island from a different perspective <br>and have a fun adventure.</p>
</div>
<nav class="footer__links">
<strong class="footer__titulo">Quick Links</strong>
<ul>
<li class="footer__menu-item"><a href="#" class="footer__link">About Us</a></li>
<li class="footer__menu-item"><a href="#" class="footer__link">Blog</a></li>
<li class="footer__menu-item"><a href="#" class="footer__link">Contact</a></li>
<li class="footer__menu-item"><a href="#" class="footer__link">FAQ</a></li>
</ul>
</nav>
<nav class="footer__pages">
<strong class="footer__titulo">Pages</strong>
<ul>
<li class="footer__menu-item"><a href="#" class="footer__link">Disclaimer</a></li>
<li class="footer__menu-item"><a href="#" class="footer__link">Financing</a></li>
<li class="footer__menu-item"><a href="#" class="footer__link">Privacy Policy</a></li>
<li class="footer__menu-item"><a href="#" class="footer__link">Terms of Service</a></li>
</ul>
</nav>
<nav class="footer__legal">
<strong class="footer__titulo">Legal Stuff</strong>
<ul>
<li class="footer__menu-item"><a href="#" class="footer__link">About Us</a></li>
<li class="footer__menu-item"><a href="#" class="footer__link">Blog</a></li>
<li class="footer__menu-item"><a href="#" class="footer__link">Contact</a></li>
<li class="footer__menu-item"><a href="#" class="footer__link">FAQ</a></li>
</ul>
</nav>
<div class="clear">
</div>
</div>
<div class="footer__autor">
<p>Design by <a href="#">@ehsan</a></p>
</div>
</footer>
</main>
<script type="text/javascript" src="js/menu.js"></script>
<script type="text/javascript" src="js/posts.js"></script>
<script type="text/javascript" src="js/getUrlVars.js"></script>
<script type="text/javascript">
var id = getUrlVars()["id"];
id = id - 1;
var post = posts[id];
document.getElementById('titulo').innerHTML = post.titulo;
document.getElementById('autor').innerHTML = post.autor;
document.getElementById('data').innerHTML = post.data;
document.getElementById('imagem').src = post.imagem_post;
document.getElementById('texto').innerHTML = post.texto;
if (post.video) {
var videoHTML = '<iframe id="video" width="560" height="315" src="'+post.video+'" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>';
document.getElementById('box-video').innerHTML = videoHTML;
}
</script>
</body>
</html>