import { BloomOne } from '@sd/assets/images'; import clsx from 'clsx'; import { Navigate, Outlet } from 'react-router'; import { useDebugState } from '@sd/client'; import DragRegion from '~/components/DragRegion'; import { useOperatingSystem } from '~/hooks/useOperatingSystem'; import DebugPopover from '../$libraryId/Layout/Sidebar/DebugPopover'; import { macOnly } from '../$libraryId/Layout/Sidebar/helpers'; import { OnboardingContext, useContextValue } from './context'; import Progress from './Progress'; export const Component = () => { const os = useOperatingSystem(false); const debugState = useDebugState(); // FIX-ME: Intro video breaks onboarding for the web and Linux versions // const [showIntro, setShowIntro] = useState(os === 'macOS' || os === 'windows'); // const windowSize = useWindowSize(); const ctx = useContextValue(); if (ctx.libraries.isLoading) return null; if (ctx.library?.uuid !== undefined) return ; return (
{/* {showIntro && ( )} */}

© {new Date().getFullYear()} Spacedrive Technology Inc.

{/* */}
{debugState.enabled && }
); };