Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/data/longevity/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const en = {
damageIndexTitle: 'Damage Index',
examplesTitle: 'Examples',
genericRulesTitle: 'Generic rules',
healthChoicesTitle: 'Food choices for Armenia',
hacksTitle: 'Hacks',
tooltipSubText: 'Consumption consequences',
viewSleepChart: 'View sleep structure chart',
Expand Down
1 change: 1 addition & 0 deletions src/data/longevity/hy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const hy = {
damageIndexTitle: 'Damage Index',
examplesTitle: 'Examples',
genericRulesTitle: 'Generic rules',
healthChoicesTitle: 'Food choices for Armenia',
hacksTitle: 'Hacks',
tooltipSubText: 'Consumption consequences',
viewSleepChart: 'View sleep structure chart',
Expand Down
1 change: 1 addition & 0 deletions src/data/longevity/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const ru = {
damageIndexTitle: 'Индекс вреда',
examplesTitle: 'Примеры',
genericRulesTitle: 'Общие правила',
healthChoicesTitle: 'Полезные продукты в Армении',
hacksTitle: 'Лайфхаки',
tooltipSubText: 'Последствия потребления',
viewSleepChart: 'Показать чарт структуры сна',
Expand Down
2 changes: 1 addition & 1 deletion src/data/navbar/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const ru = {
companyManagement: 'Управление Компанией',
articles: 'Статьи',
contributorsTxt: 'участники',
tools: 'Инструменты',
tools: 'Протокол Долголетия',
};

export default ru;
9 changes: 9 additions & 0 deletions src/layouts/DietLayout/DietLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const DietLayout: FC<DietLayoutProps> = ({ locale, data }) => {
whatToEatTitle,
whatNotToEatTitle,
genericRulesTitle,
healthChoicesTitle,
hacksTitle,
tooltipSubText,
whatTOEatOrAvoidContent,
Expand Down Expand Up @@ -163,6 +164,14 @@ const DietLayout: FC<DietLayoutProps> = ({ locale, data }) => {
'/keepsimple_/assets/longevity/diet/generic-rules-headline.png'
}
/>
<LongevitySubSection
locale={locale}
title={healthChoicesTitle}
description={data?.['food choices for Armenia']}
headlineBackgroundImageUrl={
'/keepsimple_/assets/longevity/diet/generic-rules-headline.png'
}
/>
<LongevitySubSection
locale={locale}
title={hacksTitle}
Expand Down