-
Notifications
You must be signed in to change notification settings - Fork 0
/
navigation-megamenu.pug
531 lines (514 loc) · 27.2 KB
/
navigation-megamenu.pug
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
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
extend __LAYOUT-TEMPLATE.pug
block vars
- var pageTitle = "Navigation"
block content
//- h1!= pageTitle
mixin bannerConsulting
img.small-mb1(src="https://www.cognizant.com/content/dam/cognizant_foundation/images/CBC_360x100_navIMAGE.jpg", title alt="Megamenu")
h6 COGNIZANT CONSULTING
p
| Helping organizations engage people and uncover insight from data to shape the products, services and experiences they offer
a.small-p0.text-bold(href="/consulting", title="Learn More")
| Learn More
i.arrow-solid-right.text-green.small
mixin bannerAppStore
.grid-x.grid-padding-x(style="background:url(images/LTmenu-mobile.jpg) no-repeat; background-size: 100% auto; height: 250px;", alt="Megamenu")
.cell.large-6.medium-6.small-12.align-self-bottom
a.small-p0(href="https://itunes.apple.com/us/app/cognizant-perspectives/id439247923?mt=8", title="Download the iPad app", target="_blank")
img(src="https://www.cognizant.com/content/dam/cognizant_foundation/images/app-store-logo.png")
a.small-px0.small-pt1(href="https://play.google.com/store/apps/details?id=com.cognizanttechnologysolutions.perspectivesapp&hl=en", title="Download the Android app", target="_blank")
img(src="https://www.cognizant.com/content/dam/cognizant_foundation/images/9DB3D190FD6DC8155EEDBCDEB4942128BE6B.png")
mixin subnav
//- ======================================================================
//- ███████ ██ ██ ██████ ███ ██ █████ ██ ██
//- ██ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██
//- ███████ ██ ██ ██████ ██ ██ ██ ███████ ██ ██
//- ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
//- ███████ ██████ ██████ ██ ████ ██ ██ ████
//- ======================================================================
.secondary-nav.py-half.show-for-medium-xxl
.grid-container.small
.grid-x.align-middle.align-justify
.cell.shrink
a(href="https://www.cognizant.com") Cognizant.com
span.mx-qtr •
a(href="/industries") Industries
span.mx-qtr •
a(href="/services#") Services
span.mx-qtr •
a(href="/latest-thinking") Latest Thinking
.cell.shrink
a(href="/careers") Careers
span.mx-qtr •
a(href="http://news.cognizant.com/") News
span.mx-qtr •
a(href="/events") Events
span.mx-qtr •
a(href="http://investors.cognizant.com/") Investors
span.mx-half |
a(data-toggle="language-menu")
i.globe.mr-qtr
| Worldwide
// =============================================================================================
// ██ ██ ██████ ██████ ██ ██████ ██ ██ ██ ██████ ███████
// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
// ██ █ ██ ██ ██ ██████ ██ ██ ██ ██ █ ██ ██ ██ ██ █████
// ██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ███ ██ ██ ██ ██ ██
// ███ ███ ██████ ██ ██ ███████ ██████ ███ ███ ██ ██████ ███████
// ==========================``===================================================================
#language-menu.language-menu.dropdown-pane.bd0.w100.medium-w80.large-w60.xxlarge-w50.box-shadow.text-left(data-dropdown data-position="bottom" data-alignment="right" data-close-on-click="true" data-v-offset="20")
.grid-x.grid-padding-x.small.small-up-3
.cell
strong.block.mb-half AMERICAS
.mb-half
span.mr-half.flag-icon.flag-icon-ar
a(href="https://www.cognizant.com/argentina", title="Argentina") Argentina
.mb-half
span.mr-half.flag-icon.flag-icon-br
a(href="https://www.cognizant.com/brazil", title="Brazil") Brazil
.mb-half
span.mr-half.flag-icon.flag-icon-ca
a(href="https://www.cognizant.com/canada-english", title="Canada") Canada
.mb-half
span.mr-half.flag-icon.flag-icon-cr
a(href="https://www.cognizant.com/costa-rica", title="Costa Rica") Costa Rica
.mb-half
span.mr-half.flag-icon.flag-icon-sv
a(href="https://www.cognizant.com/elsalvador", title="El Salvador") El Salvador
.mb-half
span.mr-half.flag-icon.flag-icon-mx
a(href="https://www.cognizant.com/mexico", title="Mexico") Mexico
.mb-half
span.mr-half.flag-icon.flag-icon-us
a(href="/", title="United States") United States
.my1
strong.block.mb-half MIDDLE EAST
.mb-half
a(href="https://www.cognizant.com/middleeast", title="Visit our Regional Website")
i.globe.text-bold.mr-half
| Visit our Regional Website
strong.block.my-half AFRICA
.mb-half
span.mr-half.flag-icon.flag-icon-ma
a(href="https://www.cognizant.com/en-ma", title="Morocco") Morocco
span (
a(href="/en-ma", title="En") En
span |
a(href="/fr-ma", title="Fr") Fr
span )
.mb-half
span.mr-half.flag-icon.flag-icon-za
a(href="https://www.cognizant.com/south-africa", title="South Africa") South Africa
.cell
strong.block.mb-half EUROPE
.mb-half
span.mr-half.flag-icon.flag-icon-be
a(href="/nl-be", title="Belgium") Belgium
span (
a(href="/fr-be", title="Fr") Fr
span.v-middle |
a(href="/nl-be", title="Nl") Nl
span.v-middle |
a(href="/en-be", title="En") En
span )
.mb-half
span.mr-half.flag-icon.flag-icon-dk
a(href="/da-dk", title="Denmark") Denmark
.mb-half
span.mr-half.flag-icon.flag-icon-fi
a(href="https://www.cognizant.com/finland", title="Finland") Finland
.mb-half
span.mr-half.flag-icon.flag-icon-fr
a(href="/fr-fr", title="France") France
.mb-half
span.mr-half.flag-icon.flag-icon-de
a(href="/de-de", title="Germany") Germany
.mb-half
span.mr-half.flag-icon.flag-icon-hu
a(href="https://www.cognizant.com/hungary", title="Hungary") Hungary
.mb-half
span.mr-half.flag-icon.flag-icon-it
a(href="/it-it", title="Italy") Italy
.mb-half
span.mr-half.flag-icon.flag-icon-lv
a(href="/en-lv", title="Latvia") Latvia
.mb-half
span.mr-half.flag-icon.flag-icon-lt
a(href="https://www.cognizant.com/lithuania", title="Lithuania") Lithuania
.mb-half
span.mr-half.flag-icon.flag-icon-no
a(href="https://www.cognizant.com/norway", title="Norway") Norway
.mb-half
span.mr-half.flag-icon.flag-icon-pl
a(href="https://www.cognizant.com/poland", title="Poland") Poland
.mb-half
span.mr-half.flag-icon.flag-icon-pt
a(href="https://www.cognizant.com/portugal", title="Portugal") Portugal
.mb-half
span.mr-half.flag-icon.flag-icon-es
a(href="https://www.cognizant.com/spain", title="Spain") Spain
.mb-half
span.mr-half.flag-icon.flag-icon-se
a(href="https://www.cognizant.com/sweden", title="Sweden") Sweden
span (
a(href="/sv-se", title="Sv") Sv
span.v-middle |
a(href="/en-se", title="En") En
span )
.mb-half
span.mr-half.flag-icon.flag-icon-ch
a(href="/de-ch", title="Switzerland") Switzerland
span (
a(href="/fr-ch", title="Fr") Fr
span.v-middle |
a(href="/en-ch", title="En") En
span.v-middle |
a(href="/de-ch", title="De") De
span )
.mb-half
span.mr-half.flag-icon.flag-icon-nl
a(href="https://www.cognizant.com/netherlands", title="The Netherlands") The Netherlands
.mb-half
span.mr-half.flag-icon.flag-icon-gb
a(href="https://www.cognizant.com/united-kingdom", title="United Kingdom") United Kingdom
.cell
strong.block.mb-half ASIA PACIFIC
.mb-half
span.mr-half.flag-icon.flag-icon-au
a(href="https://www.cognizant.com/australia", title="Australia") Australia
.mb-half
span.mr-half.flag-icon.flag-icon-cn
a(href="https://www.cognizant.com/china", title="China") China
.mb-half
span.mr-half.flag-icon.flag-icon-hk
a(href="https://www.cognizant.com/hong-kong", title="Hong Kong") Hong Kong SAR
.mb-half
span.mr-half.flag-icon.flag-icon-in
a(href="https://www.cognizant.com/india", title="India") India
.mb-half
span.mr-half.flag-icon.flag-icon-jp
a(href="https://www.cognizant.com/japan", title="Japan") Japan
.mb-half
span.mr-half.flag-icon.flag-icon-mw
a(href="https://www.cognizant.com/malaysia", title="Malaysia") Malaysia
.mb-half
span.mr-half.flag-icon.flag-icon-nz
a(href="https://www.cognizant.com/new-zealand", title="New Zealand") New Zealand
.mb-half
span.mr-half.flag-icon.flag-icon-ph
a(href="https://www.cognizant.com/philippines", title="Philippines") Philippines
.mb-half
span.mr-half.flag-icon.flag-icon-sg
a(href="https://www.cognizant.com/singapore", title="Singapore") Singapore
.mb-half
span.mr-half.flag-icon.flag-icon-th
a(href="https://www.cognizant.com/thailand", title="Thailand") Thailand
a(href="#")
i.search.text-bold.ml-half
.show-for-sr Search
mixin mobile
// ======================================================================
// ███ ███ ██████ ██████ ██ ██ ███████
// ████ ████ ██ ██ ██ ██ ██ ██ ██
// ██ ████ ██ ██ ██ ██████ ██ ██ █████
// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
// ██ ██ ██████ ██████ ██ ███████ ███████
// ======================================================================
#stickyTitleBar.stickyTitleBar(data-sticky-container)
.sticky(data-sticky data-margin-top="0" data-top-anchor="stickyTitleBar:bottom" data-sticky-on="small")
.title-bar.bg-transparent.px-half(data-responsive-toggle="primary-nav", data-hide-for="large")
button.w100.hamburger.hamburger--spin(type="button", data-toggle)
.title-bar-title.flex-container.align-justify.align-middle
a(href="index.html")
img.cog-logo.lazyload(title="Cognizant Technology Solutions", alt="Cognizant Technology Solutions", data-sizes="auto" data-src="images/COG-logo.svg")
h5.m0.text-right.flex-container.align-middle
span.hamburger-box
span.hamburger-inner
.show-for-sr Menu
mixin top-bar-left
a(href="index.html")
img.cog-logo.lazyload(title="Cognizant Technology Solutions", alt="Cognizant Technology Solutions", data-sizes="auto" data-src="images/COG-Logo.svg")
//- h3 Navigation, v2, dropdown pane
+subnav
+mobile
// ======================================================================
// ██████ ██████ ██ ███ ███ █████ ██████ ██ ██
// ██ ██ ██ ██ ██ ████ ████ ██ ██ ██ ██ ██ ██
// ██████ ██████ ██ ██ ████ ██ ███████ ██████ ████
// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
// ======================================================================
#stickyNav.stickyNav.w100(data-sticky-container)
.sticky(data-sticky data-margin-top="0" data-top-anchor="stickyNav:bottom" data-sticky-on="small")
#primary-nav.primary-nav.top-bar.grid-container.bg-transparent.px-half.stacked-for-medium-xxl(data-animate="hinge-in-from-top hinge-out-from-top")
.top-bar-left.show-for-large
+top-bar-left
.top-bar-right
.grid-x.grid-padding
.cell.large-shrink
a.m0.button.expanded.text-left.arrow.down(data-toggle="menu1") Megamenu
.cell.large-shrink
a.m0.button.expanded.text-left.arrow.down(data-toggle="menu2") Basic Menu
.cell.large-shrink
a.m0.button.expanded.text-left.arrow.down(data-toggle="menu3") Megamenu
.cell.large-shrink
a.m0.button.expanded.text-left.arrow.down(data-toggle="menu4") Basic Menu
#menu1.bg-blue.dropdown-pane.p0.w100.medium-pos-left(data-dropdown data-position="bottom" data-alignment="auto" data-hover="true" data-hover-pane="true" data-close-on-click="true" data-allow-bottom-overlap="false")
.grid-container
.grid-x.large-up-4
.cell
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Data Modernization
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Data Modernization
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Data Modernization
.cell
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Customer Intelligence
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Customer Intelligence
.cell
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Operations Intelligence
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Operations Intelligence
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Operations Intelligence
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Operations Intelligence
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Operations Intelligence
.cell
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Consulting
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Consulting
#menu2.bg-blue.dropdown-pane.p0.small-w100(data-dropdown data-position="bottom" data-alignment="auto" data-hover="true" data-hover-pane="true" data-close-on-click="true" data-allow-bottom-overlap="false")
.grid-x
.cell
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Data Modernization Data Modernization Data Modernization
.cell
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Customer Intelligence
.cell
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Operations Intelligence
.cell
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Consulting
#menu3.bg-blue.dropdown-pane.p0.w100.medium-pos-left(data-dropdown data-position="bottom" data-alignment="auto" data-hover="true" data-hover-pane="true" data-close-on-click="true" data-allow-bottom-overlap="false")
.grid-container
.grid-x.large-up-3
.cell
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Data Modernization
.cell
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Customer Intelligence
.cell
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Operations Intelligence
.cell
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Consulting
#menu4.bg-blue.dropdown-pane.p0.small-w100(data-dropdown data-position="bottom" data-alignment="auto" data-hover="true" data-hover-pane="true" data-close-on-click="true" data-allow-bottom-overlap="false")
.grid-x
.cell
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Data Modernization
.cell
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Customer Intelligence
.cell
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Operations Intelligence
.cell
a.button.bg-blue.arrow.expanded.m0.text-left(href="#") Consulting
//- hr
//- h3 From Foundation forum
//- p
a(href="https://codepen.io/kili123/pen/ExVMXdZ?editors=1010") https://codepen.io/kili123/pen/ExVMXdZ?editors=1010
//- #stickyNav3.stickyNav.w100(data-sticky-container)
.sticky(data-sticky data-margin-top="0" data-top-anchor="stickyNav3:bottom" data-sticky-on="small")
.primary-nav.grid-container.bg-transparent.px-half.stacked-for-medium-xxl(data-animate="hinge-in-from-top hinge-out-from-top")
.grid-x
.cell.auto
+top-bar-left
.cell.auto
ul.dropdown.menu(data-dropdown-menu="")
li.mega-menu-item(data-menu="menu1")
a(href="#") Item 1
ul.menu
li.grid-x(style="width:1000px; height:150px; background:#ddd;")
.cell.medium-3
ul.menu.vertical
li
a(href="#") Test 1
li
a(href="#") Test 2
.cell.medium-3
ul.menu.vertical
li
a(href="#") Test 3
li
a(href="#") Test 4
.cell.medium-3
ul.menu.vertical
li
a(href="#") Test 5
li
a(href="#") Test 6
.cell.medium-3
ul.menu.vertical
li
a(href="#") Test 7
li
a(href="#") Test 8
li.mega-emnu-item(data-menu="menu2")
a(href="#") Item 2
ul.menu
li
a(href="#") Test 2
li
a(href="#") Test 2
li
a(href="#") Test 2
li
a(href="#") Test 2
li
a(href="#") Item 3
li
a(href="#") Item 4
//- h3 Navigation, v3, multi column/megamenu, ul/li
//- +subnav
//- +mobile
// ======================================================================
// ██████ ██████ ██ ███ ███ █████ ██████ ██ ██
// ██ ██ ██ ██ ██ ████ ████ ██ ██ ██ ██ ██ ██
// ██████ ██████ ██ ██ ████ ██ ███████ ██████ ████
// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
// ======================================================================
//- #stickyNav.stickyNav.w100(data-sticky-container)
.sticky(data-sticky data-margin-top="0" data-top-anchor="stickyNav:bottom" data-sticky-on="small")
.primary-nav.top-bar.grid-container.bg-transparent.px-half.stacked-for-medium-xxl(data-animate="hinge-in-from-top hinge-out-from-top")
.top-bar-left.show-for-large
+top-bar-left
.top-bar-right
ul.vertical.large-horizontal.menu.large-align-right(data-responsive-menu="accordion large-dropdown" data-multi-expand="false")
li
a Data & AI Services
ul.menu.vertical.w100
li
a(href="./data-modernization.html") Data Modernization
//- li
//- a(href="./data-modernization-method.html") Data Method
//- li
//- a(href="./data-modernization-platform.html") Data Platform
li
a(href="./customer-intelligence.html") Customer Intelligence
li
a(href="./operations-intelligence.html") Operations Intelligence
li
a(href="./consulting.html") Consulting
li
a AI Capabilities
ul.menu.vertical
li
a(href="./evolutionary-ai.html") Evolutionary AI
li
a(href="./conversational-ai.html") Conversational AI
li
a(href="./causality.html") Causality
li
a(href="./deep-learning.html") Deep Learning
li
a Latest Thinking
ul.menu.vertical
li
a(href="#") eBook
i.file-acrobat.text-bold.mx-qtr
span.tiny (PDF, 2.6mb)
li
a(href="index.html#thoughtLeadership") Thought Leadership
li
a(href="https://www.cognizant.com/ai/blog" target="_blank" rel="noopener") Blog
i.launch.text-bold.ml-qtr
li
a Client Stories
ul.menu.vertical
li
a(href="./banking-capital-markets.html") Banking & Capital Markets
li
a(href="./insurance.html") Insurance
li
a(href="./healthcare.html") Healthcare
li
a(href="./life-sciences.html") Life Sciences
li
a(href="./communications-media-tech.html") Communications, Media & Technology
li
a(href="./cpg-retail.html") Consumer Goods & Retail
li
a(href="./travel-hospitality.html") Travel & Hospitality
li
a(href="./energy-utilities.html") Energy & Utilities
li
a(href="./transportation-logistics.html") Transportation & Logistics
li.hide-for-medium-xxl
hr.my1.lighter
.grid-x.grid-padding-x
.cell.auto
a.m0.p-half(href="https://www.cognizant.com") Cognizant.com
a.m0.p-half(href="/industries") Industries
a.m0.p-half(href="/services#") Services
a.m0.p-half(href="/latest-thinking") Latest Thinking
.cell.auto
a.m0.p-half(href="/careers") Careers
a.m0.p-half(href="http://news.cognizant.com/") News
a.m0.p-half(href="/events") Events
a.m0.p-half(href="http://investors.cognizant.com/") Investors
.cell
a.m0.px-half(href="#")
| Search
i.search.text-bold.ml-half
<div class="top-bar">
<div class="top-bar-left">
<ul class="dropdown menu" data-dropdown-menu>
<li class="menu-text">Site Title</li>
<li class="mega-menu">
<a data-toggle="mega-menu" href="#">One</a>
//- .top-bar
.top-bar-left.small-order-2
ul.dropdown.menu.align-self-right(data-dropdown-menu)
li.mega-menu
a(data-toggle="mega-menu", href="#") One
#mega-menu.dropdown-pane.bottom(data-dropdown data-hover="true" data-hover-pane="true" data-close-on-click="true" data-allow-bottom-overlap="false")
.row.expanded
.column
ul.menu.vertical
li
a(href="#") One
li
a(href="#") Two
li
a(href="#") Three
.column
ul.menu.vertical
li
a(href="#") One
li
a(href="#") Two
li
a(href="#") Three
.column
ul.menu.vertical
li
a(href="#") One
li
a(href="#") Two
li
a(href="#") Three
li
a Two
ul.menu.vertical
li
a(href="./evolutionary-ai.html") Evolutionary AI
li
a(href="./conversational-ai.html") Conversational AI
li
a(href="./causality.html") Causality
li
a(href="./deep-learning.html") Deep Learning
li
a(href="#") Three
.top-bar-right.small-order-1
ul.dropdown.menu(data-dropdown-menu)
+top-bar-left
//- li.menu-text
//- .top-bar-right
ul.menu
li
input(type="search", placeholder="Search")
li
button.button(type="button") Search
.h100vh