feat: add gallery upload and fix mobile header issues

- Added 'Upload from Gallery' button to CameraCapture component
- Implemented secondary file input without 'capture' attribute to allow gallery selection on mobile
- Fixed overlapping header elements on mobile by making the header responsive
- Compacted 'Dram of the Day' button on small screens
- Added translations for the new gallery upload feature
This commit is contained in:
2025-12-18 15:48:11 +01:00
parent 960fa89fc1
commit 0f56c8b0f4
6 changed files with 62 additions and 34 deletions

View File

@@ -130,6 +130,7 @@ export const de: TranslationKeys = {
toVault: 'Zum Whisky im Vault',
authRequired: 'Bitte melde dich an, um Flaschen zu speichern.',
processingError: 'Verarbeitung fehlgeschlagen. Bitte erneut versuchen.',
uploadGallery: 'Aus Galerie hochladen',
},
tasting: {
addNote: 'Neue Note hinzufügen',

View File

@@ -130,6 +130,7 @@ export const en: TranslationKeys = {
toVault: 'Go to bottle in Vault',
authRequired: 'Please sign in to save bottles.',
processingError: 'Processing failed. Please try again.',
uploadGallery: 'Upload from Gallery',
},
tasting: {
addNote: 'Add Tasting Note',

View File

@@ -128,6 +128,7 @@ export type TranslationKeys = {
toVault: string;
authRequired: string;
processingError: string;
uploadGallery: string;
};
tasting: {
addNote: string;