You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2022/04/02 06:28:41 UTC
[incubator-inlong] branch master updated: [INLONG-2060][Dashboard] Add the inlong logo to the inlong-website login page (#3512)
This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git
The following commit(s) were added to refs/heads/master by this push:
new cba18ad [INLONG-2060][Dashboard] Add the inlong logo to the inlong-website login page (#3512)
cba18ad is described below
commit cba18add30aaf577bd5337cd5c8a6b3620faef3f
Author: haifxu <58...@users.noreply.github.com>
AuthorDate: Sat Apr 2 14:28:33 2022 +0800
[INLONG-2060][Dashboard] Add the inlong logo to the inlong-website login page (#3512)
Co-authored-by: v_haifxu <v_...@tencent.com>
---
inlong-dashboard/src/components/Icons/logo.svg | 43 ++++++++++++++++++++++
inlong-dashboard/src/pages/Login/index.module.less | 8 +++-
inlong-dashboard/src/pages/Login/index.tsx | 2 +-
3 files changed, 51 insertions(+), 2 deletions(-)
diff --git a/inlong-dashboard/src/components/Icons/logo.svg b/inlong-dashboard/src/components/Icons/logo.svg
new file mode 100644
index 0000000..0b9ffa1
--- /dev/null
+++ b/inlong-dashboard/src/components/Icons/logo.svg
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<svg width="559" height="188" viewBox="0 0 559 188" xmlns="http://www.w3.org/2000/svg" overflow="hidden">
+ <defs>
+ <linearGradient x1="21.4018%" y1="6.67873%" x2="90.5742%" y2="88.6401%" id="linearGradient-1">
+ <stop offset="0" stop-color="#FAAD1A"/>
+ <stop offset="1" stop-color="#FF4444"/>
+ </linearGradient>
+ </defs>
+ <g id="login" fill="none" fill-rule="evenodd">
+ <g id="应龙logo设计---优化" transform="translate(-1312 -2996)">
+ <g id="白色" transform="translate(1312 2996)">
+ <g>
+ <g id="编组-8" fill="#FFFFFF" transform="translate(226 25)">
+ <path d="M23.3789 40 20.6055 33.3008 7.14844 33.3008 4.41406 40 0.683594 40 12.1289 11.9922 15.4102 11.9922 27.1875 40 23.3789 40ZM13.8281 16.8359 8.45703 30.0781 19.2969 30.0781 13.8281 16.8359ZM47.7734 17.9297C49.8958 17.9297 51.8034 18.418 53.4961 19.3945 55.1888 20.3711 56.5072 21.7155 57.4512 23.4277 58.3952 25.14 58.8672 27.0638 58.8672 29.1992 58.8672 32.4284 57.819 35.1139 55.7227 37.2559 53.6263 39.3978 50.9766 40.4688 47.7734 40.4688 46.1849 40.4688 44.6 [...]
+ id="Apache"/>
+ <path d="M7.04688 129 7.04688 67.3828 20.3672 67.3828 20.3672 129 7.04688 129ZM71.5195 67.3828 84.582 67.3828 84.582 129 73.4531 129 45.5234 90.5 45.5234 129 32.4609 129 32.4609 67.3828 44.4922 67.3828 71.5195 104.98 71.5195 67.3828ZM109.953 116.625 133.586 116.625 133.586 129 96.6328 129 96.6328 67.3828 109.953 67.3828 109.953 116.625ZM167.551 130.332C162.91 130.332 158.556 129.508 154.488 127.861 150.421 126.214 146.933 123.973 144.025 121.137 141.118 118.301 13 [...]
+ id="INLONG"/>
+ </g>
+ <path d="M186 76.1942 76.1942 186C69.5136 184.69 63.0882 182.668 57 180.017L180.017 57C182.668 63.0882 184.69 69.5136 186 76.1942ZM184.66 119.198 119.198 184.66C111.275 186.837 102.933 188 94.3186 188 93.1042 188 91.8952 187.977 90.6919 187.931L187.931 90.6919C187.977 91.8952 188 93.1042 188 94.3186 188 102.933 186.837 111.275 184.66 119.198ZM45.6624 175.135C18.298 158.624 0 128.608 0 94.3186 0 42.2279 42.2279 0 94.3186 0 128.608 0 158.624 18.298 175.135 45.6624L162.0 [...]
+ id="形状结合" fill="url(#linearGradient-1)"/>
+ </g>
+ </g>
+ </g>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/inlong-dashboard/src/pages/Login/index.module.less b/inlong-dashboard/src/pages/Login/index.module.less
index ef0ae70..13204a8 100644
--- a/inlong-dashboard/src/pages/Login/index.module.less
+++ b/inlong-dashboard/src/pages/Login/index.module.less
@@ -51,8 +51,14 @@
transform: translateX(-50%);
width: 20%;
+ .logo {
+ position: relative;
+ left: 15%;
+ width: 70%;
+ margin-bottom: 25px;
+ }
.title {
- font-family: PingFangSC-Regular;
+ font-family: PingFangSC-Regular, serif;
font-size: 36px;
color: #FAFFFB;
text-align: center;
diff --git a/inlong-dashboard/src/pages/Login/index.tsx b/inlong-dashboard/src/pages/Login/index.tsx
index 9f6c003..1420fb6 100644
--- a/inlong-dashboard/src/pages/Login/index.tsx
+++ b/inlong-dashboard/src/pages/Login/index.tsx
@@ -79,7 +79,7 @@ const Comp: React.FC = () => {
return (
<div className={styles.wrap} onKeyUp={onEnter}>
<div className={styles['form-wrap']}>
- <div className={styles.title}>InLong</div>
+ <img className={styles.logo} src={require('../../components/Icons/logo.svg')} alt="" />
<div>
<FormGenerator
form={form}