From b3cd0dc1649842a74b6a3eaf4f001478e8eab87d Mon Sep 17 00:00:00 2001 From: Aleksandr Slepchenkov Date: Wed, 15 Jan 2025 11:15:13 +0100 Subject: [PATCH] feat: move timer link above the source I'd say the source is the least helpful information --- src/components/Recipe.astro | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/Recipe.astro b/src/components/Recipe.astro index 0243480..c28dcb5 100644 --- a/src/components/Recipe.astro +++ b/src/components/Recipe.astro @@ -5,6 +5,7 @@ import { getRelativeLocaleUrl } from 'astro:i18n' import { commonMessages } from '@/i18n/locales/common/en' import { createPropertyFormatters } from '@/i18n/utils' + import Author from './Author.astro' import RecipeProperties from './RecipeProperties.astro' @@ -59,13 +60,13 @@ const timerHref = getRelativeLocaleUrl(locale, `/recipes/${recipe.method}/${name } + {recipe.steps + ? Open timer + : null}
{messages.source}:
- {recipe.steps - ? Open timer - : null}