-
Notifications
You must be signed in to change notification settings - Fork 0
/
diario.html
120 lines (98 loc) · 3.73 KB
/
diario.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="theme-color" content="#5378BC"/>
<meta name="description" content="web app de saude mental">
<title>MindCalm</title>
<!--=============== BOXICONS ===============-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/boxicons@latest/css/boxicons.min.css">
<!-- custom css file link -->
<link rel="stylesheet" href="css/style.css">
<!-- manifest -->
<link rel="manifest" href="manifest.json">
<style>
body {
font-family: Arial, sans-serif;
background-color: #f9f9f9;
padding: 20px;
}
.diario-box {
background-color: #fff;
border: 1px solid #ccc;
padding: 20px;
border-radius: 5px;
margin-bottom: 20px;
}
.emoji {
font-size: 24px;
margin-right: 10px;
}
</style>
</head>
<body>
<!--=============== HEADER ===============-->
<header class="header" id="header">
<nav class="nav container">
<a href="#" class="nav__logo">Geraldo</a>
<div class="nav__menu" id="nav-menu">
<ul class="nav__list">
<li class="nav__item">
<a href="#home" class="nav__link">
<i class='bx bx-home-alt nav__icon'></i>
<span class="nav__name">Home</span>
</a>
</li>
<li class="nav__item">
<a href="chat.html" class="nav__link">
<i class='bx bx-user nav__icon'></i>
<span class="nav__name">Chat</span>
</a>
</li>
<li class="nav__item">
<a href="clinicas.html" class="nav__link">
<i class='bx bx-book-alt nav__icon'></i>
<span class="nav__name">Clinicas</span>
</a>
</li>
<li class="nav__item">
<a href="diario.html" class="nav__link active-link"">
<i class='bx bx-briefcase-alt nav__icon'></i>
<span class="nav__name">Diario</span>
</a>
</li>
<li class="nav__item">
<a href="config.html" class="nav__link">
<i class='bx bx-message-square-detail nav__icon'></i>
<span class="nav__name">Configurações</span>
</a>
</li>
</ul>
</div>
<img src="../image/foto_perfil_geraldo.jpeg" alt="" class="nav__img">
</nav>
</header>
<main>
<!--=============== PORTFOLIO ===============-->
<section class="container section section__height" id="portfolio">
<h2 class="section__title">Diário</h2>
<div class="diario-box">
<p>Como você está se sentindo hoje? 😊</p>
<textarea id="entrada" rows="5" cols="30" placeholder="Escreva aqui..."></textarea>
<button onclick="salvarEntrada()">Salvar</button>
</div>
<script>
function salvarEntrada() {
const entradaTexto = document.getElementById('entrada').value;
// Aqui você pode adicionar a lógica para salvar a entrada em algum lugar (por exemplo, em um banco de dados ou arquivo).
alert('Entrada salva com sucesso! 📔');
}
</script>
</section>
</main>
<!-- js file link -->
<script src="js/script.js"></script>
</body>
</html>