mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: optimized homepage images
This commit is contained in:
1 parent
01bd3f8d68
commit
b9c3cfaee4
8 files changed
+2
-2
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 75 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
+1
-1
@@ -35,7 +35,7 @@ export default function Page() {
|
|||||||
tool.disabled ? styles.tool.disabled : styles.tool.enabled
|
tool.disabled ? styles.tool.disabled : styles.tool.enabled
|
||||||
}
|
}
|
||||||
style={{
|
style={{
|
||||||
backgroundImage: `url(/assets/banners/${tool.id}.png)`,
|
backgroundImage: `url(/assets/banners/${tool.id}.webp)`,
|
||||||
cursor: tool.disabled ? 'default' : 'pointer',
|
cursor: tool.disabled ? 'default' : 'pointer',
|
||||||
opacity: tool.disabled ? 0.25 : 1,
|
opacity: tool.disabled ? 0.25 : 1,
|
||||||
height: 128,
|
height: 128,
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ export default function PageWrapper({
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
width: '100%',
|
width: '100%',
|
||||||
maxWidth: 780,
|
maxWidth: 800,
|
||||||
margin: 'auto',
|
margin: 'auto',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
padding: 16,
|
padding: 16,
|
||||||
|
|||||||
Reference in new issue
Block a user