-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
164 lines (150 loc) · 6.61 KB
/
contact.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>contact</title>
<link rel="stylesheet" href="/style/style.css">
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
</head>
<body>
<section class="header">
<a href="#" > <img src="/imag/ logo.jpg" alt=""></a>
<details><summary>All</summary>
<div>
<!-- Content of the dropdown -->
<p>pants</p>
<p>lower</p>
<p>shirts</p>
<p>T-SHIRTS</p>
<p>top</p>
<!-- Add more content if needed -->
</div>
</details>
<input type="text" id="searchInput" placeholder="Enter your search query">
<!-- Add a search icon -->
<span id="searchIcon" class="search-icon" onclick="performSearch()">🔍</span>
<ul class="navibar" id="navbar">
<li><a href="/index.html" ><span>home</span><i class="fa fa-home"></i></a></li>
<li><a href="/shop.html"><span>shop</span><i class="fa fa-shopping-cart"></i></a></li>
<li><a href="/about.html"><span>about</span><i class="fa fa-info-circle"></i></a></li>
<li><a href="/contact.html" class="active"><span>contact</span><i class="fa fa-envelope"></i></a></li>
<li><a href="/sign.html"><span>sign</span><i class="fa fa-user"></i></a></li>
<li id="lg-bag"><a href="/cart.html"><i class="fa fa-shopping-basket"></i></a></li>
<a href="#" id="close"><i class="fa fa-times"></i></a>
</ul>
<div id="mobile">
<a href="cart.html"><i class="fa fa-shopping-basket"></i></a>
<i id="bar" class="fa fa-outdent"></i>
</div>
</section>
<section id="page-header" class="contact-header">
<p>Thanks for contacting us
</p>
<h2>#Let's talk </h2>
</section>
<section id="contact-detail" class="section">
<div class="detail">
<span>Get in touch</span>
<h2>visit one of our location and contact us </h2>
<h3>head office</h3>
<div>
<li>
<i class="fa fa-map"></i>
<p>Voluptas accusantium maxime asperiores assumen</p>
</li>
<li>
<i class="fa fa-envelope"></i>
<p>[email protected]</p>
</li>
<li>
<i class="fa fa-phone"></i>
<p>below is number is given for calling</p>
</li>
<li>
<i class="fa fa-clock-o"></i>
<p>MON-SUT:10AM-11PM</p>
</li>
</div>
</div>
<div class="map">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d55361.61482197111!2d77.85362621094113!3d29.861363053908235!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x390eb36e08b35119%3A0x798f5dc25ebd0a72!2sRoorkee%2C%20Uttarakhand!5e0!3m2!1sen!2sin!4v1693894030845!5m2!1sen!2sin" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</section>
<section id="form-detail" class="section">
<span>Leave a message</span>
<h2>we are here to hear you</h2>
<input type="text" placeholder="your-name">
<input type="text" placeholder="e-mail">
<input type="text" placeholder="subject">
<textarea name="" id="" cols="30" rows="10" placeholder="your-message"></textarea>
<button class="normal" id="submit-button">Submit</button>
</section>
<footer >
<div class="col">
<img src="/imag/ logo.jpg" alt="">
<h4>about us</h4>
<p><strong>Address:</strong>jawahar bhavan IIT ROORKEE</p>
<p><strong>Phone:</strong>**********</p>
<div class="follow">
<h4>follow us</h4>
<div class="icon">
<a href="#" class="fa fa-facebook"> </a>
<a href="#" class="fa fa-twitter"> </a>
<a href="#" class="fa fa-linkedin"> </a>
<a href="#" class="fa fa-instagram"> </a>
</div>
</div>
</div>
<div class="col">
<h4>About</h4>
<a href="#">About us</a>
<a href="#">Privacy policy</a>
<a href="#">Terms and conditions</a>
<a href="#">contact us</a>
</div>
<div class="col">
<h4>My account</h4>
<a href="#">Sign In </a>
<a href="#">Veiw cart</a>
<a href="#">Track my order</a>
<a href="#">Help</a>
</div>
<div class="col install">
<h4>Install App</h4>
<p>from app store or Google play</p>
<div class="row">
<a href="https://apps.apple.com/app/your-ios-app-id" target="_blank">
<img src="https://w7.pngwing.com/pngs/270/658/png-transparent-app-store-apple-google-play-apple-text-logo-mobile-phones-thumbnail.png" alt="Download on the App Store (iOS)">
</a>
<!-- Link to Google Play Store -->
<a href="https://play.google.com/store/apps/details?id=your.android.app.package" target="_blank">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTexJ5lzjJWp0rlRO80IWZph86kxb8bU7-mkvwJx-MLnw&s" alt="Get it on Google Play (Android)">
</a>
</div>
</div>
</footer>
<script src="/js/source.js">
document.addEventListener('DOMContentLoaded', function() {
const submitButton = document.getElementById('submit-button');
if (submitButton) {
submitButton.addEventListener('click', function() {
// Simulate form submission
const isSuccessful = Math.random() < 0.5; // Simulated success or error
// Determine the result message
let resultMessage = '';
if (isSuccessful) {
resultMessage = 'Submission successful!';
} else {
resultMessage = 'Submission failed. Please try again.';
}
// Encode the message for URL
const encodedMessage = encodeURIComponent(resultMessage);
// Redirect to another page with the result message in the URL
window.location.href = 'result.html?message=' + encodedMessage;
});
}
});
</script>
</body>
</html>