-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.php
More file actions
78 lines (58 loc) · 2.6 KB
/
index.php
File metadata and controls
78 lines (58 loc) · 2.6 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
70
71
72
73
74
75
76
77
78
<?php
// limpar cache no navegador
header("Cache-Control: no-cache, no-store, must-revalidate");
header("Pragma: no-cache");
header("Expires: 0");
// session_start(); // habilitar globais na hospedagem
$version = time(); // versão automática baseada no timestamp do deploy
?>
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="TatiFit Sports - Loja online de roupas esportivas femininas" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<title>TatiFit Wear</title>
<link rel="icon" href="/public/images/favicon.png?v=<?php echo $version; ?>" />
<!-- importação do css global -->
<link rel="stylesheet" href="/globals.css?v=<?php echo $version; ?>" />
<!-- importação da fonte (inter) -->
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap" rel="stylesheet" />
<!-- biblioteca de ícones -->
<link rel="stylesheet" type="text/css"
href="https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/regular/style.css" />
<link rel="stylesheet" type="text/css"
href="https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/fill/style.css" />
<!-- biblioteca de rolagem -->
<script src="https://cdn.jsdelivr.net/gh/studio-freight/lenis@latest/bundled/lenis.min.js"></script>
</head>
<body>
<?php
require_once 'routes/web.php'; // inicializa todas as rotas da aplicação
?>
<!-- biblioteca de libras - VLibras -->
<div vw class="enabled">
<div vw-access-button class="active"></div>
<div vw-plugin-wrapper>
<div class="vw-plugin-top-wrapper"></div>
</div>
</div>
<script src="https://vlibras.gov.br/app/vlibras-plugin.js"></script>
<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>
<!-- WhatsApp apenas para usuários -->
<?php if (isset($_SESSION["role"]) && $_SESSION["role"] == "user"): ?>
<a id="robbu-whatsapp-button" target="_blank" href="https://api.whatsapp.com/send?phone=5511978936260">
<div class="rwb-tooltip">Clique aqui e fale conosco no WhatsApp.</div>
<img src="https://cdn.positus.global/production/resources/robbu/whatsapp-button/whatsapp-icon.svg">
</a>
<?php endif; ?>
<!-- habilitar o scroll suave -->
<script src="./public/js/scroll.js?v=<?php echo $version; ?>"></script>
<!-- ReCaptcha -->
<!-- <script src="https://www.google.com/recaptcha/api.js" async defer></script> -->
</body>
</html>