diff --git a/package.json b/package.json index c734d084..dcd2c00e 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "@radix-ui/react-toggle-group": "^1.0.4", "@radix-ui/react-tooltip": "^1.0.7", "@tanstack/react-table": "^8.10.7", + "animate.css": "^4.1.1", "canvas-confetti": "^1.6.0", "class-variance-authority": "^0.7.0", "classnames": "^2.3.2", diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index 6082c96d..0705162c 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -5,7 +5,7 @@ import { NavLink } from 'react-router-dom' const Header: React.FC = ({ children }) => { return ( -
+
{ } return ( -
+
diff --git a/src/pages/Mobile/index.tsx b/src/pages/Mobile/index.tsx index f5a25833..1831b605 100644 --- a/src/pages/Mobile/index.tsx +++ b/src/pages/Mobile/index.tsx @@ -1,10 +1,49 @@ import Flow from './flow' +import logo from '@/assets/logo.svg' import type React from 'react' const MobilePage: React.FC = () => { return ( -
- +
+
+ Qwerty Learner Logo +

Qwerty Learner

+
+ +
+ +
+

+ 为键盘工作者设计的软件 +

+

+ 简化英语学习与打字技能提升过程,快速建立正确的肌肉记忆 +

+

+ 单词记忆与键盘输入相结合、音标发音与默写模式、多样化词库选择 +

+
+ 电脑端使用 +
+
+
+ +
) } diff --git a/tailwind.config.js b/tailwind.config.js index 87c52176..7513abc7 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -4,6 +4,9 @@ module.exports = { content: ['./src/**/*.{js,jsx,ts,tsx}', './index.html'], theme: { extend: { + colors: { + primary: '#6366f1', + }, keyframes: { 'accordion-down': { from: { height: 0 }, diff --git a/yarn.lock b/yarn.lock index fc11c5e7..c6d49428 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2414,6 +2414,11 @@ ajv@^6.10.0, ajv@^6.12.4: json-schema-traverse "^0.4.1" uri-js "^4.2.2" +animate.css@^4.1.1: + version "4.1.1" + resolved "https://registry.npmjs.org/animate.css/-/animate.css-4.1.1.tgz#614ec5a81131d7e4dc362a58143f7406abd68075" + integrity sha512-+mRmCTv6SbCmtYJCN4faJMNFVNN5EuCTTprDTAo7YzIGji2KADmakjVA3+8mVDkZ2Bf09vayB35lSQIex2+QaQ== + ansi-escapes@^4.3.0: version "4.3.2" resolved "https://registry.npmmirror.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz"