-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
140 lines (134 loc) · 6.92 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
<!DOCTYPE html>
<html lang="esp" data-contexto="enfoque">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fokus</title>
<link rel="shortcut icon" href="./imagenes/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"
integrity="sha512-NmLkDIU1C/C88wi324HBc+S2kLhi08PN5GDeUVVVC/BVt/9Izdsc9SVeVfA1UZbY3sHUlDSyRXhCzHfr6hmPPw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Prata&family=Unbounded:wght@200;300;400;500;600;700;800;900&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="./styles.css">
<script src="./script.js" defer></script>
<!--Se agrega código-->
<script src="./script-crud.js" defer></script>
</head>
<body>
<main class="app">
<header class="app__header">
<figure class="app__logo-figure">
<img class="app__logo-image" src="/imagenes/logo.png" alt="">
</figure>
</header>
<section class="app__section-banner-container">
<h1 class="app__title">
Optimiza tu productividad,<br>
<strong class="app__title-strong">sumérgete en lo que importa.</strong>
</h1>
<figure class="app__image-figure">
<img class="app__image" src="/imagenes/enfoque.png" alt="">
</figure>
</section>
<section class="app__section-card-container">
<div class="app__card">
<ul class="app__card-list">
<li class="app__card-list-item">
<button data-contexto="enfoque" class="app__card-button app__card-button--enfoque active">Enfoque</button>
</li>
<li class="app__card-list-item">
<button data-contexto="short" class="app__card-button app__card-button--corto">Descanso corto</button>
</li>
<li class="app__card-list-item">
<button data-contexto="long" class="app__card-button app__card-button--largo">Descanso largo</button>
</li>
</ul>
<div id="timer" class="app__card-timer"></div>
<ul class="app__card-list">
<li class="app__card-list-item">
<label class="toggle">
<input class="toggle-checkbox" type="checkbox" id="alternar-musica">
<div class="toggle-switch"></div>
</label>
</li>
<li class="app__card-list-item">
<label class="app__card-list-label" for="alternar-musica">
Música
</label>
</li>
</ul>
<div class="app__card-primary-button-wrapper">
<button id="start-pause" class="app__card-primary-button">
<img class="app__card-primary-butto-icon" src="/imagenes/play_arrow.png" alt="">
<span>Comenzar</span>
</button>
</div>
</div>
</section>
<!--Se agrega código-->
<section class="app__section-task-container">
<div class="app__section-task-content">
<header class="app__section-active-task">
<p class="app__section-active-task-label">#En proceso:</p>
<p class="app__section-active-task-description"></p>
</header>
<div class="app__section-task-header">
<h2 class="app__section-tasks-heading">Lista de tareas:</h2>
<div class="dropdown-container">
<button class="app_button-more">
<img src="/imagenes/more.svg" alt="">
</button>
<ul class="app__section-task-header__ul">
<li class="app__section-task-header__li">
<button class="app__section-task-header__li__button" id="btn-remover-concluidas">
<img src="/imagenes/check.svg" alt="">
Quitar tareas completadas
</button>
</li>
<li class="app__section-task-header__li">
<button class="app__section-task-header__li__button" id="btn-remover-todas">
<img src="/imagenes/trash.svg" alt="">
Quitar todas las tareas
</button>
</li>
</ul>
</div>
</div>
<ul class="app__section-task-list"></ul>
<form class="app__form-add-task hidden" aria-hidden="true">
<div class="app__form-field">
<label class="app__form-label">
Agregando tarea
</label>
<textarea required rows="4" class="app__form-textarea" placeholder="¿En qué estás trabajando?"></textarea>
</div>
<footer class="app__form-footer">
<button type="button" class="app__form-footer__button app__form-footer__button--delete">
<img src="/imagenes/delete.png" alt=""> Eliminar
</button>
<div class="splitter"></div>
<button type="button" class="app__form-footer__button app__form-footer__button--cancel">
<img src="/imagenes/close.png" alt=""> Cancelar
</button>
<button class="app__form-footer__button app__form-footer__button--confirm">
<img src="/imagenes/save.png" alt=""> Guardar
</button>
</footer>
</form>
<button class="app__button--add-task">
<img src="/imagenes/add_circle.png" alt=""> Agregar nueva tarea
</button>
</div>
</section>
<footer class="app__footer">
<p class="app__footer-text">
Proyecto ficticio y sin fines comerciales. Imágenes generadas por IA en Adobe Firefly. Desarrollado por Alura.
</p>
</footer>
</main>
</body>
</html>