-
Notifications
You must be signed in to change notification settings - Fork 0
/
front-page.php
executable file
·493 lines (450 loc) · 33.8 KB
/
front-page.php
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
<?php get_header(); ?>
<!-- Logo generativo de Plataforma -->
<div id="franjaTexto">
<p>
Esto es un texto de portada para plataforma
</p>
</div>
<article class="single block">
<div class="left">
<div id="logo" data-color="<?php echo get_field('color', 7) ?>" data-img="<?php $img = get_field('imagen', 7); echo $img['url'] ?>">
<div id="p5_canvas">
</div>
<div class="letras">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1080 1080" style="enable-background:new 0 0 1080 1080;" xml:space="preserve">
<g id="TITULO">
<g>
<path class="st0" d="M119.98,212.89c3.04,0,6.01-0.12,8.95-0.31L201,140.5c-0.12-3.25-0.44-6.41-0.99-9.45l-81.84,81.85H119.98z"
/>
<polygon class="st0" points="59.06,78.01 41.74,95.29 41.74,105.76 69.48,78.01 "/>
<polygon class="st0" points="80.62,78.01 41.74,116.85 41.74,127.32 91.04,78.01 "/>
<polygon class="st0" points="102.16,78.01 41.74,138.42 41.74,148.84 112.6,78.01 "/>
<polygon class="st0" points="41.74,78.01 41.74,84.15 47.9,78.01 "/>
<path class="st0" d="M200.88,151.79L141.66,211c4.89-0.86,9.53-2.08,13.94-3.54l42.98-42.94
C199.71,160.48,200.46,156.25,200.88,151.79"/>
<path class="st0" d="M107.07,212.89l90.75-90.76c-0.82-2.6-1.87-5.03-3-7.44l-98.21,98.2H107.07z"/>
<path class="st0" d="M186.2,101.77L41.74,246.25v10.42l149-149.01C189.36,105.62,187.87,103.62,186.2,101.77"/>
<path class="st0" d="M123.68,78.01l-81.94,81.95v10.44l91.9-91.92C130.4,78.22,127.1,78.05,123.68,78.01"/>
<path class="st0" d="M174.71,91.69L41.74,224.64v10.48L180.62,96.21C178.75,94.62,176.82,93.07,174.71,91.69"/>
<path class="st0" d="M160.45,84.37L41.74,203.11v10.42L167.69,87.58C165.4,86.43,162.97,85.36,160.45,84.37"/>
<path class="st0" d="M143.48,79.78L41.74,181.53v10.45L152.06,81.71C149.29,80.96,146.43,80.3,143.48,79.78"/>
<polygon class="st0" points="94.08,247.45 94.08,236.99 64.23,266.85 74.67,266.85 "/>
<polygon class="st0" points="94.08,258.57 85.77,266.85 94.08,266.85 "/>
<polygon class="st0" points="94.08,215.43 42.67,266.86 53.11,266.86 94.08,225.89 "/>
</g>
<g>
<polygon class="st0" points="329.64,109.25 277.29,161.6 277.29,172.04 329.64,119.71 "/>
<polygon class="st0" points="329.64,130.81 277.29,183.17 277.29,193.6 329.64,141.29 "/>
<polygon class="st0" points="329.64,152.39 277.29,204.73 277.29,215.19 329.64,162.83 "/>
<polygon class="st0" points="329.64,87.69 277.29,140.04 277.29,150.5 329.64,98.13 "/>
<polygon class="st0" points="317.8,78.01 277.29,118.46 277.29,128.95 328.24,78.01 "/>
<polygon class="st0" points="329.64,173.95 277.29,226.29 277.29,236.73 329.64,184.41 "/>
<polygon class="st0" points="329.64,195.52 277.29,247.87 277.29,258.29 329.64,205.97 "/>
<polygon class="st0" points="277.29,78.01 277.29,85.82 285.09,78.01 "/>
<polygon class="st0" points="333.41,266.86 379.28,220.99 368.8,220.99 322.95,266.86 "/>
<polygon class="st0" points="376.55,266.86 421.1,222.31 421.1,220.99 411.97,220.99 366.09,266.86 "/>
<polygon class="st0" points="311.84,266.86 357.7,220.99 347.26,220.99 301.4,266.86 "/>
<polygon class="st0" points="329.64,217.06 279.84,266.86 290.3,266.86 336.16,220.99 329.64,220.99 "/>
<polygon class="st0" points="354.96,266.86 400.84,220.99 390.39,220.99 344.51,266.86 "/>
<polygon class="st0" points="296.21,78.01 277.29,96.92 277.29,107.36 306.67,78.01 "/>
<polygon class="st0" points="421.1,265.43 421.1,254.97 409.21,266.85 419.67,266.85 "/>
<polygon class="st0" points="421.1,233.41 387.65,266.86 398.11,266.86 421.1,243.87 "/>
</g>
<g>
<polygon class="st0" points="196.94,341.62 154.22,384.34 164.64,384.34 196.94,352.06 "/>
<polygon class="st0" points="140.28,384.34 143.07,384.34 188.95,338.47 178.47,338.47 87.92,429.03 87.92,439.5 140.28,387.16
"/>
<polygon class="st0" points="31.28,338.48 31.28,345.22 38,338.48 "/>
<polygon class="st0" points="140.28,484.48 97.44,527.34 107.92,527.34 140.28,494.96 "/>
<polygon class="st0" points="56.87,384.34 102.71,338.47 92.27,338.47 46.41,384.34 "/>
<polygon class="st0" points="196.94,373.62 196.94,363.16 175.78,384.35 186.22,384.35 "/>
<polygon class="st0" points="140.28,516.52 140.28,506.08 119.02,527.33 129.48,527.33 "/>
<polygon class="st0" points="87.92,417.93 167.39,338.49 156.93,338.49 87.92,407.49 "/>
<polygon class="st0" points="140.28,462.94 87.92,515.27 87.92,525.75 140.28,473.38 "/>
<polygon class="st0" points="87.92,385.91 87.92,396.37 145.85,338.48 135.39,338.48 "/>
<polygon class="st0" points="140.28,441.38 87.92,493.73 87.92,504.19 140.28,451.82 "/>
<polygon class="st0" points="140.28,398.28 87.92,450.59 87.92,461.05 140.28,408.71 "/>
<polygon class="st0" points="67.95,384.34 78.41,384.34 124.27,338.47 113.83,338.47 "/>
<polygon class="st0" points="49.12,338.48 31.28,356.32 31.28,366.78 59.58,338.48 "/>
<polygon class="st0" points="140.28,419.82 87.92,472.19 87.92,482.63 140.28,430.28 "/>
<polygon class="st0" points="81.14,338.48 70.69,338.48 31.28,377.9 31.28,384.35 35.29,384.35 "/>
</g>
<g>
<polygon class="st0" points="631.48,119.75 628.34,112.44 488.6,252.18 482.38,266.87 484.35,266.87 "/>
<polygon class="st0" points="678.4,266.86 689.09,256.15 685.99,248.8 667.95,266.86 "/>
<polygon class="st0" points="692.4,263.98 689.51,266.87 693.63,266.87 "/>
<polygon class="st0" points="630.62,249.96 669.9,210.69 666.78,203.33 627.58,242.55 "/>
<polygon class="st0" points="656.84,266.86 682.69,240.99 679.57,233.66 646.38,266.86 "/>
<polygon class="st0" points="621.95,97.26 504.37,214.82 496.68,232.95 625.04,104.59 "/>
<polygon class="st0" points="623.76,233.15 624.38,234.64 663.48,195.54 660.4,188.18 615.41,233.15 "/>
<polygon class="st0" points="636.89,265.27 676.29,225.85 673.19,218.49 633.83,257.86 "/>
<polygon class="st0" points="599.44,76.65 535.92,140.14 528.3,158.23 609.88,76.65 "/>
<polygon class="st0" points="615.53,82.12 520.13,177.49 512.49,195.61 618.65,89.45 "/>
<polygon class="st0" points="577.9,76.65 551.71,102.8 544.05,120.87 588.32,76.65 "/>
<polygon class="st0" points="604.31,233.15 657.07,180.36 653.95,173.03 593.85,233.15 "/>
<polygon class="st0" points="582.77,233.15 650.65,165.2 647.55,157.87 572.31,233.15 "/>
<polygon class="st0" points="562.75,76.65 559.86,83.53 566.74,76.65 "/>
<polygon class="st0" points="634.74,127.57 495.46,266.87 505.91,266.87 637.86,134.9 "/>
<polygon class="st0" points="544.03,250.28 550.89,233.15 561.21,233.15 644.27,150.06 641.16,142.69 517.02,266.87
527.47,266.87 "/>
</g>
<g>
<polygon class="st0" points="518.04,505.32 606.9,416.45 596.46,416.45 518.04,494.88 "/>
<polygon class="st0" points="585.46,384.34 595.88,384.34 641.76,338.47 631.3,338.47 "/>
<polygon class="st0" points="518.04,483.74 585.34,416.43 574.88,416.43 518.04,473.3 "/>
<polygon class="st0" points="518.04,462.17 570.4,409.84 570.4,399.4 518.04,451.72 "/>
<polygon class="st0" points="650.04,416.44 639.57,416.44 596.12,459.89 606.58,459.89 "/>
<polygon class="st0" points="652.88,338.48 606.98,384.35 617.44,384.35 663.32,338.48 "/>
<polygon class="st0" points="574.56,459.9 585.02,459.9 628.46,416.45 618,416.45 "/>
<polygon class="st0" points="659.68,449.91 659.68,439.45 639.24,459.89 649.72,459.89 "/>
<polygon class="st0" points="518.04,397.51 577.07,338.48 566.61,338.48 518.04,387.05 "/>
<polygon class="st0" points="518.04,440.61 570.4,388.28 570.4,384.35 574.34,384.35 620.2,338.48 609.74,338.48 518.04,430.17
"/>
<polygon class="st0" points="518.04,343.95 518.04,354.37 533.95,338.47 523.49,338.47 "/>
<polygon class="st0" points="518.04,419.07 598.64,338.48 588.2,338.48 518.04,408.63 "/>
<polygon class="st0" points="518.04,375.95 555.51,338.49 545.05,338.49 518.04,365.51 "/>
<polygon class="st0" points="659.68,417.89 617.68,459.9 628.14,459.9 659.68,428.34 "/>
<polygon class="st0" points="669.13,343.75 628.54,384.35 639.02,384.35 669.13,354.21 "/>
<polygon class="st0" points="669.13,375.79 669.13,365.33 650.12,384.34 660.56,384.34 "/>
<polygon class="st0" points="570.4,464.07 518.04,516.42 518.04,526.88 570.4,474.52 "/>
<polygon class="st0" points="570.4,507.23 550.22,527.35 560.7,527.35 570.4,517.65 "/>
<polygon class="st0" points="570.4,485.63 528.68,527.33 539.1,527.33 570.4,496.09 "/>
</g>
<g>
<polygon class="st0" points="367.86,343.17 271.62,439.43 263.95,457.54 370.96,350.48 "/>
<polygon class="st0" points="383.79,380.82 380.67,373.49 240.02,514.12 234.45,527.34 237.26,527.34 "/>
<polygon class="st0" points="374.29,358.33 255.83,476.76 248.19,494.88 377.37,365.66 "/>
<polygon class="st0" points="389.2,526.36 428.6,486.93 425.52,479.58 386.2,518.94 "/>
<polygon class="st0" points="379.91,503.63 382.94,511.02 422.22,471.75 419.11,464.42 "/>
<polygon class="st0" points="409.77,527.34 435.06,502.05 431.94,494.76 399.31,527.34 "/>
<polygon class="st0" points="431.34,527.34 441.43,517.22 438.31,509.87 420.88,527.34 "/>
<polygon class="st0" points="444.73,525.03 442.44,527.33 445.72,527.33 "/>
<polygon class="st0" points="279.76,420.18 362.79,337.13 352.35,337.13 287.39,402.08 "/>
<polygon class="st0" points="295.55,382.83 341.25,337.12 330.81,337.12 303.19,364.75 "/>
<polygon class="st0" points="311.32,345.46 319.69,337.14 314.86,337.14 "/>
<polygon class="st0" points="376.71,495.72 415.79,456.61 412.71,449.24 368.34,493.6 375.84,493.6 "/>
<polygon class="st0" points="346.8,493.61 357.24,493.61 409.41,441.46 406.32,434.09 "/>
<polygon class="st0" points="335.68,493.61 403,426.28 399.92,418.95 325.22,493.61 "/>
<polygon class="st0" points="387.09,388.66 248.4,527.33 258.84,527.33 390.2,395.97 "/>
<polygon class="st0" points="280.41,527.34 295.57,512.19 302.53,494.78 269.95,527.34 "/>
<polygon class="st0" points="393.46,403.79 303.66,493.6 314.12,493.6 396.6,411.14 "/>
</g>
<g>
<path class="st0" d="M37.84,671.17l71.04-71.02c-5.67,1.49-11.04,3.4-16.21,5.73l-49.54,49.53
C40.92,660.46,39.21,665.71,37.84,671.17"/>
<path class="st0" d="M163.49,599.77L39.17,724.05c0.82,2.61,1.75,5.17,2.77,7.7l129.63-129.66
C168.98,601.21,166.24,600.45,163.49,599.77"/>
<path class="st0" d="M144.86,596.83L35.53,706.17c0.34,3.08,0.76,6.09,1.41,9.05l117.28-117.31
C151.16,597.41,148.02,597.06,144.86,596.83"/>
<path class="st0" d="M122.66,597.48l-87.23,87.25c-0.36,3.28-0.52,6.6-0.52,9.96v0.52c0,0.18,0.02,0.32,0.02,0.44l99.06-99.04
C130.12,596.69,126.36,597,122.66,597.48"/>
<path class="st0" d="M225.44,645.63L88.97,782.05c2.35,1.19,4.73,2.29,7.2,3.3L229,652.51
C227.89,650.2,226.72,647.87,225.44,645.63"/>
<path class="st0" d="M216.63,632.86L75.47,773.99c2.03,1.49,4.16,2.84,6.33,4.14l139.32-139.32
C219.72,636.75,218.22,634.8,216.63,632.86"/>
<path class="st0" d="M206.01,621.91L63.67,764.27c1.75,1.75,3.62,3.34,5.53,4.93l142.18-142.18
C209.65,625.25,207.88,623.56,206.01,621.91"/>
<path class="st0" d="M154.94,791.27l82.24-82.22c0.56-3.8,0.88-7.6,1.01-11.48l-95.03,95.01
C147.16,792.35,151.1,791.93,154.94,791.27"/>
<path class="st0" d="M179.64,605.16L45.46,739.35c1.17,2.29,2.41,4.52,3.78,6.68L186.74,608.5
C184.45,607.3,182.05,606.22,179.64,605.16"/>
<path class="st0" d="M193.78,612.6L53.69,752.69c1.49,1.97,3,3.96,4.61,5.81l141.62-141.6
C197.9,615.45,195.89,613.94,193.78,612.6"/>
<path class="st0" d="M232.28,660.37L104.42,788.21c2.72,0.83,5.55,1.49,8.33,2.13l122.07-122.07
C234.07,665.58,233.22,662.92,232.28,660.37"/>
<path class="st0" d="M187.99,779.78l38.6-38.58c3.06-5.71,5.59-11.71,7.5-18l-64.5,64.5
C176.06,785.63,182.21,782.98,187.99,779.78"/>
<path class="st0" d="M236.84,677.35L122.26,791.91c3.18,0.4,6.42,0.66,9.69,0.79l106.02-106.04
C237.73,683.52,237.34,680.42,236.84,677.35"/>
</g>
<g>
<path class="st0" d="M319.55,712.88l110.94-110.97c-2.95-0.45-6.07-0.84-9.29-1.11L319.55,702.43V712.88z"/>
<polygon class="st0" points="319.55,626.64 345.95,600.25 335.51,600.25 319.55,616.16 "/>
<path class="st0" d="M319.55,723.99v10.44l128.04-128.04c-2.5-0.93-5.15-1.77-7.93-2.47L319.55,723.99z"/>
<polygon class="st0" points="319.55,605.06 324.37,600.26 319.55,600.26 "/>
<path class="st0" d="M319.55,756.01l142.3-142.28c-2.07-1.42-4.24-2.7-6.58-3.91L319.55,745.55V756.01z"/>
<path class="st0" d="M319.55,777.57l153.7-153.68c-0.9-1.08-1.81-2.14-2.84-3.13c-0.74-0.76-1.61-1.43-2.37-2.12l-148.49,148.5
V777.57z"/>
<path class="st0" d="M319.55,691.32l91.01-91.01c-0.56,0-1.09-0.06-1.69-0.06h-8.67l-80.65,80.61V691.32z"/>
<polygon class="st0" points="319.55,669.76 389.08,600.25 378.62,600.25 319.55,659.32 "/>
<polygon class="st0" points="319.55,648.2 367.52,600.25 357.06,600.25 319.55,637.76 "/>
<polygon class="st0" points="457.6,736.92 421.88,772.6 426.07,778.88 461.85,743.11 "/>
<polygon class="st0" points="475.12,762.48 448.49,789.13 458.95,789.13 479.34,768.7 "/>
<polygon class="st0" points="470.05,789.13 480.49,789.13 488.13,781.49 483.87,775.32 "/>
<polygon class="st0" points="448.83,724.11 413.29,759.65 417.46,765.9 453.06,730.3 "/>
<polygon class="st0" points="466.33,749.69 430.49,785.55 432.86,789.13 437.39,789.13 470.58,755.91 "/>
<polygon class="st0" points="491.61,789.13 493.3,789.13 492.64,788.11 "/>
<polygon class="st0" points="351.14,789.13 371.9,768.36 371.9,757.88 340.69,789.13 "/>
<path class="st0" d="M482.14,690.76l-31.14,31.13C465.29,715.18,476.25,704.86,482.14,690.76"/>
<path class="st0" d="M487.13,665.26v-0.51c0-0.19-0.02-0.33-0.02-0.49l-82.44,82.42l4.18,6.3l77.58-77.6
C486.89,672.16,487.13,668.78,487.13,665.26"/>
<polygon class="st0" points="319.55,789.13 329.58,789.13 371.9,746.78 371.9,736.36 319.55,788.67 "/>
<path class="st0" d="M484.65,645.16l-88.6,88.56l4.16,6.32l86.14-86.16C485.96,650.89,485.4,647.96,484.65,645.16"/>
<path class="st0" d="M478.04,630.18L376.35,731.91h10.42l94.91-94.87C480.61,634.67,479.43,632.32,478.04,630.18"/>
<polygon class="st0" points="371.9,789.13 371.9,779.46 362.25,789.13 "/>
</g>
<g>
<polygon class="st0" points="981.03,622.68 858.82,744.85 851.17,762.97 984.1,630.01 "/>
<polygon class="st0" points="974.59,607.49 874.61,707.53 866.95,725.6 977.71,614.86 "/>
<polygon class="st0" points="970.95,598.92 961.64,598.92 890.4,670.16 882.73,688.25 971.29,599.69 "/>
<polygon class="st0" points="940.08,598.92 906.18,632.83 898.52,650.89 950.51,598.92 "/>
<polygon class="st0" points="920.51,598.92 914.31,613.55 928.97,598.92 "/>
<polygon class="st0" points="1019.44,713.61 977.67,755.4 981.49,755.4 983.38,760.09 1022.56,720.97 "/>
<polygon class="st0" points="1025.84,728.77 986.6,768 989.65,775.42 1028.96,736.1 "/>
<polygon class="st0" points="1032.27,743.92 992.87,783.28 995.27,789.13 997.48,789.13 1035.37,751.26 "/>
<polygon class="st0" points="1038.67,759.06 1008.6,789.13 1019.04,789.13 1041.77,766.43 "/>
<polygon class="st0" points="987.42,637.84 843.01,782.19 840.11,789.13 846.55,789.13 990.54,645.17 "/>
<polygon class="st0" points="889.67,789.13 898.8,780.02 905.76,762.6 879.25,789.13 "/>
<polygon class="st0" points="1000.23,668.13 912.96,755.4 923.44,755.4 1003.33,675.47 "/>
<polygon class="st0" points="1006.65,683.3 934.53,755.4 944.96,755.4 1009.73,690.64 "/>
<polygon class="st0" points="1013.03,698.44 956.09,755.4 966.52,755.4 1016.12,705.81 "/>
<polygon class="st0" points="993.82,652.99 857.65,789.13 868.09,789.13 996.92,660.32 "/>
<polygon class="st0" points="1045.07,774.23 1030.18,789.13 1040.62,789.13 1048.18,781.57 "/>
</g>
<g>
<polygon class="st0" points="567.06,658.98 623.66,602.38 622.35,600.24 615.31,600.24 567.06,648.54 "/>
<polygon class="st0" points="567.06,702.1 640.09,629.03 636.11,622.59 567.06,691.67 "/>
<polygon class="st0" points="567.06,680.52 631.84,615.71 627.9,609.24 567.06,670.08 "/>
<polygon class="st0" points="567.06,723.65 648.31,642.4 644.33,635.93 567.06,713.23 "/>
<polygon class="st0" points="567.06,637.44 604.21,600.24 593.77,600.24 567.06,626.98 "/>
<polygon class="st0" points="567.06,615.84 582.62,600.25 572.17,600.25 567.06,605.4 "/>
<polygon class="st0" points="733.55,600.25 723.14,600.25 695.36,628 678.61,655.22 "/>
<polygon class="st0" points="567.06,745.21 618.27,693.96 618.27,683.5 567.06,734.77 "/>
<polygon class="st0" points="567.06,788.35 618.27,737.08 618.27,726.62 567.06,777.93 "/>
<polygon class="st0" points="587.81,789.13 618.29,758.66 618.29,748.18 577.38,789.13 "/>
<polygon class="st0" points="567.06,766.79 618.27,715.52 618.27,705.08 567.06,756.37 "/>
<polygon class="st0" points="609.38,789.13 618.27,780.2 618.27,769.76 598.92,789.13 "/>
<polygon class="st0" points="715.69,704.36 767.79,652.29 767.79,641.85 715.69,693.94 "/>
<polygon class="st0" points="657.45,741.04 711.67,686.84 715.69,680.68 715.69,682.82 767.79,630.73 767.79,620.26
653.32,734.71 "/>
<polygon class="st0" points="715.69,725.94 767.79,673.87 767.79,663.39 715.69,715.48 "/>
<polygon class="st0" points="644.8,721.69 648.96,728.03 767.79,609.16 767.79,600.26 766.24,600.26 "/>
<polygon class="st0" points="715.69,769.04 767.79,716.99 767.79,706.53 715.69,758.6 "/>
<polygon class="st0" points="738.74,789.13 767.79,760.09 767.79,749.63 728.31,789.13 "/>
<polygon class="st0" points="715.69,789.13 717.18,789.13 767.79,738.53 767.79,728.07 715.69,780.16 "/>
<polygon class="st0" points="665.97,754.08 671.06,749.01 690.73,718.9 661.87,747.76 "/>
<polygon class="st0" points="760.31,789.13 767.79,781.65 767.79,771.19 749.87,789.13 "/>
<polygon class="st0" points="652.56,649.27 619.19,682.59 623.34,688.91 656.52,655.71 "/>
<polygon class="st0" points="715.69,747.5 767.79,695.43 767.79,684.97 715.69,737.04 "/>
<polygon class="st0" points="660.76,662.6 627.74,695.63 631.86,701.94 664.77,669.07 "/>
<polygon class="st0" points="744.7,600.25 636.27,708.68 640.41,715 755.12,600.25 "/>
</g>
</g>
<g id="BOGOTA">
<path class="st0" d="M70.48,925.29h35.64c9.05,0,16.19,2.52,20.73,7.03c3.53,3.53,5.34,7.82,5.34,13.16v0.23
c0,9.54-5.46,14.62-11.35,17.68c9.3,3.17,15.77,8.48,15.77,19.3v0.21c0,14.19-11.67,21.76-29.37,21.76H70.48V925.29z
M103.26,958.75c8.94,0,14.97-3.51,14.97-10.79v-0.23c0-6.24-4.98-10.07-13.94-10.07H84.21v21.09H103.26z M107.36,992.32
c9.54,0,15.29-3.76,15.29-10.87v-0.25c0-6.7-5.32-10.68-16.32-10.68H84.21v21.8H107.36z"/>
<path class="st0" d="M239.62,965.22v-0.23c0-22.35,17.24-41.07,41.61-41.07c24.41,0,41.42,18.5,41.42,40.86v0.21
c0,22.35-17.24,41.05-41.64,41.05C256.63,1006.05,239.62,987.55,239.62,965.22 M308,965.22v-0.23c0-15.45-11.21-28.26-27-28.26
c-15.75,0-26.76,12.58-26.76,28.05v0.21c0,15.42,11.23,28.22,26.98,28.22C297,993.21,308,980.61,308,965.22"/>
<path class="st0" d="M426.78,965.22v-0.23c0-22.25,17.03-41.07,40.94-41.07c13.84,0,22.35,3.89,30.51,10.77l-8.83,10.57
c-6.14-5.25-12.15-8.52-22.23-8.52c-14.64,0-25.74,12.81-25.74,28.05v0.21c0,16.3,10.75,28.36,26.98,28.36
c7.47,0,14.3-2.4,19.16-6.01v-14.87h-20.31v-12.13h33.79v33.33c-7.82,6.7-19.03,12.38-33.11,12.38
C443.13,1006.05,426.78,988.33,426.78,965.22"/>
<path class="st0" d="M606.47,965.22v-0.23c0-22.35,17.22-41.07,41.61-41.07c24.41,0,41.42,18.5,41.42,40.86v0.21
c0,22.35-17.26,41.05-41.65,41.05C623.48,1006.05,606.47,987.55,606.47,965.22 M674.86,965.22v-0.23c0-15.45-11.21-28.26-27-28.26
c-15.73,0-26.78,12.58-26.78,28.05v0.21c0,15.42,11.23,28.22,27,28.22C663.87,993.21,674.86,980.61,674.86,965.22"/>
<polygon class="st0" points="812.34,938.2 787.15,938.2 787.15,925.29 851.58,925.29 851.58,938.2 826.38,938.2 826.38,1004.65
812.34,1004.65 "/>
<path class="st0" d="M975,924.74h12.93l34.93,79.92h-14.72l-8.09-19.13h-37.53l-8.16,19.13h-14.28L975,924.74z M994.97,973.15
l-13.71-31.77l-13.64,31.77H994.97z M988.5,901.11l12.47,5.45l-14.49,10.99H975.8L988.5,901.11z"/>
</g>
<g id="LINEA">
<rect x="39.17" y="836.94" class="st0" width="1010.83" height="13.24"/>
</g>
</svg>
</div>
</div>
<!-- menu para el homepage -->
<!-- editable en el back -->
<nav id="menu">
<?php get_sidebar() ?>
</nav>
<!-- search -->
<form class="search nomargin" method="get" action="<?php echo home_url(); ?>" role="search">
<input class="search-input nomargin" type="search" name="s" placeholder="<?php _e( 'Search', 'plataforma' ); ?>">
<button class="search-submit" type="submit" role="button"><?php _e( 'Search', 'plataforma' ); ?></button>
</form>
<!-- /search -->
<!-- <div class="des">
Plataforma Bogotá hace <a href="" class="laboratorios">Laboratorios</a>, <a class="convocatorias" href="">Convocatorias</a> y Lorem ipsum, dolor sit amet consectetur adipisicing elit. Tenemos un <a href="" class="club_electronica">club de electrónica</a> Et fugiat pariatur, incidunt aut eveniet harum iste laboriosam natus amet nam? Omnis ducimus aliquid, ad iste neque perferendis esse voluptate cumque?
<br>Haz click <a href="">aqui</a> para saber más y conocer la casa.
</div> -->
<div class="des">
<h1>Calendario</h1>
<div class="calendario_container front">
<div id="calendario">
<?php crearMes() ?>
<?php crearMesSiguiente() ?>
</div>
<div class="listado">
<?php
global $query_string;
$args = array(
'post_type' => 'agenda',
'tax_query' => array(
array(
'taxonomy' => 'tipos_agenda',
'field' => 'term_id',
'terms' => 7, /// Where term_id of Term 1 is "1".
'include_children' => false
)
)
);
$posts = query_posts($args);
if (have_posts()): while (have_posts()) : the_post();
$inicio = get_field('fecha_inicio');
$todo_el_dia = get_field('todo_el_dia');
$cierre = get_field('fecha_cierre');
$galeria = get_field('galeria');
if($todo_el_dia == 1) $cierre = '';
$categ = get_the_terms(get_the_ID(), 'tipos_agenda');
?>
<div class="item" data-inicio="<?php echo $inicio ?>" data-cierre="<?php echo $cierre ?>">
<div class="top">
<?php if($categ): foreach($categ as $item): ?>
<?php
$color = get_field('color', $item);
?>
<div class="categ <?php echo $item->slug ?>" style="border-color: <?php echo $color ?>"></div>
<?php endforeach; endif; ?>
<div class="nombre"><?php the_title() ?></div>
<!-- <div class="fecha">
<?php if($todo_el_dia == 1): ?>
<?php echo $inicio ?>
<?php else: ?>
<?php echo $inicio ?> a <?php echo $cierre ?>
<?php endif; ?>
</div> -->
</div>
<div class="inside">
<?php if($categ): foreach($categ as $item): ?>
<?php
$color = get_field('color', $item);
?>
<div style="background-color: <?php echo $color ?>" class="categ_name <?php echo $item->slug ?>">
<?php echo $item->name ?>
</div>
<?php endforeach; endif; ?>
<a href="<?php echo get_permalink() ?>" class="link">Saber más</a>
<div class="content">
<div class="img">
<img src="<?php echo $galeria[0]['sizes']['thumbnail'] ?>" alt="">
</div>
<div class="txt"><?php echo get_field('breve_descripcion'); ?></div>
</div>
</div>
</div>
<?php endwhile; endif; ?>
</div>
</div>
<div class="logos_admin">
<a href="https://bogota.gov.co/" class="item">
<img src="<?php echo get_template_directory_uri()?>/img/br.png" alt="">
</a>
<a href="https://bogota.gov.co/" class="item">
<img src="<?php echo get_template_directory_uri()?>/img/bogota.png" alt="">
</a>
<a href="#" class="item">
<img src="<?php echo get_template_directory_uri()?>/img/linea.png" alt="">
</a>
</div>
</div>
</div>
<div class="right">
<!-- Cargar los últimos elementos en la base de datos -->
<section class="frontStar">
<div class="inside">
<?php
// agregar sticky
$args = array(
'post_type' => 'agenda',
'numberposts' => 5,
);
$posts = get_posts($args);
foreach($posts as $post):
$galeria = get_field('galeria', $post->ID);
?>
<div class="img" style="background-image: url('<?php echo $galeria[0]['sizes']['large'] ?>')">
<a href="<?php echo get_permalink($post->ID) ?>" class="title">
<?php echo $post->post_title; ?>
<!-- <div class="info">
<?php echo get_the_excerpt($post->ID); ?>
</div> -->
</a>
</div>
<?php endforeach;?>
</div>
<div class="navBlock">
<div class="itemNav next"></div>
<div class="itemNav prev"></div>
</div>
</section>
<div class="tags mini">
<h3 class="title">Conoce Plataforma Bogotá</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ex lacus, volutpat a orci quis, <a>hendrerit ultrices purus</a>. Morbi consectetur nunc nisl, id pulvinar mauris consectetur ut. Fusce lacus enim, porta eu tortor nec, efficitur tempus elit. Nulla facilisi. Integer dapibus ut nulla vitae porta. Proin et enim pulvinar, sodales odio eu, molestie sapien. Nulla molestie iaculis <a>ipsum efficitur scelerisque</a>. Aliquam ac porta metus, nec porta ex. Fusce sed lectus eros. Vivamus molestie nisi quis ex euismod, a scelerisque sem porta. Ut sit amet turpis sit amet sem vulputate vehicula in non nunc. Duis accumsan, ipsum ut semper malesuada, velit sapien ultricies metus, a posuere purus nibh a lorem.</p>
</div>
<div class="tags">
<h3 class="title">Explora nuestros talleres por temática</h3>
<?php
$tags = get_tags();
$html = '<ul>';
foreach ( $tags as $tag ) {
if($tag->slug != "migliori"){
$tag_link = '?rest_route=/wp/v2/agenda&tags=' . $tag->term_id;
$html .= "<li><a href='{$tag_link}' class='{$tag->slug}'>";
$html .= "{$tag->name}</a></li>";
}
}
$html .= '</ul>';
echo $html;
?>
</div>
<section class="archive front">
<?php
// agregar sticky
$args = array(
'post_type' => 'agenda',
'numberposts' => 9,
'orderby' => 'rand'
);
$posts = get_posts($args);
foreach($posts as $post):
$galeria = get_field('galeria', $post->ID);
$categ = get_the_terms($post->ID, 'tipos_agenda');
$class = '';
if($categ): foreach($categ as $cat):
$class .= $cat->slug . ' ';
endforeach; endif;
?>
<a class="item_archive <?php echo $class; ?>" href="<?php echo get_permalink() ?>">
<div class="img" style="background-image: url('<?php echo $galeria[0]['sizes']['large'] ?>')"></div>
<div class="title">
<?php if($categ): foreach($categ as $item): ?>
<?php $color = get_field('color', $item); ?>
<div class="categ <?php echo $item->slug ?>" style="border-color: <?php echo $color ?>"></div>
<?php endforeach; endif; ?>
<div class="txt_crop">
<?php the_title(); ?>
</div>
</div>
</a>
<?php endforeach;?>
<div class="external_nav top_margin">
<!-- <a href="" class="link">Ir al calendario</a> -->
<a href="<?php echo get_blogInfo('url') ?>/?post_type=agenda" class="link">Ir al archivo</a>
</div>
</section>
<!-- anadit nube de tags -->
<!-- <div id="carrousel">
<?php $galeria = get_field('galeria_front') ?>
<?php if($galeria): foreach($galeria as $img): ?>
<div class="item gal" style="background-image: url('<?php echo $img['url'] ?>')"></div>
<?php endforeach; endif; ?>
</div> -->
</div>
</article>
<!-- Cargar el contenido del content que se administra desde la página Página Principal -->
<!-- Para que sirva toca configurar en lectura esa pagina principal como el homepage -->
<?php get_footer(); ?>