-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathContactus.php
143 lines (123 loc) · 4.29 KB
/
Contactus.php
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
141
142
143
<?php require 'includes/header.php' ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="path/to/font-awesome/css/font-awesome.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
/>
<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=Playfair+Display:ital@1&display=swap"
rel="stylesheet"
/>
<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=Playfair+Display:ital@1&family=Roboto:ital,wght@0,100;1,300;1,500&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="CSS/header-style.css" />
<link rel="stylesheet" href="CSS/footer-style.css" />
<link rel="stylesheet" href="CSS/style.css" />
<body>
<section class="contact">
<h2>Contact Us</h2>
<div class="container">
<div class="contactInfo">
<div class="box">
<div class="icon"><i class="fas fa-map-marker-alt"></i></div>
<div class="text">
<h3>Address</h3>
<p>123 Addis Ababa, Ethiopia</p>
</div>
</div>
<div class="box">
<div class="icon"><i class="fas fa-phone"></i></div>
<div class="text">
<h3>Phone</h3>
<p>+251 908070650</p>
</div>
</div>
<div class="box">
<div class="icon"><i class="fas fa-envelope"></i></div>
<div class="text">
<h3>Email</h3>
<p>[email protected]</p>
</div>
</div>
</div>
<div class="contactForm">
<?php if (isset($_GET['feedback'])): ?>
<div class="feedback">
<p><?php echo htmlspecialchars($_GET['feedback']); ?></p>
</div>
<?php endif; ?>
<form method="post" action="contactpro.php">
<h2>Send Message</h2>
<div class="inputBox">
<input type="text" name="fullname" required="required" />
<span>Full Name</span>
</div>
<div class="inputBox">
<input type="email" name="email" required="required" />
<span>Email</span>
</div>
<div class="inputBox">
<textarea name="message" required="required"></textarea>
<span>Type your Message</span>
</div>
<div class="inputBox">
<input type="submit" value="Send" />
</div>
</form>
</div>
</div>
</section>
<div class="cta-container">
<h2>Ready to Transform Your Space?</h2>
<p>
Discover the artistry of handmade crafts at Maleda Handcraft. Let's
bring your vision to life!
</p>
<a href="tel:+123456789" class="cta-button">Contact Us</a>
</div>
</div>
<style>
.cta-container {
text-align: center;
margin-top: 50px;
color: #983c14;
font-size: 25px;
background-image: url(../CSS/Image/CTA.png);
padding: 20px 0;
background-position: absolute;
top: 0;
left: 0;
}
.cta-button {
display: inline-block;
padding: 15px 30px;
background-color: #983c14;
color: #fff;
text-decoration: none;
font-weight: bold;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease-in-out;
}
.cta-button:hover {
background-color: #d9d9d9;
color: #983c14;
}
</style>
</body>
</html>
<?php require 'includes/footer.php' ?>