mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
⚒️ Fix svg card.
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
|||||||
} from "@chakra-ui/react";
|
} from "@chakra-ui/react";
|
||||||
import Tap from "@/animations/tap";
|
import Tap from "@/animations/tap";
|
||||||
import CustomLink from "@/common/link";
|
import CustomLink from "@/common/link";
|
||||||
|
import { Smiley } from "phosphor-react";
|
||||||
|
|
||||||
const SVGCard = (props: SVGCardProps) => {
|
const SVGCard = (props: SVGCardProps) => {
|
||||||
const bg = useColorModeValue("bg.light", "bg.dark");
|
const bg = useColorModeValue("bg.light", "bg.dark");
|
||||||
@@ -27,11 +28,11 @@ const SVGCard = (props: SVGCardProps) => {
|
|||||||
mb="2"
|
mb="2"
|
||||||
_hover={{
|
_hover={{
|
||||||
border:`1px solid ${color}`,
|
border:`1px solid ${color}`,
|
||||||
transform: "scale(0.98)",
|
transform: "scale(1.04)",
|
||||||
}}
|
}}
|
||||||
transition="all 0.2s" >
|
transition="all 0.2s" >
|
||||||
<Center>
|
<Center>
|
||||||
<Image boxSize="50px" src={props.svg} alt={props.title} />
|
<Image boxSize="45px" src={props.svg} alt={props.title} />
|
||||||
</Center>
|
</Center>
|
||||||
<Text mt="2" fontWeight="light" textAlign="center">
|
<Text mt="2" fontWeight="light" textAlign="center">
|
||||||
{props.title}
|
{props.title}
|
||||||
|
|||||||
Reference in New Issue
Block a user