-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
251 lines (203 loc) · 10.6 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
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
<!-- Codeing By cymilad -->
<!doctype html>
<html x-data="darkmode" lang="fa" dir="rtl" :class="{'dark' : darkmode}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.rtl.min.css" integrity="sha384-dpuaG1suU0eT09tx5plTaGMLBsfDLzUCCUXOY2j/LSvXYuG6Bqs43ALlhIqAJVRb" crossorigin="anonymous">-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="css/bootstrap-icons.min.css">
<link rel="stylesheet" href="css/bootstrap.rtl.min.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY="
crossorigin=""/>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo="
crossorigin=""></script>
<link rel="icon" href="image/coming-soon.ico">
<title>به زودی برمیگردیم</title>
</head>
<body class="dark-bg-body-dark">
<!-- Switch -->
<div class="d-flex align-items-center p-4 justify-content-end">
<i class="bi bi-brightness-high-fill fs-4 me-2 lh-0 dark-text-white"></i>
<div class="form-check form-switch">
<input x-model="darkmode" class="form-check-input darkmode-switch" type="checkbox" role="switch" id="flexSwitchCheckDefault">
</div>
<i class="bi bi-moon-stars-fill fs-5 ms-2 lh-0 dark-text-white"></i>
</div>
<!-- Header -->
<header class="header text-gray dark-text-white">
<div class="container">
<div class="row text-center">
<h2 class="fw-bold mb-4"><span class="text-primary">لورم ایپسوم</span><span id="text"></span></h2>
<p class="lh-lg">لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است.</p>
</div>
<div x-data="countdown" class="row countdown justify-content-center my-5">
<div>
<h3 class="fw-bold" x-text="days"></h3>
<h5 class="mb-0">روز</h5>
</div>
<div>
<h3 class="fw-bold" x-text="hours"></h3>
<h5 class="mb-0">ساعت</h5>
</div>
<div>
<h3 class="fw-bold" x-text="minutes"></h3>
<h5 class="mb-0">دقیقه</h5>
</div>
<div>
<h3 class="fw-bold" x-text="seconds"></h3>
<h5 class="mb-0">ثانیه</h5>
</div>
</div>
<div class="row justify-content-center text-center">
<div class="col-12">
<h6 class="mb-4">لورم ایپسوم ساختگی با تولید نا مفهوم</h6>
</div>
<div class="col-12 col-sm-6 col-lg-4">
<div class="input-group mb-3">
<input style="text-align: center" type="text" placeholder="[email protected]" class="form-control">
<button class="btn btn-primary" type="button">عضویت</button>
</div>
</div>
<div class="col-12 social-links mt-5">
<a href="https://t.me/cymilad" target="_blank"><i class="lh-0 bi bi-telegram"></i></a>
<a href="https://instagram.com/cymilad" target="_blank"><i class="lh-0 bi bi-instagram"></i></a>
<a href="https://twitter.com/cymilad" target="_blank"><i class="lh-0 bi bi-twitter"></i></a>
<a href="https://github.com/cymilad" target="_blank"><i class="lh-0 bi bi-github"></i></a>
<a href="#"><i class="bi bi-linkedin"></i></a>
</div>
</div>
</div>
</header>
<section class="contact">
<div class="container my-5">
<div class="row text-center justify-content-center">
<h2 class="fw-bold">ارتباط با ما</h2>
<hr>
</div>
<div class="row gy-4">
<div class="col-lg-5">
<div class="card">
<div class="d-flex align-items-center">
<i class="bi bi-geo-alt me-3"></i>
<div>
<h5 class="fw-bold">آدرس : </h5>
<p class="mb-0">لورم ایپسوم متن ساختگی</p>
</div>
</div>
<div class="d-flex align-items-center my-4">
<i class="bi bi-envelope me-3"></i>
<div>
<h5 class="fw-bold">ایمیل :</h5>
<p class="mb-0">[email protected]</p>
</div>
</div>
<div class="d-flex align-items-center">
<i class="bi bi-phone me-3"></i>
<div>
<h5 class="fw-bold">شماره موبایل :</h5>
<p class="mb-0">09010000000</p>
</div>
</div>
<div id="mapid" class="mt-4" style="height: 325px;"></div>
</div>
</div>
<div class="col-lg-7">
<form class="card h-100">
<div class="row gy-3">
<div class="col-md-6">
<label class="form-label fw-bold" for="name">نام : </label>
<input type="text" name="name" class="form-control" id="name" required="">
</div>
<div class="col-md-6">
<label class="form-label fw-bold" for="name">ایمیل :</label>
<input type="email" class="form-control" name="email" id="email" required="">
</div>
</div>
<div class="mt-3">
<label class="form-label fw-bold" for="name">موضوع :</label>
<input type="text" class="form-control" name="subject" id="subject" required="">
</div>
<div class="mt-3">
<label class="form-label fw-bold" for="name">متن پیام : </label>
<textarea class="form-control" name="message" rows="10" required=""></textarea>
</div>
<div class="text-center">
<button class="btn btn-primary mt-5" type="submit">ارسال پیام</button>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn.min.js"></script>
<script src="https://unpkg.com/[email protected]"></script>
<script>
document.addEventListener('alpine:init', () => {
Alpine.data('darkmode', () => ({
darkmode: false,
init(){
if (localStorage.theme === 'dark'){
this.darkmode = true;
} else {
this.darkmode = false;
}
this.$watch('darkmode', (value) => {
if (value){
localStorage.theme = 'dark';
}
else {
localStorage.theme = 'light';
}
})
}
})),
Alpine.data('countdown', () => ({
days: '00',
hours: '00',
minutes: '00',
seconds: '00',
init(){
let endDate = new Date(2024, 6 , 10).getTime();
setInterval(() => {
let nowDate = new Date().getTime()
let time = endDate - nowDate;
if (time >= 0){
this.days = this.format(Math.floor(time / (1000 * 60 * 60 * 24)));
this.hours = this.format(Math.floor((time % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)));
this.minutes = this.format(Math.floor((time % (1000 * 60 * 60)) / (1000 * 60)));
this.seconds = this.format(Math.floor((time % (1000 * 60)) / 1000));
}
}, 1000)
},
format(num){
return num < 10 ? '0' + num : num;
}
}));
})
</script>
<!-- Text Clear -->
<script>
const textElement = document.querySelector('#text');
ityped.init(textElement, { strings: [' متن ساختی..', ' سادگی نامفهوم از صنعت']});
</script>
<!-- Map -->
<script>
let mymap = L.map('mapid').setView([28.958454818583988, 50.82691107592173], 12);
L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw', {
maxZoom: 18,
attribution: 'Map data © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, ' +
'Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',
id: 'mapbox/streets-v11',
tileSize: 512,
zoomOffset: -1
}).addTo(mymap);
L.marker([35.67426901547201, 51.394755885994755]).bindPopup("Bushehr International Airport").addTo(mymap).openPopup();
</script>
</body>
</html>