) => (
| ) => (
| {
return (
-
+
{/* header */}
-
+
{/* icon */}
{__withMeta__ && __filename__ ? (
<>
- {__filename__}
+ {__filename__}
>
) : (
<>
- Terminal
+ Terminal
>
)}
@@ -139,13 +136,13 @@ const components = {
)}
{/* code */}
@@ -154,7 +151,7 @@ const components = {
code: ({ className, ...props }: React.HTMLAttributes ) => (
route === pathname && 'hidden'),
disableOnLayouts && disableOnLayouts.map(layout => pathname.startsWith(layout) && 'hidden'),
top < 100 && 'hidden'
diff --git a/web/src/components/separator.tsx b/web/src/components/separator.tsx
deleted file mode 100644
index 6d20a9b..0000000
--- a/web/src/components/separator.tsx
+++ /dev/null
@@ -1,25 +0,0 @@
-'use client'
-
-import * as React from 'react'
-import * as SeparatorPrimitive from '@radix-ui/react-separator'
-import clsx from 'clsx'
-
-const Separator = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, orientation = 'horizontal', decorative = true, ...props }, ref) => (
-
-))
-Separator.displayName = SeparatorPrimitive.Root.displayName
-
-export { Separator }
diff --git a/web/src/components/Spinner.tsx b/web/src/components/spinner.tsx
similarity index 87%
rename from web/src/components/Spinner.tsx
rename to web/src/components/spinner.tsx
index 28d7031..0c85052 100644
--- a/web/src/components/Spinner.tsx
+++ b/web/src/components/spinner.tsx
@@ -3,7 +3,7 @@ import { cn } from '~/utils/classNames'
export default function Spinner({ className }: { className?: string }) {
return (
|