diff --git a/frontend-project/.prettierignore b/frontend-project/.prettierignore index a63a78411..c851d79f0 100644 --- a/frontend-project/.prettierignore +++ b/frontend-project/.prettierignore @@ -18,3 +18,5 @@ LICENSE *.lock yarn-error.log .history +*.xml +*.ico diff --git a/frontend-project/public/favicons/android-chrome-192x192.png b/frontend-project/public/favicons/android-chrome-192x192.png new file mode 100644 index 000000000..aa7e8ee1b Binary files /dev/null and b/frontend-project/public/favicons/android-chrome-192x192.png differ diff --git a/frontend-project/public/favicons/android-chrome-512x512.png b/frontend-project/public/favicons/android-chrome-512x512.png new file mode 100644 index 000000000..27cb4e3f3 Binary files /dev/null and b/frontend-project/public/favicons/android-chrome-512x512.png differ diff --git a/frontend-project/public/favicons/apple-touch-icon.png b/frontend-project/public/favicons/apple-touch-icon.png new file mode 100644 index 000000000..35e9614dd Binary files /dev/null and b/frontend-project/public/favicons/apple-touch-icon.png differ diff --git a/frontend-project/public/favicons/browserconfig.xml b/frontend-project/public/favicons/browserconfig.xml new file mode 100644 index 000000000..d469e489b --- /dev/null +++ b/frontend-project/public/favicons/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #da532c + + + diff --git a/frontend-project/public/favicons/favicon-16x16.png b/frontend-project/public/favicons/favicon-16x16.png new file mode 100644 index 000000000..9b58b5151 Binary files /dev/null and b/frontend-project/public/favicons/favicon-16x16.png differ diff --git a/frontend-project/public/favicons/favicon-32x32.png b/frontend-project/public/favicons/favicon-32x32.png new file mode 100644 index 000000000..3b3a5e83b Binary files /dev/null and b/frontend-project/public/favicons/favicon-32x32.png differ diff --git a/frontend-project/public/favicons/favicon.ico b/frontend-project/public/favicons/favicon.ico new file mode 100644 index 000000000..2541229a9 Binary files /dev/null and b/frontend-project/public/favicons/favicon.ico differ diff --git a/frontend-project/public/favicons/mstile-144x144.png b/frontend-project/public/favicons/mstile-144x144.png new file mode 100644 index 000000000..ca545f8c2 Binary files /dev/null and b/frontend-project/public/favicons/mstile-144x144.png differ diff --git a/frontend-project/public/favicons/mstile-150x150.png b/frontend-project/public/favicons/mstile-150x150.png new file mode 100644 index 000000000..ae8be1efd Binary files /dev/null and b/frontend-project/public/favicons/mstile-150x150.png differ diff --git a/frontend-project/public/favicons/mstile-310x150.png b/frontend-project/public/favicons/mstile-310x150.png new file mode 100644 index 000000000..df112de1d Binary files /dev/null and b/frontend-project/public/favicons/mstile-310x150.png differ diff --git a/frontend-project/public/favicons/mstile-310x310.png b/frontend-project/public/favicons/mstile-310x310.png new file mode 100644 index 000000000..135100102 Binary files /dev/null and b/frontend-project/public/favicons/mstile-310x310.png differ diff --git a/frontend-project/public/favicons/mstile-70x70.png b/frontend-project/public/favicons/mstile-70x70.png new file mode 100644 index 000000000..dca7c3074 Binary files /dev/null and b/frontend-project/public/favicons/mstile-70x70.png differ diff --git a/frontend-project/public/favicons/safari-pinned-tab.svg b/frontend-project/public/favicons/safari-pinned-tab.svg new file mode 100644 index 000000000..52123089d --- /dev/null +++ b/frontend-project/public/favicons/safari-pinned-tab.svg @@ -0,0 +1,51 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + + + + + + diff --git a/frontend-project/public/favicons/site.webmanifest b/frontend-project/public/favicons/site.webmanifest new file mode 100644 index 000000000..a30fad4bd --- /dev/null +++ b/frontend-project/public/favicons/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "/favicons/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/favicons/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/frontend-project/src/assets/watchdog_eod_logo.svg b/frontend-project/src/assets/watchdog_eod_logo.svg new file mode 100644 index 000000000..97e671213 --- /dev/null +++ b/frontend-project/src/assets/watchdog_eod_logo.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + EOD + + + + + diff --git a/frontend-project/src/layouts/LoginLayout.less b/frontend-project/src/layouts/LoginLayout.less index fb00f6fb2..b7f28975a 100755 --- a/frontend-project/src/layouts/LoginLayout.less +++ b/frontend-project/src/layouts/LoginLayout.less @@ -67,3 +67,11 @@ color: @text-color-secondary; font-size: @font-size-base; } + +.eodLogo { + display: flex; + align-self: center; + width: 150px; + margin-top: 10px; + margin-bottom: 10px; +} diff --git a/frontend-project/src/layouts/LoginLayout.tsx b/frontend-project/src/layouts/LoginLayout.tsx index 6079387ad..fb81f49f6 100644 --- a/frontend-project/src/layouts/LoginLayout.tsx +++ b/frontend-project/src/layouts/LoginLayout.tsx @@ -8,6 +8,7 @@ import { connect } from 'dva'; import SelectLang from '@/components/SelectLang'; import { ConnectState, Route } from '@/models/connect'; import logo from '../assets/logo.png'; +import eodLogo from '../assets/watchdog_eod_logo.svg'; import styles from './LoginLayout.less'; export interface LoginLayoutProps { @@ -43,6 +44,13 @@ const LoginLayout: FC = props => { {title} + + + + + + + @@ -54,6 +62,7 @@ const LoginLayout: FC = props => { + Small EOD