diff --git a/public/file.svg b/public/file.svg deleted file mode 100644 index 004145c..0000000 --- a/public/file.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/globe.svg b/public/globe.svg deleted file mode 100644 index 567f17b..0000000 --- a/public/globe.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/next.svg b/public/next.svg deleted file mode 100644 index 5174b28..0000000 --- a/public/next.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/vercel.svg b/public/vercel.svg deleted file mode 100644 index 7705396..0000000 --- a/public/vercel.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/window.svg b/public/window.svg deleted file mode 100644 index b2b2a44..0000000 --- a/public/window.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/components/ui/toaster.tsx b/src/components/ui/toaster.tsx deleted file mode 100644 index bf219d4..0000000 --- a/src/components/ui/toaster.tsx +++ /dev/null @@ -1,43 +0,0 @@ -"use client"; - -import { - Toaster as ChakraToaster, - Portal, - Spinner, - Stack, - Toast, - createToaster -} from "@chakra-ui/react"; - -export const toaster = createToaster({ - placement: "bottom-end", - pauseOnPageIdle: true -}); - -export const Toaster = () => { - return ( - - - {(toast) => ( - - {toast.type === "loading" ? ( - - ) : ( - - )} - - {toast.title && {toast.title}} - {toast.description && ( - {toast.description} - )} - - {toast.action && ( - {toast.action.label} - )} - {toast.closable && } - - )} - - - ); -}; diff --git a/src/components/ui/tooltip.tsx b/src/components/ui/tooltip.tsx deleted file mode 100644 index c4dd376..0000000 --- a/src/components/ui/tooltip.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import { Tooltip as ChakraTooltip, Portal } from "@chakra-ui/react"; -import * as React from "react"; - -export interface TooltipProps extends ChakraTooltip.RootProps { - showArrow?: boolean; - portalled?: boolean; - portalRef?: React.RefObject; - content: React.ReactNode; - contentProps?: ChakraTooltip.ContentProps; - disabled?: boolean; -} - -export const Tooltip = React.forwardRef( - function Tooltip(props, ref) { - const { - showArrow, - children, - disabled, - portalled = true, - content, - contentProps, - portalRef, - ...rest - } = props; - - if (disabled) return children; - - return ( - - {children} - - - - {showArrow && ( - - - - )} - {content} - - - - - ); - } -);