From c25493e4c64283ddd7dc660ff6f7e72591fa3982 Mon Sep 17 00:00:00 2001 From: liujiayii Date: Wed, 20 Mar 2024 07:56:27 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=20=E7=A7=BB=E9=99=A4=E5=B7=B2=E5=A4=B1?= =?UTF-8?q?=E6=95=88=E7=9A=84=E8=AE=A2=E9=98=85=E9=82=AE=E7=AE=B1=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=20(#12212)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(docs): 修复暗色模式下订阅邮箱输入框看不清文本的问题 * fix(docs): 移除了已失效的订阅邮箱功能 --- .../components/Footer/NewsLetterForm.tsx | 23 -------- docs/.dumi/components/Footer/index.less | 56 ------------------- docs/.dumi/components/Footer/index.tsx | 4 -- 3 files changed, 83 deletions(-) delete mode 100644 docs/.dumi/components/Footer/NewsLetterForm.tsx diff --git a/docs/.dumi/components/Footer/NewsLetterForm.tsx b/docs/.dumi/components/Footer/NewsLetterForm.tsx deleted file mode 100644 index eb2fbe3e30f8..000000000000 --- a/docs/.dumi/components/Footer/NewsLetterForm.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import styles from './index.less'; - -export const NewsLetterForm = () => { - return ( -
-

订阅 Umi 的最新动态

-
- - -
-
- ); -}; diff --git a/docs/.dumi/components/Footer/index.less b/docs/.dumi/components/Footer/index.less index 8a591a57e59e..34f0977651ac 100644 --- a/docs/.dumi/components/Footer/index.less +++ b/docs/.dumi/components/Footer/index.less @@ -34,62 +34,6 @@ } } - .right { - min-width: 400px; - font-size: 16px; - .copyright { - font-size: 14px; - color: #8996a1; - line-height: 22px; - margin-top: 24px; - } - } - } - } -} - -.news_letter { - font-size: 18px; - margin-bottom: 14px; - - :global { - h2 { - font-size: 18px; - font-weight: 400; - } - input { - background: #ffffff; - border: 1px solid #bac1c8; - width: 180px; - font-size: 14px; - height: 28px; - line-height: 28px; - padding: 0 4px; - } - - button { - font-size: 14px; - color: #ffffff; - margin-left: 14px; - background-image: linear-gradient( - 224deg, - #0071da 0%, - #1890ff 100%, - #1890ff 100% - ); - height: 28px; - line-height: 28px; - padding: 0 10px; - border: none; - } - - button:hover { - background-image: linear-gradient( - 224deg, - #48a4fe 0%, - #6fbafe 100%, - #8dc9ff 100% - ); } } } diff --git a/docs/.dumi/components/Footer/index.tsx b/docs/.dumi/components/Footer/index.tsx index 622e378021ca..c4870ab442d6 100644 --- a/docs/.dumi/components/Footer/index.tsx +++ b/docs/.dumi/components/Footer/index.tsx @@ -1,6 +1,5 @@ import { Link } from 'umi'; import styles from './index.less'; -import { NewsLetterForm } from './NewsLetterForm'; export const Footer = () => { return ( @@ -40,9 +39,6 @@ export const Footer = () => { -
- -
);