mirror of
https://github.com/Jerryplusy/AI-powered-switches.git
synced 2025-07-04 05:09:19 +00:00
24 lines
614 B
JavaScript
24 lines
614 B
JavaScript
import githubIcon from '@/resources/icon/pages/weclome/github.svg';
|
|
import MotionCard from '@/components/ui/MotionCard';
|
|
import FadeInWrapper from '@/components/system/layout/FadeInWrapper';
|
|
|
|
/**
|
|
* GitHub按钮组件
|
|
* @returns {JSX.Element}
|
|
* @constructor
|
|
*/
|
|
const GithubCard = () => {
|
|
return (
|
|
<FadeInWrapper delay={0.1} yOffset={-10}>
|
|
<MotionCard
|
|
icon={githubIcon}
|
|
text={'Github'}
|
|
hasBlurBackground={true}
|
|
onClick={() => window.open('https://github.com/Jerryplusy/AI-powered-switches', '_blank')}
|
|
/>
|
|
</FadeInWrapper>
|
|
);
|
|
};
|
|
|
|
export default GithubCard;
|