@gaulatti/bleecker 0.1.36 → 0.1.37
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.
|
@@ -8,9 +8,9 @@ export function BrandLockup({ className, href, logoAlt = 'gaulatti', logoSrc = g
|
|
|
8
8
|
return (_jsx(_Fragment, { children: linkRenderer({
|
|
9
9
|
item: {
|
|
10
10
|
href,
|
|
11
|
-
label: name
|
|
11
|
+
label: name ?? logoAlt
|
|
12
12
|
},
|
|
13
|
-
className: cn('group inline-flex items-center
|
|
14
|
-
children: (_jsxs(_Fragment, { children: [_jsx("img", { src: logoSrc, alt: logoAlt, className: cn('w-auto opacity-90 transition-opacity duration-400 group-hover:opacity-100 dark:invert', isLarge ? 'h-12' : 'h-8') }), _jsx("div", { className: cn('w-px bg-sand/55 dark:bg-white/18', isLarge ? 'h-12' : 'h-8') }), _jsx("span", { className: cn('font-[family-name:var(--font-display)] font-semibold tracking-refined text-text-primary dark:text-text-primary', isLarge ? 'text-3xl' : 'text-xl'), children: name })] }))
|
|
13
|
+
className: cn('group inline-flex items-center transition-all duration-400', name && 'gap-4', className),
|
|
14
|
+
children: (_jsxs(_Fragment, { children: [_jsx("img", { src: logoSrc, alt: logoAlt, className: cn('w-auto opacity-90 transition-opacity duration-400 group-hover:opacity-100 dark:invert', isLarge ? 'h-12' : 'h-8') }), name ? (_jsxs(_Fragment, { children: [_jsx("div", { className: cn('w-px bg-sand/55 dark:bg-white/18', isLarge ? 'h-12' : 'h-8') }), _jsx("span", { className: cn('font-[family-name:var(--font-display)] font-semibold tracking-refined text-text-primary dark:text-text-primary', isLarge ? 'text-3xl' : 'text-xl'), children: name })] })) : null] }))
|
|
15
15
|
}) }));
|
|
16
16
|
}
|