mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: move images to blitzkit
This commit is contained in:
1 parent
f13165e77d
commit
4373efd0cd
37 files changed
+35
-56
No files matched your search
@@ -1,5 +1,4 @@
|
||||
---
|
||||
import { imgur, ImgurSize } from '@blitzkit/core';
|
||||
import { Box, Flex, Heading, Text } from '@radix-ui/themes';
|
||||
import ToolOpenGraph from '../components/ToolOpenGraph.astro';
|
||||
import { type Tool } from '../constants/tools';
|
||||
@@ -24,10 +23,7 @@ const toolStrings =
|
||||
<BaseLayout>
|
||||
<Box
|
||||
style={{
|
||||
backgroundImage: `url(${imgur(tool!.image, {
|
||||
format: 'jpeg',
|
||||
size: ImgurSize.SmallThumbnail,
|
||||
})})`,
|
||||
backgroundImage: `url(/assets/images/tools/${tool.id}.webp)`,
|
||||
backgroundSize: 'cover',
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user