@gaulatti/giorgia 0.1.80 → 0.1.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  <!doctype html>
2
- <html lang="en">
2
+ <html lang="es">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
6
- <title>Live Program | ModoItaliano</title>
6
+ <title>Programación en vivo | ModoItaliano</title>
7
7
  <link rel="preconnect" href="https://fonts.googleapis.com" />
8
8
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
9
9
  <link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Encode+Sans+Condensed:wght@100;200;300;400;500;600;700;800;900&family=Encode+Sans:wght@100..900&family=Funnel+Display:wght@300..800&family=League+Gothic&family=Libre+Franklin:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&display=swap" rel="stylesheet" />
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gaulatti/giorgia",
3
3
  "description": "Server-side Handlebars renderer and templates for ModoItaliano pages.",
4
- "version": "0.1.80",
4
+ "version": "0.1.82",
5
5
  "license": "MIT",
6
6
  "author": "ModoItaliano",
7
7
  "repository": {
@@ -52,49 +52,57 @@
52
52
 
53
53
  <div class='relative mx-auto h-full max-w-6xl px-9 pt-10.25'>
54
54
  <div class='grid grid-cols-[1fr_auto_1fr] items-start'>
55
- <button
56
- id='radio-menu-button'
57
- class='mt-4.75 inline-flex h-7 w-7 items-center justify-center text-white transition hover:opacity-70 focus:outline-none focus:ring-2 focus:ring-white'
58
- type='button'
59
- aria-label='Abrir menú de navegación'
60
- aria-expanded='false'
61
- aria-controls='radio-menu'
62
- >
63
- <span class='flex w-5.25 flex-col gap-1.25' aria-hidden='true'>
64
- <span class='h-0.5 w-full bg-white'></span>
65
- <span class='h-0.5 w-full bg-white'></span>
66
- </span>
67
- </button>
55
+ {{#unless (eq layout "coming-soon")}}
56
+ <button
57
+ id='radio-menu-button'
58
+ class='mt-4.75 inline-flex h-7 w-7 items-center justify-center text-white transition hover:opacity-70 focus:outline-none focus:ring-2 focus:ring-white'
59
+ type='button'
60
+ aria-label='Abrir menú de navegación'
61
+ aria-expanded='false'
62
+ aria-controls='radio-menu'
63
+ >
64
+ <span class='flex w-5.25 flex-col gap-1.25' aria-hidden='true'>
65
+ <span class='h-0.5 w-full bg-white'></span>
66
+ <span class='h-0.5 w-full bg-white'></span>
67
+ </span>
68
+ </button>
69
+ {{else}}
70
+ <span aria-hidden='true'></span>
71
+ {{/unless}}
68
72
 
69
73
  <a href='{{logoLink}}' class='mt-3 block h-12 w-34.5 focus:outline-none focus:ring-2 focus:ring-white' aria-label='Inicio de ModoItaliano'>
70
74
  <img src='{{coalesce logoAssetUrl "https://cdn.modoitaliano.fm/assets/mi.svg"}}' alt='MI' class='h-full w-full object-contain' />
71
75
  </a>
72
76
 
73
- <a href='{{#if (eq language "es")}}/search{{else}}/{{language}}/search{{/if}}' class='mt-4.5 justify-self-end p-1 text-white/85 transition hover:text-white focus:outline-none focus:ring-2 focus:ring-white' aria-label='Buscar'>
74
- <svg class='h-5 w-5' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' aria-hidden='true'><circle cx='11' cy='11' r='7'></circle><path d='m20 20-4-4'></path></svg>
75
- </a>
77
+ {{#unless (eq layout "coming-soon")}}
78
+ <a href='{{#if (eq language "es")}}/search{{else}}/{{language}}/search{{/if}}' class='mt-4.5 justify-self-end p-1 text-white/85 transition hover:text-white focus:outline-none focus:ring-2 focus:ring-white' aria-label='Buscar'>
79
+ <svg class='h-5 w-5' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' aria-hidden='true'><circle cx='11' cy='11' r='7'></circle><path d='m20 20-4-4'></path></svg>
80
+ </a>
81
+ {{/unless}}
76
82
  </div>
77
83
 
78
- <nav class='radio-navigation absolute inset-x-9 top-35.75 hidden justify-center gap-x-10 text-base font-bold uppercase leading-5 lg:flex' style='font-weight: 700;' aria-label='Navegación principal'>
79
- {{#each (slice navigation.categories 0 6)}}
80
- <a href='/{{slug}}' class='whitespace-nowrap transition hover:text-white/65 focus:outline-none focus:underline'>{{name}}</a>
81
- {{/each}}
82
- </nav>
83
-
84
- <div id='radio-menu' class='pointer-events-none absolute inset-x-9 top-25.75 z-[70] origin-top scale-y-95 rounded-sm bg-[#b00058]/95 p-7 opacity-0 shadow-2xl backdrop-blur-md transition duration-200' hidden>
85
- <div class='flex items-center justify-between border-b border-white/30 pb-4'>
86
- <p class='text-xs font-bold uppercase tracking-[0.18em]'>Explora ModoItaliano</p>
87
- <button id='radio-menu-close' class='p-1 focus:outline-none focus:ring-2 focus:ring-white' type='button' aria-label='Cerrar menú de navegación'>
88
- <svg class='h-5 w-5' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' aria-hidden='true'><path d='M6 6l12 12M18 6 6 18'></path></svg>
89
- </button>
90
- </div>
91
- <nav class='grid grid-cols-2 gap-x-6 gap-y-4 pt-5 sm:grid-cols-3' aria-label='Todas las secciones'>
92
- <a href='{{logoLink}}' class='text-sm font-bold transition hover:text-white/65'>Noticias destacadas</a>
93
- {{#each navigation.categories}}
94
- <a href='/{{slug}}' class='text-sm font-bold transition hover:text-white/65'>{{name}}</a>
84
+ {{#unless (eq layout "coming-soon")}}
85
+ <nav class='radio-navigation absolute inset-x-9 top-35.75 hidden justify-center gap-x-10 text-base font-bold uppercase leading-5 lg:flex' style='font-weight: 700;' aria-label='Navegación principal'>
86
+ {{#each (slice navigation.categories 0 6)}}
87
+ <a href='/{{slug}}' class='whitespace-nowrap transition hover:text-white/65 focus:outline-none focus:underline'>{{name}}</a>
95
88
  {{/each}}
96
89
  </nav>
97
- </div>
90
+
91
+ <div id='radio-menu' class='pointer-events-none absolute inset-x-9 top-25.75 z-[70] origin-top scale-y-95 rounded-sm bg-[#b00058]/95 p-7 opacity-0 shadow-2xl backdrop-blur-md transition duration-200' hidden>
92
+ <div class='flex items-center justify-between border-b border-white/30 pb-4'>
93
+ <p class='text-xs font-bold uppercase tracking-[0.18em]'>Explora ModoItaliano</p>
94
+ <button id='radio-menu-close' class='p-1 focus:outline-none focus:ring-2 focus:ring-white' type='button' aria-label='Cerrar menú de navegación'>
95
+ <svg class='h-5 w-5' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' aria-hidden='true'><path d='M6 6l12 12M18 6 6 18'></path></svg>
96
+ </button>
97
+ </div>
98
+ <nav class='grid grid-cols-2 gap-x-6 gap-y-4 pt-5 sm:grid-cols-3' aria-label='Todas las secciones'>
99
+ <a href='{{logoLink}}' class='text-sm font-bold transition hover:text-white/65'>Noticias destacadas</a>
100
+ {{#each navigation.categories}}
101
+ <a href='/{{slug}}' class='text-sm font-bold transition hover:text-white/65'>{{name}}</a>
102
+ {{/each}}
103
+ </nav>
104
+ </div>
105
+ {{/unless}}
98
106
 
99
107
  <section
100
108
  class='absolute left-1/2 top-35.75 z-60 h-72.5 w-72.5 -translate-x-1/2 overflow-hidden bg-[#312d2e] lg:top-51.25'