feat: re-enable embeds

This commit is contained in:
TrèsAbhi committed 2024-10-26 13:58:20 -05:00
1 parent fd1884542d
commit cee082ab67
2 files changed
+9 -5

No files matched your search

+2 -3
View File
@@ -26,7 +26,7 @@ export const tankopediaTool: Tool = {
'Statistics, armor, and more for all tanks in World of Tanks Blitz', 'Statistics, armor, and more for all tanks in World of Tanks Blitz',
image: 'D8j6GZx', image: 'D8j6GZx',
button: { button: {
text: 'Find your tank', text: 'Find tanks',
color: 'purple', color: 'purple',
}, },
significant: true, significant: true,
@@ -134,12 +134,11 @@ export const embedTool: Tool = {
pageDescription: pageDescription:
'Create embeds for streaming World of Tanks Blitz with extreme customization', 'Create embeds for streaming World of Tanks Blitz with extreme customization',
button: { button: {
text: 'Create', text: 'Create now',
color: 'red', color: 'red',
}, },
image: 'Q0faRYg', image: 'Q0faRYg',
branches: ['main', 'dev', 'opentest'], branches: ['main', 'dev', 'opentest'],
href: '',
}; };
export const homeTool: Tool = { export const homeTool: Tool = {
+7 -2
View File
@@ -1,11 +1,12 @@
--- ---
import { Flex, Heading } from '@radix-ui/themes'; import { Box, Flex, Heading } from '@radix-ui/themes';
import HomeHero from '../components/HomeHero.astro'; import HomeHero from '../components/HomeHero.astro';
import { Plugs } from '../components/Plugs.tsx'; import { Plugs } from '../components/Plugs.tsx';
import ToolCard from '../components/ToolCard.astro'; import ToolCard from '../components/ToolCard.astro';
import { import {
compareTool, compareTool,
discordTool, discordTool,
embedTool,
galleryTool, galleryTool,
moreTool, moreTool,
performanceTool, performanceTool,
@@ -33,13 +34,17 @@ import BaseLayout from '../layouts/BaseLayout.astro';
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}> <Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
<ToolCard tool={galleryTool} /> <ToolCard tool={galleryTool} />
<ToolCard tool={sessionTool} /> <ToolCard tool={sessionTool} />
{/* <ToolCard tool={embedTool} /> */}
{/* <ToolCard tool={ratingTool} /> */} {/* <ToolCard tool={ratingTool} /> */}
</Flex> </Flex>
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}> <Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
<ToolCard tool={embedTool} />
<ToolCard tool={discordTool} /> <ToolCard tool={discordTool} />
</Flex>
<Flex gap="4" direction={{ initial: 'column', sm: 'row' }}>
<ToolCard tool={moreTool} /> <ToolCard tool={moreTool} />
<Box flexGrow="1" />
</Flex> </Flex>
<Heading align="center" mt="6">Other cool projects</Heading> <Heading align="center" mt="6">Other cool projects</Heading>