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