-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
136 lines (136 loc) · 5.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- displays site properly based on user's device -->
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./images/favicon-32x32.png"
/>
<title>Frontend Mentor | Chat app CSS illustration</title>
<link rel="stylesheet" href="css/styles.css" />
</head>
<body>
<div class="container">
<main class="main">
<div class="chat-app-illustration-wrapper">
<div class="chat-app">
<div class="chat-app-header">
<svg
width="4"
height="10"
viewBox="0 0 4 10"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M2.10557 0.552792C2.35256 0.0588133 2.95324 -0.141411 3.44721 0.105578C3.90591 0.334925 4.11131 0.869235 3.94056 1.3399L3.89443 1.44722L2.118 5.00001L3.89443 8.55279C4.12377 9.01149 3.96751 9.56218 3.54851 9.83626L3.44721 9.89443C2.98852 10.1238 2.43783 9.96752 2.16374 9.54852L2.10557 9.44722L0.105573 5.44722C-0.0150818 5.20591 -0.0323182 4.92798 0.0538637 4.67621L0.105573 4.55279L2.10557 0.552792Z"
fill="white"
/>
</svg>
<img src="images/avatar.jpg" alt="Samuel Green" class="avatar" />
<div>
<span class="contact-name">Samuel Green</span>
<span class="contact-status">Available to Walk</span>
</div>
<svg
width="2"
height="8"
viewBox="0 0 2 8"
fill="none"
xmlns="http://www.w3.org/2000/svg"
class="more-options-icon"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M2 1C2 1.55228 1.55228 2 1 2C0.447715 2 0 1.55228 0 1C0 0.447715 0.447715 0 1 0C1.55228 0 2 0.447715 2 1ZM2 4C2 4.55228 1.55228 5 1 5C0.447715 5 0 4.55228 0 4C0 3.44772 0.447715 3 1 3C1.55228 3 2 3.44772 2 4ZM1 8C1.55228 8 2 7.55228 2 7C2 6.44772 1.55228 6 1 6C0.447715 6 0 6.44772 0 7C0 7.55228 0.447715 8 1 8Z"
fill="white"
/>
</svg>
</div>
<div class="chat-body">
<p class="message message-received">
That sounds great. I’d be happy with that.
</p>
<p class="message message-received">
Could you send over some pictures of your dog, please?
</p>
<div class="images-wrapper">
<img
src="images/dog-image-1.jpg"
alt="Brown dog with tongue out"
class="chat-image"
/>
<img
src="images/dog-image-2.jpg"
alt="Brown dog with tongue out laying in dirt"
class="chat-image"
/>
<img
src="images/dog-image-3.jpg"
alt="Brown dog carrying a stick"
class="chat-image"
/>
</div>
<p class="message message-sent">
Here are a few pictures. She’s a happy girl!
</p>
<p class="message message-sent">Can you make it?</p>
<p class="message message-received">
She looks so happy! The time we discussed works. How long shall
I take her out for?
</p>
<p class="message service">
<span class="service-option">30 minute walk</span
><span class="service-cost">$29</span>
</p>
<p class="message service">
<span class="service-option">1 hour walk</span
><span class="service-cost">$49</span>
</p>
<p class="chat-input">
<span>Type a message…</span>
<span class="send-button">
<svg
width="7"
height="10"
viewBox="0 0 7 10"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M1.06419 0.465024C1.50167 0.0284666 2.19006 -0.00511479 2.66614 0.36428L2.78047 0.465024L6.42125 4.09812C6.85873 4.53467 6.89238 5.22161 6.52221 5.69669L6.42125 5.81077L2.78047 9.44387C2.30653 9.9168 1.53813 9.9168 1.06419 9.44387C0.626713 9.00731 0.59306 8.32038 0.963236 7.8453L1.06419 7.73121L3.84588 4.95445L1.06419 2.17768C0.626713 1.74112 0.59306 1.05419 0.963236 0.579112L1.06419 0.465024Z"
fill="white"
/>
</svg>
</span>
</p>
</div>
</div>
</div>
<section class="text-content">
<h1 class="heading">Simple booking</h1>
<p class="service-description">
Stay in touch with our dog walkers through the chat interface. This
makes it easy to discuss arrangements and make bookings. Once the
walk has been completed you can rate your walker and book again all
through the chat.
</p>
</section>
</main>
<footer>
<p class="attribution">
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank"
>Frontend Mentor</a
>. Coded by
<a href="https://nakoyawilson.netlify.app/">Nakoya Wilson</a>.
</p>
</footer>
</div>
</body>
</html>