"use client"; import { Button } from "@/components/ui/button"; import { Card, CardDescription, CardHeader } from "@/components/ui/card"; import { KhojLogo } from "../logo/khojLogo"; import { Drawer, DrawerContent } from "@/components/ui/drawer"; export interface LoginPopupProps { isMobileWidth?: boolean; setShowLoginPrompt: (show: boolean) => void; } export default function LoginPopup(props: LoginPopupProps) { if (props.isMobileWidth) { return ( props.setShowLoginPrompt(false)}> ); } return (
); } function PopUpContent(props: LoginPopupProps) { return ( {!props.isMobileWidth && }
Welcome to Khoj! Sign in to get started with Khoj, your AI research assistant.
); }