mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: playlist
This commit is contained in:
1 parent
5ba64f231a
commit
ed0dde37d2
10 files changed
+141
-11
No files matched your search
@@ -16,11 +16,11 @@ export interface Props {
|
||||
noFooter?: boolean;
|
||||
noNavbar?: boolean;
|
||||
integrated?: boolean;
|
||||
locale: string;
|
||||
}
|
||||
|
||||
const servicing = import.meta.env.SERVICING;
|
||||
const { noFooter, noNavbar, integrated } = Astro.props;
|
||||
const locale = Astro.params.locale;
|
||||
const { noFooter, noNavbar, integrated, locale } = Astro.props;
|
||||
---
|
||||
|
||||
<html lang={locale}>
|
||||
|
||||
@@ -7,10 +7,10 @@ import BaseLayout from "./BaseLayout.astro";
|
||||
|
||||
interface Props {
|
||||
tool: Tool;
|
||||
locale: string;
|
||||
}
|
||||
|
||||
const { tool } = Astro.props;
|
||||
const { locale } = Astro.params;
|
||||
const { tool, locale } = Astro.props;
|
||||
const strings = getStrings(locale);
|
||||
const toolStrings =
|
||||
strings.website.tools[
|
||||
@@ -20,7 +20,7 @@ const toolStrings =
|
||||
|
||||
<ToolOpenGraph {tool} />
|
||||
|
||||
<BaseLayout>
|
||||
<BaseLayout {locale}>
|
||||
<Box
|
||||
style={{
|
||||
backgroundImage: `url(/assets/images/tools/${tool.id}.webp)`,
|
||||
|
||||
Reference in new issue
Block a user