This repository was archived by the owner on Mar 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
161 lines (157 loc) · 6.45 KB
/
Copy pathindex.html
File metadata and controls
161 lines (157 loc) · 6.45 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
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<link rel="stylesheet" href="./css/style.css">
<!-- DRIVEBACK SYNC EXPERIMENTS SNIPPET -->
<style>
.dbex-content-hide {
opacity: 0 !important
}
</style>
<script type="text/javascript">
window.DBEX_HIDE_CONTENT_STRATEGY = 'sync'; // async/sync (default: sync)
window.DBEX_HIDE_CONTENT_TIMEOUT = 1000; // minimum 1000/4000 for sync/async
</script>
<script type="text/javascript" src="./js/dbex-sync.min.js"></script>
<!-- // DRIVEBACK SYNC EXPERIMENTS SNIPPET -->
</head>
<body>
<header>
<div class="container">
<div class="header-content">
<h1 id="main_title">
<img src="./img/logo/db@2x.png" alt="logo">
<p>(Контрольная ветка | 20% трафика)</p>
</h1>
</div>
</div>
</header>
<main>
<section class="first-block">
<div class="container">
<div class="main-content">
<img id="main_banner" src="./img/banner1.jpg" />
</div>
</div>
</section>
<section class="second-block">
<div class="container">
<div class="catalog-content">
<div class="catalog">
<a href="./product.html">
<div class="catalog-item">
<div class="item-image">
<img src="./img/macbook@2x.png" alt="">
</div>
<div class="item-content">
<h2>Macbook Pro</h2>
<ul class="catalog-item-des">
<li>2-ядерный процессор Intel Core i5 7-го поколения с тактовой частотой 2,3 ГГц</li>
<li>Ускорение Turbo Boost до 3,6 ГГц</li>
<li>8 ГБ памяти LPDDR3 2133 МГц</li>
<li>SSD-накопитель ёмкостью 128 ГБ1</li>
<li>Графический процессор Intel Iris Plus Graphics 640</li>
<li>Два порта Thunderbolt 3</li>
</ul>
</div>
<div class="item-footer">
<small class="item-rank">★ ★ ★ ★ ☆</small>
</div>
</div>
</a>
<a href="./product.html">
<div class="catalog-item">
<div class="item-image">
<img src="./img/macbook@2x.png" alt="">
</div>
<div class="item-content">
<h2>Macbook Pro</h2>
<ul class="catalog-item-des">
<li>2-ядерный процессор Intel Core i5 7-го поколения с тактовой частотой 2,3 ГГц</li>
<li>Ускорение Turbo Boost до 3,6 ГГц</li>
<li>8 ГБ памяти LPDDR3 2133 МГц</li>
<li>SSD-накопитель ёмкостью 128 ГБ1</li>
<li>Графический процессор Intel Iris Plus Graphics 640</li>
<li>Два порта Thunderbolt 3</li>
</ul>
</div>
<div class="item-footer">
<small class="item-rank">★ ★ ★ ★ ☆</small>
</div>
</div>
</a>
<a href="./product.html">
<div class="catalog-item">
<div class="item-image">
<img src="./img/macbook@2x.png" alt="">
</div>
<div class="item-content">
<h2>Macbook Pro</h2>
<ul class="catalog-item-des">
<li>2-ядерный процессор Intel Core i5 7-го поколения с тактовой частотой 2,3 ГГц</li>
<li>Ускорение Turbo Boost до 3,6 ГГц</li>
<li>8 ГБ памяти LPDDR3 2133 МГц</li>
<li>SSD-накопитель ёмкостью 128 ГБ1</li>
<li>Графический процессор Intel Iris Plus Graphics 640</li>
<li>Два порта Thunderbolt 3</li>
</ul>
</div>
<div class="item-footer">
<small class="item-rank">★ ★ ★ ★ ☆</small>
</div>
</div>
</a>
<a href="./product.html">
<div class="catalog-item">
<div class="item-image">
<img src="./img/macbook@2x.png" alt="">
</div>
<div class="item-content">
<h2>Macbook Pro</h2>
<ul class="catalog-item-des">
<li>2-ядерный процессор Intel Core i5 7-го поколения с тактовой частотой 2,3 ГГц</li>
<li>Ускорение Turbo Boost до 3,6 ГГц</li>
<li>8 ГБ памяти LPDDR3 2133 МГц</li>
<li>SSD-накопитель ёмкостью 128 ГБ1</li>
<li>Графический процессор Intel Iris Plus Graphics 640</li>
<li>Два порта Thunderbolt 3</li>
</ul>
</div>
<div class="item-footer">
<small class="item-rank">★ ★ ★ ★ ☆</small>
</div>
</div>
</a>
</div>
</div>
</div>
</section>
</main>
<footer>
<div class="container">
<div class="footer-content">
<img src="./img/logo/db@2x.png" alt="footer-logo">
</div>
</div>
</footer>
<script type="text/javascript">
// main title experiment
dbexSync('40cde066-381f-4497-938c-e1af8de93dff', [0.2, 0.4, 0.4], {
1: function () {
jQuery('#main_title').text('Black Friday (Вариация 1 | 40% трафика)');
},
2: function () {
jQuery('#main_title').text('Cyber Monday (Вариация 2 | 40% трафика)');
}
});
// main banner experiment
dbexSync('d1b95b04-d0b2-4e70-8990-57726e7148b6', [0.5, 0.5], {
1: function () {
jQuery('#main_banner').attr('src', './img/banner2.jpg');
}
});
</script>
</body>
</html>