feat: implement import functionality with tab navigation for receipts and invoices

This commit is contained in:
Nils-Johan Gynther
2026-04-16 21:39:23 +02:00
parent 2a0da005ff
commit 4474c4da01
5 changed files with 226 additions and 32 deletions
+2 -17
View File
@@ -90,7 +90,7 @@ export default function Navigation() {
Admin
</Link>
<Link
href="/recipes/create"
href="/import"
style={{
padding: '0.5rem 0.75rem',
background: '#fff',
@@ -102,7 +102,7 @@ export default function Navigation() {
fontWeight: 500,
}}
>
Snabbimport recept
📥 Importera
</Link>
<Link
href="/matplan"
@@ -119,21 +119,6 @@ export default function Navigation() {
>
📅 Matplan
</Link>
<Link
href="/kvitto"
style={{
padding: '0.5rem 0.75rem',
background: '#fff',
border: '1px solid #ddd',
borderRadius: '4px',
textDecoration: 'none',
color: '#0070f3',
fontSize: '0.9rem',
fontWeight: 500,
}}
>
🧾 Importera kvitto
</Link>
</nav>
);
}