mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: spotify like table
This commit is contained in:
1 parent
37adc04cda
commit
e1a6e4e38d
12 files changed
+159
-114
No files matched your search
@@ -8,9 +8,11 @@ import BaseLayout from "./BaseLayout.astro";
|
||||
interface Props {
|
||||
tool: Tool;
|
||||
locale: string;
|
||||
noNavbar?: boolean;
|
||||
noFooter?: boolean;
|
||||
}
|
||||
|
||||
const { tool, locale } = Astro.props;
|
||||
const { tool, locale, noNavbar, noFooter } = Astro.props;
|
||||
const strings = getStrings(locale);
|
||||
const toolStrings =
|
||||
strings.website.tools[
|
||||
@@ -20,7 +22,7 @@ const toolStrings =
|
||||
|
||||
<ToolOpenGraph {tool} />
|
||||
|
||||
<BaseLayout {locale}>
|
||||
<BaseLayout {locale} {noNavbar} {noFooter}>
|
||||
<Box
|
||||
style={{
|
||||
backgroundImage: `url(/assets/images/tools/${tool.id}.webp)`,
|
||||
|
||||
Reference in new issue
Block a user