Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

934 B
Raw Blame
import { FC } from 'react';
import { Button } from './ui/Button.tsx';

const NotConfigured: FC<{ open: boolean; onConfigure: () => void }> = ({
  open,
  onConfigure,
}) => {
  if (!open) return null;

  return (
    <div className="fixed top-0 bottom-0 left-0 right-0 inset-0 bg-background z-10">
      <div className="container flex flex-col gap-3 justify-center items-center h-full max-w-lg mx-auto">
        <img
          src="./128.png"
          height="40px"
          width="40px"
          className="rounded"
          alt="Linkwarden Logo"
        />
        <h1 className="font-medium text-lg" style={{ fontSize: '1.65rem' }}>
          Initial Setup
        </h1>

        <div className="flex justify-center items-center">
          <Button onClick={onConfigure} className="w-40" variant="outline">
            Configure
          </Button>
        </div>
      </div>
    </div>
  );
};

export default NotConfigured;