|
1 | 1 | <!DOCTYPE html> |
2 | | -<html lang="nl"> |
| 2 | +<html lang="en"> |
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8" /> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
6 | | - <title>Webchat met GPT Agent</title> |
| 6 | + <title>Indicatiehulp Webchat</title> |
7 | 7 | <style> |
8 | | - body { |
9 | | - font-family: Arial, sans-serif; |
10 | | - margin: 0; |
11 | | - padding: 0; |
12 | | - background-color: #f4f4f4; |
13 | | - display: flex; |
14 | | - flex-direction: column; |
15 | | - height: 100vh; |
16 | | - } |
17 | | - |
18 | | - h1 { |
19 | | - text-align: center; |
20 | | - background-color: #ffc827; |
21 | | - color: black; |
22 | | - padding: 12px 0; |
23 | | - margin: 0; |
24 | | - } |
25 | | - |
26 | | - #chat { |
27 | | - flex-grow: 1; |
28 | | - overflow-y: auto; |
29 | | - padding: 16px; |
30 | | - display: flex; |
31 | | - flex-direction: column; |
32 | | - } |
33 | | - |
34 | | - .message { |
35 | | - margin-bottom: 12px; |
36 | | - padding: 8px 12px; |
37 | | - border-radius: 10px; |
38 | | - max-width: 75%; |
39 | | - word-wrap: break-word; |
40 | | - } |
41 | | - |
42 | | - .user-message { |
43 | | - background-color: #e0f7fa; |
44 | | - align-self: flex-end; |
45 | | - text-align: right; |
46 | | - } |
47 | | - |
48 | | - .agent-message { |
49 | | - background-color: #f1f1f1; |
50 | | - align-self: flex-start; |
51 | | - text-align: left; |
52 | | - } |
53 | | - |
54 | | - #input-form { |
55 | | - display: flex; |
56 | | - border-top: 1px solid #ccc; |
57 | | - padding: 10px; |
58 | | - background: white; |
59 | | - } |
60 | | - |
61 | | - #user-input { |
62 | | - flex-grow: 1; |
63 | | - padding: 10px; |
64 | | - font-size: 16px; |
65 | | - border: 1px solid #ccc; |
66 | | - border-radius: 6px; |
67 | | - margin-right: 10px; |
68 | | - } |
69 | | - |
70 | | - button { |
71 | | - padding: 10px 16px; |
72 | | - font-size: 16px; |
73 | | - background-color: #ffc827; |
74 | | - color: black; |
75 | | - border: none; |
76 | | - border-radius: 6px; |
77 | | - cursor: pointer; |
78 | | - } |
79 | | - |
80 | | - button:hover { |
81 | | - background-color: #e6b800; |
82 | | - } |
| 8 | + body { font-family: sans-serif; margin: 0; padding: 0; display: flex; flex-direction: column; height: 100vh; } |
| 9 | + #chat { flex: 1; overflow-y: auto; padding: 1em; background: #f4f4f4; } |
| 10 | + #input-form { display: flex; padding: 1em; background: #fff; } |
| 11 | + input { flex: 1; padding: 0.5em; font-size: 1em; } |
| 12 | + button { padding: 0.5em 1em; } |
| 13 | + .user { font-weight: bold; margin-top: 1em; } |
| 14 | + .agent { margin-left: 1em; color: #333; } |
83 | 15 | </style> |
84 | 16 | </head> |
85 | 17 | <body> |
86 | | - |
87 | | - <h1>Indicatiehulp.ai</h1> |
88 | | - |
89 | 18 | <div id="chat"></div> |
90 | | - |
91 | 19 | <form id="input-form"> |
92 | | - <input type="text" id="user-input" placeholder="Typ je bericht..." autocomplete="off" /> |
93 | | - <button type="submit">Verstuur</button> |
| 20 | + <input type="text" id="user-input" placeholder="Typ hier je vraag..." autocomplete="off" /> |
| 21 | + <button type="submit">Verzend</button> |
94 | 22 | </form> |
95 | | - |
96 | 23 | <script src="script.js"></script> |
97 | | - |
98 | 24 | </body> |
99 | 25 | </html> |
0 commit comments