-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
161 lines (141 loc) · 4.45 KB
/
index.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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
property="og:title"
content="dev.finances$ | Programando as suas finanças"
/>
<meta
property="og:description"
content="Uma aplicação para você programar todas as suas finanças."
/>
<meta property="og:image" content="https://ibb.co/8dLkPcZ" />
<meta
property="og:url"
content="https://dev-finances-murimessias.vercel.app/"
/>
<meta name="twitter:card" content="summary_large_image" />
<title>dev.finance$ | Programando suas finanças</title>
<link rel="shortcut icon" type="image/jpg" href="/assets/dollar.ico" />
<link rel="stylesheet" href="/style/main.min.css" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,400;0,700;1,100;1,400;1,700&display=swap"
rel="stylesheet"
/>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap"
rel="stylesheet"
/>
<script src="script/svg-inject.min.js"></script>
</head>
<body>
<section class="loading-screen anim-0">
<img
src="./assets/logo-load.svg"
alt="Logo Dev Finance"
id="logo-loading"
onload="SVGInject(this)"
/>
</section>
<header>
<img
src="./assets/logo.svg"
alt="Logo Dev Finance"
id="logo"
class="anim-1"
/>
</header>
<main class="container">
<section id="balance">
<h2 class="sr-only">Balanço</h2>
<div class="card anim-2">
<h3>
<span> Entradas </span>
<img src="./assets/income.svg" alt="Image de entradas" />
</h3>
<p id="incomeDisplay"></p>
</div>
<div class="card anim-3">
<h3>
<span> Saídas </span>
<img src="./assets/expense.svg" alt="Image de saídas" />
</h3>
<p id="expenseDisplay"></p>
</div>
<div class="card total anim-4">
<h3>
<span> Total </span>
<img src="./assets/total.svg" alt="Image de total" />
</h3>
<p id="totalDisplay"></p>
</div>
</section>
<section id="transaction" class="anim-5">
<h2 class="sr-only">Transações</h2>
<a href="#" onclick="Modal.toggle()" class="button new"
>+ Nova Transação</a
>
<table id="data-table">
<thead>
<tr>
<th>Descrição</th>
<th>Valor</th>
<th>Data</th>
<th></th>
</tr>
</thead>
<tbody></tbody>
</table>
</section>
</main>
<div class="modal-overlay">
<div class="modal">
<div id="form">
<h2>Nova Transação</h2>
<form action="" onsubmit="Form.submit(event)">
<div class="input-group">
<label class="sr-only" for="description">Descrição</label>
<input
type="text"
id="description"
name="description"
placeholder="Descrição"
/>
</div>
<div class="input-group">
<label class="sr-only" for="amount">Valor</label>
<input
type="number"
step="0.01"
id="amount"
name="amount"
placeholder="0,00"
/>
<small class="help"
>Use o sinal - (negativo) para despesas e , (vírgula) para casas
decimais</small
>
</div>
<div class="input-group">
<label class="sr-only" for="date">Data</label>
<input type="date" id="date" name="date" />
</div>
<div class="input-group actions">
<a onclick="Modal.toggle()" href="#" class="button cancel"
>Cancelar</a
>
<button>Salvar</button>
</div>
</form>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.6.0/gsap.min.js"></script>
<script src="/script/script.js"></script>
<script src="/script/animate.js"></script>
</body>
</html>