-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
124 lines (117 loc) · 3.6 KB
/
index.html
File metadata and controls
124 lines (117 loc) · 3.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Chatbot | Federico Guzmán</title>
<link
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded"
rel="stylesheet"
/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<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"
/>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="chatbot">
<!-- ? --------------- Chabot Header --------------- -->
<header class="header">
<div style="display: flex; align-items: center; gap: 6px">
<img
src="chatbotFill.svg"
alt="Chatbot Logo"
style="
background-color: #ffffff;
border-radius: 50%;
padding: 4px;
height: 30px;
width: 30px;
"
/>
<h2 style="font-size: 16px">Chatbot</h2>
</div>
</header>
<!-- ? --------------- Chabot body --------------- -->
<main class="chat-body">
<div class="bubble-container">
<div class="bubble-image-container">
<img src="chatbot.svg" alt="Chatbot Logo" class="logo" />
</div>
<p class="bot-bubble">Hola 👋<br />¿En qué puedo ayudarte hoy?</p>
</div>
<!-- Nuevos mensajes -->
</main>
<!-- ? --------------- Chabot Footer --------------- -->
<footer class="footer">
<form action="#" class="chat-form">
<textarea
required
style="
border: none;
outline: none;
height: 47px;
width: 100%;
font-size: 0.95rem;
padding: 14px 0 13px 18px;
border-radius: inherit;
resize: none;
font-family: Inter, sans-serif;
font-size: 13px;
"
id="message-input"
placeholder="Message..."
></textarea>
<div
style="
display: flex;
align-items: center;
align-self: center;
padding-right: 6px;
height: 47px;
gap: 3px;
"
class="chat-controls"
>
<button
id="emoji-picker"
type="button"
class="material-symbols-rounded button"
>
sentiment_satisfied
</button>
<div class="file-upload-wrapper">
<input type="file" accept="images/*" id="file-input" hidden />
<img src="#" />
<button
id="file-upload"
type="button"
class="material-symbols-rounded button"
>
attach_file
</button>
<button
id="file-cancel"
type="button"
class="material-symbols-rounded button"
>
close
</button>
</div>
<button
type="submit"
id="send-message"
class="material-symbols-rounded button"
>
arrow_upward
</button>
</div>
</form>
</footer>
</div>
<script src="https://cdn.jsdelivr.net/npm/emoji-mart@latest/dist/browser.js"></script>
<script src="script.js"></script>
</body>
</html>