mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
imports
This commit is contained in:
1 parent
19556b5fc9
commit
444705347f
13 files changed
+49
-56
No files matched your search
@@ -1,7 +1,7 @@
|
||||
---
|
||||
import { ArrowLeftIcon } from "@radix-ui/react-icons";
|
||||
import { api } from "../api/dynamic";
|
||||
import type { Tool } from "../constants/tools";
|
||||
import { getStrings } from "../core/i18n/getStrings";
|
||||
import { Logo } from "../icons/Logo";
|
||||
import { Back } from "./Back";
|
||||
import { Flex } from "./Flex";
|
||||
@@ -14,9 +14,8 @@ interface Props {
|
||||
}
|
||||
|
||||
const { tool, locale } = Astro.props;
|
||||
const strings = getStrings(locale);
|
||||
const toolStrings =
|
||||
strings.website.tools[tool.id as keyof typeof strings.website.tools];
|
||||
const strings = await api.strings(locale);
|
||||
const toolStrings = strings.tools[tool.id as keyof typeof strings.tools];
|
||||
---
|
||||
|
||||
<style>
|
||||
|
||||
Reference in new issue
Block a user