feat: avatar opener

This commit is contained in:
gosangam
2026-06-03 00:49:58 +05:30
parent fd333159f6
commit ddc6d3c7bf
4 changed files with 204 additions and 61 deletions
+6
View File
@@ -16,6 +16,12 @@ export function Toaster() {
<SonnerToaster
theme={(resolvedTheme as "light" | "dark") || "light"}
position="bottom-right"
// SiteBottomNav sits at the viewport bottom on small screens
// (md:hidden). Without this, sonner stacks toasts right on top of
// the nav. 5rem clears the ~64px nav with a little breathing room.
// Desktop is unaffected — the regular `offset` prop is left at
// its default.
mobileOffset={{ bottom: "5rem" }}
richColors={false}
closeButton
toastOptions={{