-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
83 lines (65 loc) · 3.69 KB
/
index.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
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
<?php
session_start();
require("app/db/env.php");
$page_title = 'CanecArte - Home';
$style_scripts = ['<link rel="stylesheet" href="public/css/home.css">'];
require("public/includes/head.php");
?>
<div class="shop-car">
<a href="public/views/cart.php">
<img src="public/icons/shop-car.svg" alt="cart_icon">
<span>
<?php if(isset($_SESSION['cart']) && count($_SESSION['cart']) > 0) echo count($_SESSION['cart']) ?>
</span>
</a>
</div>
<div class="container">
<?php
include('public/includes/header.php');
?>
<section class="hero">
<div class="content">
<img src="public/images/hero-image.png" alt="Imagem principal">
<div>
<h2>Sua caneca é nossa arte</h2>
<div class="text">Vendemos canecas personalizadas de maneira artesanal.</div>
<div class="text">Trazemos qualidade, variedade e durabilidade</div>
</div>
</div>
<div class="hero-wave">
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none">
<path d="M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z" class="shape-fill"></path>
</svg>
</div>
</section>
<section class="cards">
<div class="card">
<a href="public/views/product-page.php?id=1"><img src="public/images/card1-image.png" alt="Caneca Attack on titan"></a>
<h3>Prontas para você...</h3>
<p>Contando com diversas canecas personalizadas feitas sobre diferentes formas, tipos e desenhos, nossa empresa busca oferecer com eficiência o produto perfeito voltado diretamente à você.</p>
</div>
<div class="card">
<a href="public/views/product-page.php?id=2"><img src="public/images/card2-image.jpg" alt="Caneca Bulbassauro"></a>
<h3>Confortável para o Meio Ambiente...</h3>
<p>Pensando na Sustentabilidade, nós da CanecArt oferecemos uma nova linha de canecas ecológicas. Feitas a partir de fibra de coco e plástico PP, nossa linhas busca unir preços baixos produtos de grande qualidade.</p>
</div>
<div class="card">
<a href="public/views/product-page.php?id=3"><img src="public/images/card3-image.jpg" alt="Caneca Goku"></a>
<h3>Perfeita para Presentear...</h3>
<p>Com vários modelos e embalagens decorativos, lembre-se que uma caneca sempre cai como um excelente lembrança numa data especial.</p>
</div>
</section>
<section class="movie">
<div class="left">
<h3>Como Fazemos?</h3>
<p>O vídeo ao lado, representando um dos maiores princípios da CanecaArt, ensinará diversas maneiras práticas e criativas de como reutilizar canecas sublimadas ou até mesmo quebradas, colaborando com o meio ambiente para um mundo melhor.</p>
</div>
<div class="right">
<iframe width="560" height="315" src="https://www.youtube.com/embed/I1CpF4ybNcM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</section>
<?php
include('public/includes/footer.php');
?>
</body>
</html>