-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
369 lines (338 loc) · 17.3 KB
/
index.html
File metadata and controls
369 lines (338 loc) · 17.3 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
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="description" content="Attarwij, Agency delivers innovative marketing solutions to boost your business. Enhance your visibility and growth with our tailored strategies. Contact us for your online success.">
<meta name="keywords" content="Attarwij Agency, atarwij, Innovative marketing solutions, Business growth strategies, Marketing partner,Increase visibility,Boost business success, Online marketing services, Personalized marketing strategies, Client-focused marketing, Digital marketing expertise, Enhance online presence, Targeted marketing campaigns, Marketing consultancy, Brand growth solutions, Marketing for businesses, Marketing agency contact">
<meta name="author" content="Nassim Oulkaid, Houssam ELBERROUHI, Bettach Nada, Omar Bouhaddach">
<link rel="icon" type="image/x-icon" href="images/WhatsApp Image 2024-07-09 at 14.13.03.jpeg">
<title>ATTARWIJ AGENCY</title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="index2.css">
<style>
.notification {
display: none;
position: fixed;
bottom: 20px;
right: 20px;
background-color: #4CAF50;
color: white;
padding: 15px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
z-index: 1000;
}
</style>
<link rel="stylesheet" href="styleBot.css">
<script src="scriptBot.js" defer></script>
</head>
<body >
<div id="content">
<header>
<div class="brand-name">
<img src="images/WhatsApp Image 2024-06-13 at 17.16.02.jpeg" alt="Logo" class="logo">
<div>
<span class="orange">A</span>
<span class="blue">TTARWIJ</span>
<span class="orange">A</span>
<span class="blue">GENCY</span>
</div>
</div>
<nav class="navbar">
<ul class="nav-links">
<li><a href="#accueil">Accueil</a></li>
<li><a href="#travail">Travail</a></li>
<li><a href="#servicee">Services</a></li>
<li><a href="#connecte">Contactez-nous</a></li>
</ul>
<div class="menu-icon" onclick="toggleMenu()">☰</div>
</nav>
</header>
<div class="background-container">
<video autoplay muted loop playsinline id="background-video">
<source src="images/video.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="overlay">
<section id="home">
<h1><span class="orange">A</span><span class="blue">TTARWIJ</span> <span class="orange">A</span><span class="blue">GENCY</span></h1>
<br>
<p>Où chaque pixel compte. Transformez votre marque en une expérience inoubliable avec nos stratégies de marketing révolutionnaires.
Des idées audacieuses, une exécution impeccable - découvrez comment nous redéfinissons les normes du succès numérique.</p>
</section>
</div>
<img src="images/Image 13.png" alt="Background" class="fallback-image">
</div>
</div>
<section id="travail">
<div class="background-container1">
<div class="content">
<div class="text">
<section id="about">
<h1><b>Notre Mission</b></h1><br><br><br>
<p><b>Attarwij Agency</b> est votre partenaire de confiance en marketing,
offrant des solutions innovantes pour propulser votre entreprise vers le succès.
Avec une approche personnalisée et des stratégies ciblées, nous sommes déterminés à maximiser votre visibilité et à stimuler votre croissance.
Découvrez comment notre expertise peut transformer votre présence en ligne et vous démarquer de la concurrence.</p>
</section>
</div>
</div>
</div>
</section>
<section id="servicee">
<h1 class="services-title">Services</h1><br><br>
<section id="services">
<section class="services full-width-section">
<div class="service" onclick="showServiceDetails('Centre d\'appel 24/7')">
<img src="images/call.png" alt="Contact Icon">
<h2>Centre d'appel <br>24/7</h2>
</div>
<div class="service" onclick="showServiceDetails('Marketing Digital')">
<img src="images/marketing digitale.png" alt="Marketing Digital Icon">
<h2>Marketing Digital</h2>
</div>
<div class="service" onclick="showServiceDetails('Vente')">
<img src="images/vente.png" alt="Vente Icon">
<h2>Vente</h2>
</div>
<div class="service" onclick="showServiceDetails('Création Siteweb')">
<img src="images/création siteweb.png" alt="Création Siteweb Icon">
<h2>Création <br>Siteweb</h2>
</div>
<div class="service" onclick="showServiceDetails('Création de Contenu')">
<img src="images/création de contenu.png" alt="Création de Contenu Icon">
<h2>Création <br>de Contenu</h2>
</div>
<div class="learn-more-container">
<a href="services.html" class="learn-more-button">Savoir plus</a>
</div>
</section>
</section>
</section>
<script>
function showServiceDetails(serviceName) {
alert("You clicked on " + serviceName);
}
</script>
<section id="connecte" class="full-width-section">
<div class="stay-connected-text">
<section id="contact">
<h2><span style="color: #EFB034;">R</span>ester <span style="color: #EFB034;">C</span>onnecté</h2>
</section>
</div>
<p>Nous serions ravis de connaître les objectifs de votre projet. Contactez-nous dès aujourd'hui pour une
<br><span class="span">PROPOSITION PERSONNALISÉE GRATUITE!</span></p>
</section>
<section class="contact">
<div class="container">
<form id="contactForm" method="post" action="data.php">
<br>
<label for="fullname"></label>
<input type="text" id="fullname" name="fullname" required placeholder="Nom et Prénom">
<label for="email"></label>
<input type="email" id="email" name="email" required placeholder="Email">
<label for="phone"></label>
<input type="number" id="phone" name="phone" required placeholder="Numéro de téléphne ">
<label for="company"></label>
<input type="text" id="company" name="company" placeholder="Nom de l'entreprise">
<label for="message"></label>
<textarea id="message" name="message" placeholder="votre Message"></textarea>
<p class="services-requested-title" style="margin-left: 1px;">Services demandés:</p>
<div class="services-requested">
<div class="checkbox-column">
<div class="custom-checkbox">
<input type="checkbox" id="social_media_strategy" name="services[]" value="Social Media Strategy">
<label for="social_media_strategy">Stratégie de médias sociaux</label>
</div>
<div class="custom-checkbox">
<input type="checkbox" id="influencer_marketing" name="services[]" value="Influencer Marketing">
<label for="influencer_marketing">Marketing d'influence</label>
</div>
<div class="custom-checkbox">
<input type="checkbox" id="social_media_management" name="services[]" value="Social Media Management">
<label for="social_media_management">Gestion des médias sociaux</label>
</div>
</div>
<div class="checkbox-column">
<div class="custom-checkbox">
<input type="checkbox" id="website_design_development" name="services[]" value="Website Design and Development">
<label for="website_design_development">Conception et développement de sites Web</label>
</div>
<div class="custom-checkbox">
<input type="checkbox" id="content_production" name="services[]" value="Content Production">
<label for="content_production">Production de contenu</label>
</div>
<div class="custom-checkbox">
<input type="checkbox" id="community_management" name="services[]" value="Community Management">
<label for="community_management">Gestionnaire de communauté</label>
</div>
</div>
</div>
<br><br><br>
<div class="button-container">
<button type="submit" id="submmit">envoyer</button>
</div>
<br>
</form>
</div>
</section>
<div class="notification" id="notification">Les données ont été insérées avec succès.</div>
<br><br>
<footer>
<div class="footer-content">
<div class="footer-column-container">
<div class="test" style="margin-top: 10px; margin-bottom: 0px;">
<div class="footer-column">
<div class="footer-social-icons">
<img src="images/Instagram 1.png" alt="Instagram Icon">
<span>Attarwijagency</span>
</div>
<div class="footer-social-icons">
<img src="images/Logo facebook 2.png" alt="Facebook Icon">
<span>Attarwijagency</span>
</div>
</div>
</div>
<div class="footer-column">
<div class="footer-social-icons">
<img src="images/Email 2.png" alt="Email Icon">
<span>attarwijagency@gmail.com</span>
</div>
<div class="footer-social-icons">
<img src="images/Phone call 1.png" alt="Phone Icon">
<span>+212781456887</span>
</div>
</div>
</div>
<nav class="footer-nav">
<ul>
<li><a href="#">Accueil</a></li>
<li><a href="#servicee">Services</a></li>
<li><a href="#travail">Travail</a></li>
<li><a href="#connecte">Contactez-nous</a></li>
</ul>
</nav>
</div>
</footer>
<script>
document.getElementById('contactForm').addEventListener('submit', function(event) {
event.preventDefault();
var form = this;
fetch(form.action, {
method: 'POST',
body: new FormData(form)
}).then(response => response.text())
.then(data => {
if (data === 'success') {
document.getElementById('notification').style.display = 'block';
setTimeout(() => {
document.getElementById('notification').style.display = 'none';
}, 3000);
} else {
alert(data);
}
});
});
</script>
</div>
<div>
<button class="toggler" >
<span><img src="images/chatbot.png" alt="Chat Icon" style="width: 90px; height: 90px;"></span>
<span><img src="images/retirer.png" alt="close chat" style="width: 70px;height: 70px;background-color: #9b9b9b;border-radius: 50%;"></span>
</button>
<div class="chatBot">
<div class="Header2">
<img src="images/chatbot (1).png" style="width: 40px; height: 40px;">
<div class="disc">
<span class="Nome">Chatbot</span><br>
<span class="onlin" style="color:rgb(218, 138, 18)">online</span>
<span><img class="closing_mobile" src="images/retirer.png" alt="close chat" style="width: 30px;height: 30px; "></span>
</div>
</div>
<!-- Options Container -->
<div class="chat-options">
</div>
<ul class="chatBox" style="padding-top: 10px; margin-top: 0px; padding-bottom: 10px;height: 284px;">
<li class="chat incoming">
<span>🤖</span>
<p>Hi, Je suis m.Bot 👋<br>bienvenue chez <i style="color: #fbaf00;">ATTARWIJ AGENCY</i></p>
</li>
</ul>
<div class="chat-input">
<textarea placeholder="Enter your message..." ></textarea>
<input type="button" id="sentBtn" value="send">
<span id="power" style="color: rgb(218, 138, 18);">powered by @Attarwij Agency </span>
</div>
</div>
</div>
<div class="notification" id="notification">Les données ont été insérées avec succès.</div>
<script src="index.js"></script>
<script type="module">
// Import the functions you need from the SDKs you need
import { initializeApp } from "https://www.gstatic.com/firebasejs/10.12.3/firebase-app.js";
import { getDatabase, ref, set, child } from "https://www.gstatic.com/firebasejs/10.12.3/firebase-database.js";
// Your web app's Firebase configuration
const firebaseConfig = {
apiKey: "AIzaSyCpiprLbn4VV9xKayVvWt7sZ0ecPYbSgJw",
authDomain: "attarwij-989f2.firebaseapp.com",
databaseURL: "https://attarwij-989f2-default-rtdb.firebaseio.com",
projectId: "attarwij-989f2",
storageBucket: "attarwij-989f2.appspot.com",
messagingSenderId: "995411626654",
appId: "1:995411626654:web:7e3783b9f3cc340d91898f"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
const db = getDatabase(app);
document.getElementById("submmit").addEventListener('click', function(e) {
e.preventDefault();
const fullname = document.getElementById('fullname').value;
const email = document.getElementById('email').value;
const phone = document.getElementById('phone').value;
const company = document.getElementById('company').value;
const message = document.getElementById('message').value;
// Collect and format selected services
var services = [];
document.querySelectorAll('input[name="services[]"]:checked').forEach(function(checkbox) {
services.push(checkbox.nextElementSibling.textContent.trim());
});
set(ref(db, 'user/' + fullname), {
Username: fullname,
Email: email,
Phone: phone,
Company: company,
Message: message,
Services: services.length > 0 ? "Les services demandés sont : " + services.join(', ') : "Aucun service sélectionné"
}).then(() => {
document.getElementById('notification').style.display = 'block';
setTimeout(() => {
document.getElementById('notification').style.display = 'none';
}, 3000);
}).catch((error) => {
console.error("Error adding document: ", error);
});
});
</script>
<script>
function toggleMenu() {
const navLinks = document.querySelector('.nav-links');
navLinks.classList.toggle('active');
document.body.classList.toggle('no-scroll');
}
document.querySelectorAll('.nav-links a').forEach(link => {
link.addEventListener('click', () => {
const navLinks = document.querySelector('.nav-links');
if (navLinks.classList.contains('active')) {
navLinks.classList.remove('active');
document.body.classList.remove('no-scroll');
}
});
});
function toggleSearch() {
const searchBar = document.querySelector('.search-bar input');
searchBar.classList.toggle('active');
}
</script>
</body>
</html>