🎨 添加 logo.

This commit is contained in:
lijiahang
2024-02-26 15:12:51 +08:00
parent 4a3acab23d
commit b268db556f
11 changed files with 44 additions and 20 deletions

View File

@@ -3,7 +3,7 @@
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
import '@vue/runtime-core'
import '@vue/runtime-core';
export {}

View File

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="shortcut icon" type="image/x-icon" href="https://unpkg.byted-static.com/latest/byted/arco-config/assets/favicon.ico">
<link rel="shortcut icon" type="image/x-icon" href="/src/assets/images/logo.svg?url">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Orion Ops Pro</title>
</head>

View File

@@ -0,0 +1,17 @@
<svg id="图层_1" data-name="图层 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<defs>
<style>.cls-1{fill:url(#未命名的渐变_4);}.cls-2{fill:url(#未命名的渐变_6);}</style>
<linearGradient id="未命名的渐变_4" x1="0.32" y1="15.03" x2="20.16" y2="15.03" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#23b6b6"/>
<stop offset="1" stop-color="#189c98"/>
</linearGradient>
<linearGradient id="未命名的渐变_6" x1="11.84" y1="16.97" x2="31.68" y2="16.97" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#08589b"/>
<stop offset="1" stop-color="#2167b2"/>
</linearGradient>
</defs>
<path class="cls-1"
d="M20,17.37a1.56,1.56,0,0,0-2.13-.65l-7.56,4.07A4.65,4.65,0,0,1,4,18.91H4a4.65,4.65,0,0,1,1.88-6.3L13.6,8.44a1.56,1.56,0,0,0,.64-2.1h0a1.56,1.56,0,0,0-2.13-.65l-8,4.3a7.24,7.24,0,0,0-2.94,9.82l.51.94a7.24,7.24,0,0,0,9.82,2.94l7.81-4.22a1.56,1.56,0,0,0,.65-2.1Z"/>
<path class="cls-2"
d="M12,14.63a1.56,1.56,0,0,0,2.13.65l7.56-4.07A4.65,4.65,0,0,1,28,13.09h0a4.65,4.65,0,0,1-1.88,6.3L18.4,23.56a1.56,1.56,0,0,0-.64,2.1h0a1.56,1.56,0,0,0,2.13.65l8-4.3a7.24,7.24,0,0,0,2.94-9.82l-.51-.94a7.24,7.24,0,0,0-9.82-2.94l-7.81,4.22a1.56,1.56,0,0,0-.65,2.1Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -3,11 +3,11 @@
<!-- 左侧按钮 -->
<div class="left-side">
<a-space>
<!-- FIXME -->
<!-- LOGO -->
<img alt="logo"
<img class="left-side-logo"
alt="logo"
draggable="false"
src="//p3-armor.byteimg.com/tos-cn-i-49unhts6dw/dfdba5317c0c20ce20e64fac803d52bc.svg~tplv-49unhts6dw-image.image" />
src="@/assets/images/logo.svg?url" />
<!-- 标头 -->
<a-typography-title :heading="5"
:style="{ margin: 0, fontSize: '18px', height: '1.4em', overflow: 'hidden' }">
@@ -322,6 +322,11 @@
display: flex;
align-items: center;
padding-left: 20px;
&-logo {
width: 32px;
height: 32px;
}
}
.center-side {

View File

@@ -1,8 +1,6 @@
import localeLogin from '@/views/authentication/login/locale/zh-CN';
import localeWorkplace from '@/views/dashboard/workplace/locale/zh-CN';
export default {
'navbar.action.locale': '切换为中文',
...localeLogin,
...localeWorkplace,
};

View File

@@ -2,8 +2,9 @@
<div class="container">
<!-- 顶部 logo -->
<div class="logo">
<img alt="logo"
src="//p3-armor.byteimg.com/tos-cn-i-49unhts6dw/dfdba5317c0c20ce20e64fac803d52bc.svg~tplv-49unhts6dw-image.image" />
<img class="logo-img"
alt="logo"
src="@/assets/images/logo.svg?url" />
<div class="logo-text">Orion Ops Pro</div>
</div>
<!-- 左侧 banner -->
@@ -23,11 +24,11 @@
</template>
<script lang="ts" setup>
import { Notification } from '@arco-design/web-vue';
import { reLoginTipsKey } from '@/types/symbol';
import Footer from '@/components/app/footer/index.vue';
import LoginBanner from './components/banner.vue';
import LoginForm from './components/login-form.vue';
import { Notification } from '@arco-design/web-vue';
import { reLoginTipsKey } from '@/types/symbol';
// 登录提示
const tips = window.sessionStorage.getItem(reLoginTipsKey);
@@ -76,6 +77,11 @@
display: inline-flex;
align-items: center;
&-img {
width: 32px;
height: 32px;
}
&-text {
margin-right: 4px;
margin-left: 4px;

View File

@@ -1,12 +1,11 @@
<template>
<div class="terminal-header">
<!-- 左侧 logo -->
<!-- FIXME -->
<div class="terminal-header-left">
<img alt="logo"
class="terminal-header-logo-img"
class="terminal-header-logo"
draggable="false"
src="//p3-armor.byteimg.com/tos-cn-i-49unhts6dw/dfdba5317c0c20ce20e64fac803d52bc.svg~tplv-49unhts6dw-image.image" />
src="@/assets/images/logo.svg?url" />
<h5 class="terminal-header-logo-text">Orion Ops Pro</h5>
</div>
<!-- 左侧 tabs -->
@@ -54,7 +53,6 @@
import { computed } from 'vue';
import { useTerminalStore } from '@/store';
import IconActions from '../layout/icon-actions.vue';
import DictKeySelector from '@/components/system/dict-key/dict-key-selector.vue';
const { isFullscreen, toggle: toggleFullScreen } = useFullscreen();
const { tabManager } = useTerminalStore();
@@ -71,7 +69,7 @@
</script>
<style lang="less" scoped>
@logo-width: 168px;
@logo-width: 176px;
.terminal-header {
height: 100%;
@@ -80,16 +78,16 @@
user-select: none;
&-left {
padding-left: 6px;
width: @logo-width;
display: flex;
align-items: center;
justify-content: flex-start;
}
&-logo-img {
padding-left: 6px;
width: 36px;
height: 36px;
&-logo {
width: 32px;
height: 32px;
}
&-logo-text {