Commit ce7f4b4c authored by timel's avatar timel

feat: add icon on login btn

parent 1a497adb
Pipeline #22839 passed with stages
in 14 minutes and 54 seconds
......@@ -61,11 +61,8 @@ body * {
height: 48px;
border-radius: 9999px;
text-shadow: rgba(0, 0, 0, 0.25) 0px 3px 8px;
gap: 8px;
gap: 4px;
margin: 0px;
font: inherit inherit inherit inherit inherit inherit inherit inherit inherit
inherit inherit inherit inherit;
transition: border 120ms ease 0s, background-color, color, box-shadow, opacity;
padding: 0px 24px;
border-width: initial;
border-style: none;
......@@ -77,9 +74,10 @@ body * {
rgb(86, 67, 204) 43.89%,
rgb(103, 63, 215) 64.72%
);
transition: 0.2s;
transition: 0.15s;
&:hover {
filter: brightness(1.2);
box-shadow: 0px 7px 25px 0 #6041d2a8;
}
}
......
......@@ -4,6 +4,9 @@ import { Link } from "react-router-dom";
import { useConfig } from "@/config";
import styles from "./index.module.scss";
import { RightOutlined } from "@ant-design/icons";
const NeosConfig = useConfig();
const Start: React.FC = () => {
......@@ -30,7 +33,8 @@ const Start: React.FC = () => {
/>
</main>
<Link to="/sso" className={styles["start-btn"]}>
登录游戏
<span>登录游戏</span>
<RightOutlined />
</Link>
</div>
</>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment