feat(shared): add cn utility for tailwind-aware class merging #38

Merged
ilia merged 11 commits from feature/minor-improvements into main 2026-04-23 12:11:03 +00:00
Showing only changes of commit 2ae24912f7 - Show all commits
+1 -1
View File
@@ -17,7 +17,7 @@ const currentYear = new Date().getFullYear();
<footer <footer
class={cn( class={cn(
'fixed z-10 flex flex-row items-end gap-1 pointer-events-none', 'fixed z-10 flex flex-row items-end gap-1 pointer-events-none',
isVertical ? 'bottom-5 right-5 [writing-mode:vertical-rl] rotate-180' : ' bottom-2 left-1/2 -translate-x-1/2', isVertical ? 'bottom-2.5 right-2.5 [writing-mode:vertical-rl] rotate-180' : 'bottom-4 left-4',
)} )}
> >
<!-- Project Name (Horizontal) --> <!-- Project Name (Horizontal) -->