feat(recipes): add CreateRecipeClient component for quick recipe import

refactor(recipes): integrate Navigation component into various recipe pages
This commit is contained in:
Nils-Johan Gynther
2026-04-17 20:37:48 +02:00
parent 28e938e66e
commit 68b29f6d8e
8 changed files with 241 additions and 230 deletions
@@ -3,7 +3,6 @@
import Link from 'next/link';
import { useRouter } from 'next/navigation';
import { useState } from 'react';
import Navigation from '../../Navigation';
import { parseErrorResponse } from '../../../lib/error-handler';
export default function ImportFilePage() {
@@ -84,7 +83,6 @@ export default function ImportFilePage() {
return (
<main style={{ padding: '1rem', maxWidth: '900px', margin: '0 auto' }}>
<Navigation />
<h1 style={{ marginBottom: '0.5rem' }}>Importera från fil eller länk</h1>
<p style={{ color: '#666', marginBottom: '1.5rem' }}>
Ladda upp en PDF eller bild för OCR, eller ange en receptlänk.