diff --git a/src/components/animation/spotlight.tsx b/src/components/animation/spotlight.tsx index 2c3264ac3..e429997d5 100644 --- a/src/components/animation/spotlight.tsx +++ b/src/components/animation/spotlight.tsx @@ -33,10 +33,10 @@ export const Spotlight = ({
{showPageNumbers && totalNumberOfPages > 1 && ( -
+
Page {pageNumber} of {totalNumberOfPages} @@ -161,7 +161,7 @@ function PageContainer({ pageIndex, pageLayout, pageClassName, showPageNumbers =
{metadata.page.format !== "free-form" && pageHeight > maxPageHeight && ( -
+
{/* Sidebar Background */} {!fullWidth && ( -
+
)}
diff --git a/src/components/resume/templates/ditgar.tsx b/src/components/resume/templates/ditgar.tsx index ef0f67f47..b14724f99 100644 --- a/src/components/resume/templates/ditgar.tsx +++ b/src/components/resume/templates/ditgar.tsx @@ -37,7 +37,7 @@ export function DitgarTemplate({ pageIndex, pageLayout }: TemplateProps) {
{/* Sidebar Background */} {(!fullWidth || isFirstPage) && ( -
+
)}
diff --git a/src/components/resume/templates/gengar.tsx b/src/components/resume/templates/gengar.tsx index f1b5f2f2f..8e5fc371f 100644 --- a/src/components/resume/templates/gengar.tsx +++ b/src/components/resume/templates/gengar.tsx @@ -27,7 +27,7 @@ export function GengarTemplate({ pageIndex, pageLayout }: TemplateProps) {
{/* Sidebar Background */} {(!fullWidth || isFirstPage) && ( -
+
)}
diff --git a/src/components/resume/templates/glalie.tsx b/src/components/resume/templates/glalie.tsx index 4b546b9e3..d1996d204 100644 --- a/src/components/resume/templates/glalie.tsx +++ b/src/components/resume/templates/glalie.tsx @@ -27,7 +27,7 @@ export function GlalieTemplate({ pageIndex, pageLayout }: TemplateProps) {
{/* Sidebar Background */} {(!fullWidth || isFirstPage) && ( -
+
)}
diff --git a/src/components/ui/alert.tsx b/src/components/ui/alert.tsx index e3e2f2c57..ea14a252d 100644 --- a/src/components/ui/alert.tsx +++ b/src/components/ui/alert.tsx @@ -49,7 +49,7 @@ function AlertDescription({ className, ...props }: React.ComponentProps<"div">) } function AlertAction({ className, ...props }: React.ComponentProps<"div">) { - return
; + return
; } export { Alert, AlertTitle, AlertDescription, AlertAction }; diff --git a/src/components/ui/avatar.tsx b/src/components/ui/avatar.tsx index f587f602e..4e59700a3 100644 --- a/src/components/ui/avatar.tsx +++ b/src/components/ui/avatar.tsx @@ -50,7 +50,7 @@ function AvatarBadge({ className, ...props }: React.ComponentProps<"span">) { svg]:hidden", "group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2", "group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>svg]:size-2", diff --git a/src/components/ui/context-menu.tsx b/src/components/ui/context-menu.tsx index 18284d6c1..1b7ad8341 100644 --- a/src/components/ui/context-menu.tsx +++ b/src/components/ui/context-menu.tsx @@ -129,7 +129,7 @@ function ContextMenuCheckboxItem({ checked={checked} {...props} > - + @@ -153,7 +153,7 @@ function ContextMenuRadioItem({ )} {...props} > - + diff --git a/src/components/ui/dropdown-menu.tsx b/src/components/ui/dropdown-menu.tsx index 342628119..8b852567e 100644 --- a/src/components/ui/dropdown-menu.tsx +++ b/src/components/ui/dropdown-menu.tsx @@ -102,7 +102,7 @@ function DropdownMenuCheckboxItem({ className, children, checked, disabled, ...p checked={checked} {...props} > - + @@ -131,7 +131,7 @@ function DropdownMenuRadioItem({ className, children, disabled, ...props }: Drop )} {...props} > - + diff --git a/src/components/ui/resizable.tsx b/src/components/ui/resizable.tsx index 8d2a93fdb..e92325df1 100644 --- a/src/components/ui/resizable.tsx +++ b/src/components/ui/resizable.tsx @@ -27,7 +27,7 @@ function ResizableSeparator({ div]:rotate-90", + "relative flex w-px items-center justify-center bg-transparent transition-colors after:absolute after:inset-s-1/2 after:inset-y-0 after:w-1 after:-translate-x-1/2 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[separator='active']:bg-sky-700 data-[separator='hover']:bg-sky-700 data-[panel-group-direction=vertical]:after:inset-s-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90", className, )} {...props} diff --git a/src/components/ui/sheet.tsx b/src/components/ui/sheet.tsx index 891986d83..d930d53e9 100644 --- a/src/components/ui/sheet.tsx +++ b/src/components/ui/sheet.tsx @@ -50,7 +50,7 @@ function SheetContent({ data-slot="sheet-content" data-side={side} className={cn( - "data-[side=right]:data-closed:slide-out-to-end-10 data-[side=right]:data-open:slide-in-from-end-10 data-[side=left]:data-closed:slide-out-to-start-10 data-[side=left]:data-open:slide-in-from-start-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 fixed z-50 flex flex-col gap-4 bg-background bg-clip-padding text-sm shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=top]:inset-x-0 data-[side=left]:inset-y-0 data-[side=right]:inset-y-0 data-[side=left]:start-0 data-[side=right]:end-0 data-[side=top]:top-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=left]:h-full data-[side=right]:h-full data-[side=top]:h-auto data-[side=left]:w-3/4 data-[side=right]:w-3/4 data-closed:animate-out data-open:animate-in data-[side=bottom]:border-t data-[side=left]:border-r data-[side=top]:border-b data-[side=right]:border-l data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm", + "data-[side=right]:data-closed:slide-out-to-end-10 data-[side=right]:data-open:slide-in-from-end-10 data-[side=left]:data-closed:slide-out-to-start-10 data-[side=left]:data-open:slide-in-from-start-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 fixed z-50 flex flex-col gap-4 bg-background bg-clip-padding text-sm shadow-lg transition duration-200 ease-in-out data-[side=left]:inset-s-0 data-[side=right]:inset-e-0 data-[side=bottom]:inset-x-0 data-[side=top]:inset-x-0 data-[side=left]:inset-y-0 data-[side=right]:inset-y-0 data-[side=top]:top-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=left]:h-full data-[side=right]:h-full data-[side=top]:h-auto data-[side=left]:w-3/4 data-[side=right]:w-3/4 data-closed:animate-out data-open:animate-in data-[side=bottom]:border-t data-[side=left]:border-r data-[side=top]:border-b data-[side=right]:border-l data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm", className, )} {...props} @@ -58,7 +58,7 @@ function SheetContent({ {children} {showCloseButton && ( - diff --git a/src/components/ui/sidebar.tsx b/src/components/ui/sidebar.tsx index 3c47c5f76..99a521166 100644 --- a/src/components/ui/sidebar.tsx +++ b/src/components/ui/sidebar.tsx @@ -203,8 +203,8 @@ function Sidebar({ className={cn( "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] ease-in-out md:flex", side === "left" - ? "start-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" - : "end-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]", + ? "inset-s-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" + : "inset-e-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]", variant === "floating" || variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l", @@ -258,12 +258,12 @@ function SidebarRail({ className, ...props }: React.ComponentProps<"button">) { onClick={toggleSidebar} title="Toggle Sidebar" className={cn( - "absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-in-out after:absolute after:inset-y-0 after:start-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=right]:start-0 group-data-[side=left]:-end-4 sm:flex", + "absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-in-out after:absolute after:inset-s-1/2 after:inset-y-0 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-inset-e-4 group-data-[side=right]:inset-s-0 sm:flex", "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize", "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize", "group-data-[collapsible=offcanvas]:translate-x-0 hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:after:left-full", - "[[data-side=left][data-collapsible=offcanvas]_&]:-end-2", - "[[data-side=right][data-collapsible=offcanvas]_&]:-start-2", + "[[data-side=left][data-collapsible=offcanvas]_&]:-inset-e-2", + "[[data-side=right][data-collapsible=offcanvas]_&]:-inset-s-2", className, )} {...props} @@ -387,7 +387,7 @@ function SidebarGroupAction({ data-slot="sidebar-group-action" data-sidebar="group-action" className={cn( - "absolute end-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", + "absolute inset-e-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", "after:absolute after:-inset-2 md:after:hidden", "group-data-[collapsible=icon]:hidden", className, @@ -512,7 +512,7 @@ function SidebarMenuAction({ data-slot="sidebar-menu-action" data-sidebar="menu-action" className={cn( - "absolute end-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0", + "absolute inset-e-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0", "after:absolute after:-inset-2 md:after:hidden", "peer-data-[size=sm]/menu-button:top-1", "peer-data-[size=default]/menu-button:top-1.5", @@ -533,7 +533,7 @@ function SidebarMenuBadge({ className, ...props }: React.ComponentProps<"div">) data-slot="sidebar-menu-badge" data-sidebar="menu-badge" className={cn( - "pointer-events-none absolute end-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 font-medium text-sidebar-foreground text-xs tabular-nums", + "pointer-events-none absolute inset-e-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 font-medium text-sidebar-foreground text-xs tabular-nums", "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground", "peer-data-[size=sm]/menu-button:top-1", "peer-data-[size=default]/menu-button:top-1.5", diff --git a/src/components/ui/switch.tsx b/src/components/ui/switch.tsx index 2ecc8c494..a34993aa0 100644 --- a/src/components/ui/switch.tsx +++ b/src/components/ui/switch.tsx @@ -34,7 +34,7 @@ function Switch({ className, pressedWidth = 20, startIcon, endIcon, thumbIcon, . {thumbIcon && ( {thumbIcon} @@ -44,7 +44,7 @@ function Switch({ className, pressedWidth = 20, startIcon, endIcon, thumbIcon, . {startIcon && ( {startIcon} @@ -52,7 +52,7 @@ function Switch({ className, pressedWidth = 20, startIcon, endIcon, thumbIcon, . {endIcon && ( {endIcon} diff --git a/src/components/ui/tabs.tsx b/src/components/ui/tabs.tsx index 7ab798462..b5de2d4de 100644 --- a/src/components/ui/tabs.tsx +++ b/src/components/ui/tabs.tsx @@ -52,7 +52,7 @@ function TabsTrigger({ className, ...props }: React.ComponentProps ( {/* Gradient Orbs */} -
-
+
+
@@ -146,8 +146,8 @@ export const DonationBanner = () => ( > diff --git a/src/routes/_home/-sections/hero.tsx b/src/routes/_home/-sections/hero.tsx index 154faf6b6..701255e72 100644 --- a/src/routes/_home/-sections/hero.tsx +++ b/src/routes/_home/-sections/hero.tsx @@ -119,7 +119,7 @@ export function Hero() {