+
+ Ladda upp en PDF eller bild för OCR, eller ange en receptlänk.
+
+
+ {error && (
+
+ {error}
+
+ )}
+
+ {/* Välj metod */}
+
+ {(['file', 'url'] as const).map((m) => (
+
+ ))}
+
+
+ {selectedMethod === 'file' && (
+
+ )}
+
+ {selectedMethod === 'url' && (
+
+ )}
+
+
+ Efter import öppnas receptet automatiskt i redigeringsläget.
+
+
+
+
+ Skriv in recept istället
+
+
+
+ );
+}
diff --git a/frontend/app/import/page.tsx b/frontend/app/import/page.tsx
new file mode 100644
index 00000000..92ef4dfa
--- /dev/null
+++ b/frontend/app/import/page.tsx
@@ -0,0 +1,18 @@
+import { Metadata } from 'next';
+import ImportTabsClient from './ImportTabsClient';
+
+type Props = {
+ searchParams: Promise<{ tab?: string }>;
+};
+
+export async function generateMetadata({ searchParams }: Props): Promise