From caf1cb168c960bb0f34db100f0ba0f2866a11fd2 Mon Sep 17 00:00:00 2001 From: yggdrasil Date: Fri, 1 Nov 2024 21:02:40 +0800 Subject: [PATCH] fix: fix layout min height (#43) * fix: add base URL for footer assets from env * fix: remove optional chain on process.env.PUBLIC_URL * fix: improve layout min height * fix: remove redundant html tags from footer --- public/footer/en.html | 2576 ++++++++++++++----------------- public/footer/zh.html | 2573 ++++++++++++++---------------- src/components/Layout/index.tsx | 2 +- src/views/Dashboard.tsx | 2 +- 4 files changed, 2385 insertions(+), 2768 deletions(-) diff --git a/public/footer/en.html b/public/footer/en.html index 31cd53c..58d9779 100644 --- a/public/footer/en.html +++ b/public/footer/en.html @@ -1,1449 +1,1259 @@ - - - - - - + +
+ +
+
+ - - - -
- -
-
- +
+ -
- +
+ +
+ + + + + + + + + + + + +
+ + a member of + SatoKey Group + +
+
+ -
- -
- -
- -
- - - - - - - - - - +
+ -
- a member of - SatoKey Group -
+ + + + + + + + + + +
- Since 2019 to Now | OneKey Limited All Rights + Reserved +
+
+
+ +
+ +
+ +
+ + Products + -
- -
- -
- - - - - - - -
- - - - - Since 2019 to Now | OneKey Limited All Rights - Reserved -
+ OneKey ProOneKey + Classic 1SOneKey + TouchOneKey + LiteOneKey + MiniOneKey + ClassicView All Products +
+
+ + - +
+ -
- -
- -
- Products -
- OneKey ProOneKey Classic 1SOneKey TouchOneKey LiteOneKey MiniOneKey ClassicView All Products -
-
- - - -
- Developer - -
- - -
- Support - -
-
- About - + - -
- -
- - - -
- Since 2019 to Now | OneKey Limited All Rights - Reserved -
-
+
+ Since 2019 to Now | OneKey Limited All Rights + Reserved
-
+
-
-
+
- - +
+
+
diff --git a/public/footer/zh.html b/public/footer/zh.html index f65608c..8ccc5c9 100644 --- a/public/footer/zh.html +++ b/public/footer/zh.html @@ -1,1449 +1,1256 @@ - - - - - + +
+ +
+
+ - - - -
- -
-
- +
+ -
- +
+ +
+ + + + + + + + + + + + +
+ + + SatoKey Group + 成员之一 + +
+
+ -
- -
- -
- -
- - - - - - - - - - +
+ -
- SatoKey Group - 成员之一 -
+ + + + + + + + + + +
- 2019年至今|OneKey Limited 版权所有 +
+
+
+ +
+ +
+ +
+ + 产品 + -
- -
- -
- - - - - - - -
- - - - - 2019年至今|OneKey Limited 版权所有 -
+ OneKey ProOneKey + Classic 1SOneKey + TouchOneKey + LiteOneKey + MiniOneKey + Classic查看所有产品 +
+
+ + + - +
+ -
- -
- -
- 产品 -
- OneKey ProOneKey Classic 1SOneKey TouchOneKey LiteOneKey MiniOneKey Classic查看所有产品 -
-
- - - -
- 开发者 - -
- - -
- 技术支持 - -
-
- 关于 - + - -
- -
- - - -
- 2019年至今|OneKey Limited 版权所有 -
-
+
+ 2019年至今|OneKey Limited 版权所有
-
+
-
-
+
- - +
+
+
diff --git a/src/components/Layout/index.tsx b/src/components/Layout/index.tsx index f06c32d..4ab03ab 100644 --- a/src/components/Layout/index.tsx +++ b/src/components/Layout/index.tsx @@ -9,7 +9,7 @@ export default function Layout({ children }: { children: React.ReactElement }) {
-
+
{children}
diff --git a/src/views/Dashboard.tsx b/src/views/Dashboard.tsx index 9e273db..0c5a497 100644 --- a/src/views/Dashboard.tsx +++ b/src/views/Dashboard.tsx @@ -104,7 +104,7 @@ export default function Dashboard() { if (pageStatus === 'initialize') { return ( -
+
{intl.formatMessage({ id: 'TR_INIT' })}
);