-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtimer.js
More file actions
26 lines (24 loc) · 1.03 KB
/
timer.js
File metadata and controls
26 lines (24 loc) · 1.03 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
class Time {
constructor() {
this.el = document.getElementById("timer");
this.el.innerHTML = this.render();
}
render = () => {
return `<div class="container">
<div class="row text-center">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="heading-count">
<h2 class="wow fadeInDown" data-wow-delay="0.2s">تا شروع نشست بعدی</h2>
</div>
</div>
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="row time-countdown justify-content-center wow fadeInUp" data-wow-delay="0.2s">
<div id="clock" class="time-count"></div>
</div>
<a target="_blank" href="https://calendar.google.com/calendar/event?action=TEMPLATE&tmeid=NmN2NWY3NHY2MzcwMDdrNzY0bmIwdGwwbmcgei5hYmJhcy4xMzcwQG0&tmsrc=z.abbas.1370%40gmail.com" class="btn btn-common wow fadeInUp" data-wow-delay="0.3s">اضافه به تقویم</a>
</div>
</div>
</div>`;
}
}
new Time()