"use client";
import { useState } from "react";
import Link from "next/link";
import { buttonVariants } from "@/components/ui/button";
import FilePickerButton from "@/components/ui/file-picker-button";
import { Progress } from "@/components/ui/progress";
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from "@/components/ui/select";
import { useBookmarkImport } from "@/lib/hooks/useBookmarkImport";
import { useTranslation } from "@/lib/i18n/client";
import { cn } from "@/lib/utils";
import { Download, Upload } from "lucide-react";
import { Card, CardContent } from "../ui/card";
function ImportCard({
text,
description,
children,
}: {
text: string;
description: string;
children: React.ReactNode;
}) {
return (
{description} {t("settings.import.export_links_and_notes")} Export{text}
Export File
Import
Import
Import
Import
Import
Import
Processed {importProgress.done} of {importProgress.total} bookmarks
{t("settings.import.import_export_bookmarks")}