diff --git a/packages/i18n/strings/en.json b/packages/i18n/strings/en.json index 4fddae00b..9409f003e 100644 --- a/packages/i18n/strings/en.json +++ b/packages/i18n/strings/en.json @@ -20,10 +20,26 @@ }, "tools": { - "tanks": { "name": "Tankopedia" }, - "avatars": { "name": "Avatars" }, - "backgrounds": { "name": "Backgrounds" }, - "api": { "name": "API" } + "tanks": { + "name": "Tankopedia", + "slogan": "Blitz tank encyclopedia", + "action": "Find tanks" + }, + "avatars": { + "name": "Avatars", + "slogan": "Blitz player avatars", + "action": "Browse all" + }, + "backgrounds": { + "name": "Backgrounds", + "slogan": "Blitz player backgrounds", + "action": "View all" + }, + "api": { + "name": "API", + "action": "To the docs", + "slogan": "BlitzKit hosted API" + } }, "home": { diff --git a/packages/website-ue/public/assets/tools/gallery.webp b/packages/website-ue/public/assets/tools/avatars.webp similarity index 100% rename from packages/website-ue/public/assets/tools/gallery.webp rename to packages/website-ue/public/assets/tools/avatars.webp diff --git a/packages/website-ue/public/assets/tools/backgrounds.webp b/packages/website-ue/public/assets/tools/backgrounds.webp new file mode 100644 index 000000000..48d661c2d Binary files /dev/null and b/packages/website-ue/public/assets/tools/backgrounds.webp differ diff --git a/packages/website-ue/src/components/BaseStyles.astro b/packages/website-ue/src/components/BaseStyles.astro index 7d5bc5ac9..1f37b8011 100644 --- a/packages/website-ue/src/components/BaseStyles.astro +++ b/packages/website-ue/src/components/BaseStyles.astro @@ -18,7 +18,8 @@ import "@fontsource-variable/roboto-flex"; --max-size: max(100vw, 100vh); - --font-size-regular: var(--space-4); + --font-size-regular: 1rem; + --font-size-minor: 0.75rem; --font-family-regular: "Roboto Flex Variable", sans-serif; --font-family-mono: "JetBrains Mono Variable", monospace; diff --git a/packages/website-ue/src/components/Button/index.tsx b/packages/website-ue/src/components/Button/index.tsx index 21336cec2..55db3875d 100644 --- a/packages/website-ue/src/components/Button/index.tsx +++ b/packages/website-ue/src/components/Button/index.tsx @@ -1,8 +1,11 @@ import type { ComponentProps } from "react"; import { classNames } from "../../core/ui/classNames"; +import type { Color } from "../../core/ui/color"; import "./index.css"; -export interface ButtonProps extends ComponentProps<"button"> {} +export interface ButtonProps extends ComponentProps<"button"> { + color?: Color; +} export function Button({ className, ...props }: ButtonProps) { return diff --git a/packages/website-ue/src/pages/[...locale]/index.astro b/packages/website-ue/src/pages/[...locale]/index.astro index ee34ed7c8..bc2811c4d 100644 --- a/packages/website-ue/src/pages/[...locale]/index.astro +++ b/packages/website-ue/src/pages/[...locale]/index.astro @@ -2,7 +2,6 @@ import locales from "@blitzkit/i18n/locales.json"; import "@radix-ui/colors/amber-dark.css"; import type { GetStaticPaths } from "astro"; -import packageJson from "../../../../../package.json"; import HomeHero from "../../components/HomeHero.astro"; import ToolCard from "../../components/ToolCard.astro"; import { tools } from "../../core/tools/tools"; @@ -20,10 +19,17 @@ export const getStaticPaths = (() => { const { locale } = Astro.props; --- + + -

blitzkit {packageJson.version}

- - {Object.values(tools).map((tool) => )} +
+ {Object.values(tools).map((tool) => )} +