--- import { AstroSeo } from '@astrolib/seo'; import { type Tool } from '../constants/tools'; import { getStrings } from '../core/i18n/getStrings'; interface Props { tool: Tool; } const { tool } = Astro.props; const { locale } = Astro.params; const strings = getStrings(locale); const toolStrings = strings.website.tools[ (tool.stringsId ?? tool.id) as keyof typeof strings.website.tools ]; ---