@gaulatti/giorgia 0.1.89 → 0.1.94

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.
@@ -7,11 +7,7 @@ const layoutCache = new Map();
7
7
  let runtimeStyles = '';
8
8
  const removedBlockTypes = new Set(['truthSocial', 'truthsocial', 'truth-social', 'truth_social']);
9
9
  const defaultSocialImageUrl = 'https://cdn.modoitaliano.fm/assets/default-og.jpg';
10
- const siteTitlesByLanguage = {
11
- en: 'ModoItaliano - Breaking News & Current Events',
12
- es: 'ModoItaliano - Música italiana, noticias y lanzamientos',
13
- it: 'ModoItaliano - Ultime notizie e attualità'
14
- };
10
+ const homepageTitle = 'ModoItaliano - Música italiana, noticias y lanzamientos';
15
11
  function normalizePathInput(value) {
16
12
  if (typeof value !== 'string')
17
13
  return '';
@@ -258,8 +254,7 @@ function registerHelpers() {
258
254
  return 'ModoItaliano';
259
255
  const page = doc;
260
256
  if (page.layout === 'homepage') {
261
- const language = page.language === 'en' || page.language === 'it' ? page.language : 'es';
262
- return siteTitlesByLanguage[language];
257
+ return homepageTitle;
263
258
  }
264
259
  if (page.layout === 'category-page') {
265
260
  const categoryName = page.categories?.[0]?.name?.trim();
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.89",
4
+ "version": "0.1.94",
5
5
  "license": "MIT",
6
6
  "author": "ModoItaliano",
7
7
  "repository": {
@@ -42,7 +42,6 @@
42
42
  "components/editorial-hero": ["homepage"],
43
43
  "components/hero": ["homepage"],
44
44
  "components/hero-editorial": ["homepage"],
45
- "components/trending": ["homepage"],
46
45
  "components/ui/accordion": ["article-page", "homepage", "category-page", "search-page", "live-story", "404"],
47
46
  "components/ui/breadcrumb": ["article-page", "homepage", "category-page", "search-page", "live-story", "404"],
48
47
  "components/ui/icon-button": ["article-page", "homepage", "category-page", "search-page", "live-story", "404"],
@@ -26,10 +26,6 @@
26
26
  {{/unless}}
27
27
 
28
28
  <main class='max-w-[1440px] mx-auto min-h-screen'>
29
- {{#unless (eq showTrending false)}}
30
- {{> components/trending}}
31
- {{/unless}}
32
-
33
29
  {{#if showEditorialHero}}
34
30
  {{> components/editorial-hero
35
31
  title=(coalesce heroTitle title)
@@ -19,7 +19,7 @@
19
19
  </svg>
20
20
  </a>
21
21
  <a
22
- href='https://www.instagram.com/modoitaliano.oficial/'
22
+ href='https://www.instagram.com/modoitaliano.fm/'
23
23
  target='_blank'
24
24
  rel='noopener noreferrer'
25
25
  class='text-slate-600 dark:text-slate-400 hover:text-[#E4405F] dark:hover:text-[#E4405F] transition-colors'
@@ -32,7 +32,7 @@
32
32
  </svg>
33
33
  </a>
34
34
  <a
35
- href='https://www.tiktok.com/@modoitaliano.oficial'
35
+ href='https://www.tiktok.com/@modoitaliano.fm'
36
36
  target='_blank'
37
37
  rel='noopener noreferrer'
38
38
  class='text-slate-600 dark:text-slate-400 hover:text-[#000000] dark:hover:text-[#ffffff] transition-colors'
@@ -26,7 +26,9 @@
26
26
  }
27
27
 
28
28
  .radio-weather-bar {
29
- background: linear-gradient(90deg, rgba(10, 18, 52, 0.98), rgba(49, 45, 46, 0.94));
29
+ background: linear-gradient(90deg, rgba(10, 18, 52, 0.78), rgba(49, 45, 46, 0.4));
30
+ -webkit-backdrop-filter: blur(7px);
31
+ backdrop-filter: blur(7px);
30
32
  border-top: 2px solid #ed0076;
31
33
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12);
32
34
  color: #fff;
@@ -185,6 +187,7 @@
185
187
  {{#each (slice navigation.categories 0 6)}}
186
188
  <a href='/{{slug}}' class='whitespace-nowrap transition hover:text-white/65 focus:outline-none focus:underline'>{{name}}</a>
187
189
  {{/each}}
190
+ <a href='/quienes-somos' class='whitespace-nowrap transition hover:text-white/65 focus:outline-none focus:underline'>Quienes somos</a>
188
191
  </nav>
189
192
 
190
193
  <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>
@@ -199,6 +202,7 @@
199
202
  {{#each navigation.categories}}
200
203
  <a href='/{{slug}}' class='text-sm font-bold transition hover:text-white/65'>{{name}}</a>
201
204
  {{/each}}
205
+ <a href='/quienes-somos' class='text-sm font-bold transition hover:text-white/65'>Quienes somos</a>
202
206
  </nav>
203
207
  </div>
204
208
  {{/unless}}