Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (64 loc) · 2.92 KB
/
Copy pathindex.html
File metadata and controls
69 lines (64 loc) · 2.92 KB
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
<!DOCTYPE html>
<!-- saved from url=(0069)https://www.cssscript.com/demo/header-navbar-templates/header-1.html# -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Você Classe A</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="reset.min.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="header.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script>
function changeLocation(location) {
window.location = '#/' + location;
}
function loadConteudo(pagina, location) {
document.getElementById('conteudo').src = pagina;
if (location) {
changeLocation(pagina);
}
}
function loadPageFromLocation() {
if (document.location.toString().includes("#/")) {
var pagina = document.location.toString();
var hashPos = pagina.indexOf("#/");
pagina = pagina.substring(hashPos + 2, pagina.length);
loadConteudo(pagina, false);
}
}
function imprimir() {
var menu = document.getElementById("menu");
menu.style.display = "none";
print();
menu.style.display = "";
}
</script>
</head>
<body onload="loadConteudo('home.html', true);">
<!-- Header Start -->
<header id="menu" class="site-header">
<div class="wrapper site-header__wrapper">
<img src="images/logo.png" width="5%"/>
<a href="#" class="brand">Você Classe A</a>
<nav class="nav">
<button class="nav__toggle" aria-expanded="false" type="button">
menu
</button>
<ul class="nav__wrapper">
<li class="nav__item"><a href="#/home.html" onclick="loadConteudo('home.html',true);">Home</a></li>
<li class="nav__item"><a href="#/about.html" onclick="loadConteudo('about.html',true);">Sobre</a></li>
<li class="nav__item"><a href="#/blog.html" onclick="loadConteudo('blog.html',true);">Artigos</a></li>
<li class="nav__item"><a href="#/analysis.html" onclick="loadConteudo('analysis.html',true);">Análise</a></li>
<li class="nav__item"><a href="#/motivators.html" onclick="loadConteudo('motivators.html',true);">Motivadores</a></li>
<li class="nav__item"><a href="#/contact.html" onclick="loadConteudo('contact.html',true);">Contato</a></li>
<li class="nav__item"><a href="#/print.html" onclick="imprimir()"><i class="fa"></i> Imprimir</a></li>
</ul>
</nav>
</div>
</header>
<!-- Header End -->
<script src="header.js"></script>
<iframe id="conteudo" width=99% height=85% frameborder="0" marginheight="0" marginwidth="0"
style="position: absolute">Sua melhor versão está chegando...</iframe>
</body></html>