refactor(ui): drop redundant page headers, rework measure profile UX
Removes decorative route-label h1s across fitness, recipe and cospend pages — replaced with sr-only h1s for assistive tech and a shared .sr-only utility in app.css. On the measure page, the tucked-away profile chip becomes a dismissible setup banner that only appears when sex/height/birth year are missing, with a permanent "Edit profile" link at the foot of the page.
This commit is contained in:
@@ -195,6 +195,13 @@ const translations: Translations = {
|
||||
// Measure page
|
||||
measure_title: { en: 'Measure', de: 'Messen' },
|
||||
profile: { en: 'Profile', de: 'Profil' },
|
||||
profile_setup_cta: {
|
||||
en: 'Add height & birth year to unlock BMI, TDEE and calorie balance stats.',
|
||||
de: 'Größe & Geburtsjahr eintragen, um BMI, TDEE und Kalorienbilanz freizuschalten.'
|
||||
},
|
||||
set_up_profile: { en: 'Set up', de: 'Einrichten' },
|
||||
edit_profile: { en: 'Edit profile', de: 'Profil bearbeiten' },
|
||||
dismiss: { en: 'Dismiss', de: 'Verwerfen' },
|
||||
new_measurement: { en: 'New Measurement', de: 'Neue Messung' },
|
||||
edit_measurement: { en: 'Edit Measurement', de: 'Messung bearbeiten' },
|
||||
weight_kg: { en: 'Weight (kg)', de: 'Gewicht (kg)' },
|
||||
|
||||
Reference in New Issue
Block a user