Browse Source

feat: logo

pull/180/head
xiaojunnuo 4 years ago
parent
commit
c5b1f0bf6d
  1. 14
      packages/core/src/config.js
  2. 7
      packages/core/src/config/index.js
  3. 3
      packages/core/src/expose.js
  4. 2
      packages/core/src/lib/proxy/tls/CertAndKeyContainer.js
  5. 6
      packages/core/src/switch/proxy/impl/npm-proxy.js
  6. 7
      packages/core/src/switch/proxy/impl/yarn-proxy.js
  7. 4
      packages/core/src/switch/proxy/index.js
  8. BIN
      packages/gui/extra/favicon.ico
  9. 12
      packages/gui/package.json
  10. BIN
      packages/gui/public/favicon.ico
  11. 0
      packages/gui/public/logo/logo-1.svg
  12. 73
      packages/gui/public/logo/logo-lang.svg
  13. BIN
      packages/gui/public/logo/logo-only.png
  14. 19
      packages/gui/public/logo/logo-only.svg
  15. BIN
      packages/gui/public/logo/logo-only2.png
  16. BIN
      packages/gui/public/logo/logo-only4.png
  17. 18
      packages/gui/public/logo/logo-simple.svg
  18. 98
      packages/gui/public/logo/logo-text.svg
  19. 0
      packages/gui/public/logo/logo.svg
  20. BIN
      packages/gui/src/assets/logo.png
  21. 2
      packages/gui/src/view/components/App.vue
  22. 894
      packages/gui/yarn.lock

14
packages/core/src/config.js

@ -2,10 +2,10 @@ const lodash = require('lodash')
const defConfig = require('./config/index.js')
let configTarget = defConfig
function _deleteDisabledItem(target,objKey){
const obj = lodash.get(target,objKey)
for (let key in obj) {
if(obj[key]===false){
function _deleteDisabledItem (target, objKey) {
const obj = lodash.get(target, objKey)
for (const key in obj) {
if (obj[key] === false) {
delete obj[key]
}
}
@ -15,14 +15,14 @@ module.exports = {
return configTarget
},
set (newConfig) {
if(newConfig == null){
if (newConfig == null) {
return
}
const clone = lodash.cloneDeep(defConfig)
lodash.merge(clone, newConfig)
_deleteDisabledItem(clone,'intercepts')
_deleteDisabledItem(clone,'dns.mapping')
_deleteDisabledItem(clone, 'intercepts')
_deleteDisabledItem(clone, 'dns.mapping')
configTarget = clone
return configTarget
},

7
packages/core/src/config/index.js

@ -75,12 +75,12 @@ module.exports = {
],
'clients*.google.com': [
{
abort:true
abort: true
}
],
'lh*.googleusercontent.com': [
{
abort:true
abort: true
}
]
},
@ -109,7 +109,8 @@ module.exports = {
server: true,
proxy: {
system: true,
npm: true
npm: true,
yarn: true
}
}
}

3
packages/core/src/expose.js

@ -27,10 +27,9 @@ module.exports = {
proxy,
config,
startup: async (newConfig) => {
if(newConfig){
if (newConfig) {
config.set(newConfig)
}
try {
if (config.get().setting.startup.server) {
server.start(newConfig)

2
packages/core/src/lib/proxy/tls/CertAndKeyContainer.js

@ -51,7 +51,7 @@ module.exports = class CertAndKeyContainer {
}
}
let certObj
const fast = true
const fast = false
if (fast) {
certObj = tlsUtils.createFakeCertificateByDomain(this.caKey, this.caCert, hostname)
_resolve(certObj)

6
packages/core/src/switch/proxy/impl/npm-proxy.js

@ -2,7 +2,7 @@ const cmd = require('node-cmd')
const util = require('util')
const winExec = util.promisify(cmd.get, { multiArgs: true, context: cmd })
const os = require('os')
const config = require('../../../lib/proxy/common/config')
class SystemProxy {
static async setProxy (ip, port) {
throw new Error('You have to implement the method setProxy!')
@ -41,8 +41,8 @@ class WindowsSystemProxy extends SystemProxy {
await winExec('npm config delete https-proxy')
console.log('npm https proxy unset success')
// await winExec(`npm config delete cafile`)
// console.log('npm cafile unset success')
await winExec('npm config delete cafile')
console.log('npm cafile unset success')
await winExec(' npm config delete strict-ssl')
console.log('npm strict-ssl true success')
}

7
packages/core/src/lib/switch/proxy/impl/yarn-proxy.js → packages/core/src/switch/proxy/impl/yarn-proxy.js

@ -2,7 +2,8 @@ const cmd = require('node-cmd')
const util = require('util')
const winExec = util.promisify(cmd.get, { multiArgs: true, context: cmd })
const os = require('os')
// eslint-disable-next-line no-unused-vars
const config = require('../../../lib/proxy/common/config')
class SystemProxy {
static async setProxy (ip, port) {
throw new Error('You have to implement the method setProxy!')
@ -41,8 +42,8 @@ class WindowsSystemProxy extends SystemProxy {
await winExec('yarn config delete https-proxy')
console.log('yarn https proxy unset success')
// await winExec(`yarn config delete cafile`)
// console.log('yarn cafile unset success')
await winExec('yarn config delete cafile')
console.log('yarn cafile unset success')
await winExec(' yarn config delete strict-ssl')
console.log('yarn strict-ssl true success')
}

4
packages/core/src/switch/proxy/index.js

@ -1,5 +1,6 @@
const systemProxy = require('./impl/system-proxy')
const npmProxy = require('./impl/npm-proxy')
const yarnProxy = require('./impl/yarn-proxy')
const event = require('../../event')
const config = require('../../config')
function createProxyApi (type, impl) {
@ -28,5 +29,6 @@ function createProxyApi (type, impl) {
module.exports = {
system: createProxyApi('system', systemProxy),
npm: createProxyApi('npm', npmProxy)
npm: createProxyApi('npm', npmProxy),
yarn: createProxyApi('yarn', yarnProxy)
}

BIN
packages/gui/extra/favicon.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 66 KiB

12
packages/gui/package.json

@ -2,6 +2,7 @@
"name": "@docmirror/dev-sidecar-gui",
"version": "1.0.0",
"private": false,
"license": "MPL2.0",
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
@ -13,14 +14,14 @@
},
"main": "background.js",
"dependencies": {
"@docmirror/dev-sidecar": "1.0.0",
"ant-design-vue": "^1.6.5",
"core-js": "^3.6.5",
"es-abstract": "^1.17.7",
"json5": "^2.1.3",
"lodash": "^4.17.20",
"vue": "^2.6.11",
"vue-json-editor": "^1.4.2",
"@docmirror/dev-sidecar": "1.0.0",
"json5": "^2.1.3",
"es-abstract": "^1.17.7"
"vue-json-editor": "^1.4.2"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0",
@ -30,6 +31,7 @@
"babel-eslint": "^10.1.0",
"electron": "^10.1.3",
"electron-devtools-installer": "^3.1.0",
"electron-icon-builder": "^1.0.2",
"eslint": "^6.7.2",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
@ -60,4 +62,4 @@
"not dead"
],
"__npminstall_done": false
}
}

BIN
packages/gui/public/favicon.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 66 KiB

0
packages/gui/public/logo-1.svg → packages/gui/public/logo/logo-1.svg

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

73
packages/gui/public/logo/logo-lang.svg

@ -0,0 +1,73 @@
<svg id="svg_canvas" viewBox="0 0 460 150" width="460" height="150" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(0,6) scale(1)" >
<g class="logo-entity" transform="translate(120,17) scale(-1,1)">
<circle fill="#1B7FCD" cx="45.9" cy="55.2" r="13.5"
></circle>
<line fill="none" stroke="#1B7FCD" stroke-width="3" stroke-miterlimit="10" x1="37.9" y1="44.7" x2="26.2" y2="26.9"></line>
<circle cx="23.5" cy="21.7" r="7.6" fill="#1B7FCD"></circle>
<line fill="none" stroke="#1B7FCD" stroke-width="3" stroke-miterlimit="10" x1="48.1" y1="44.7" x2="51.3" y2="27.7"></line>
<circle cx="52.3" cy="23.9" r="4.9" fill="#1B7FCD"></circle>
<line fill="none" stroke="#1B7FCD" stroke-width="3" stroke-miterlimit="10" x1="57" y1="55.5" x2="77.8" y2="59.2"></line>
<circle stroke="#1B7FCD" stroke-miterlimit="10" cx="32.5" cy="89.7" r="7.6" fill="#1B7FCD"></circle>
<line fill="none" stroke="#1B7FCD" stroke-width="3" stroke-miterlimit="10" x1="40.1" y1="67.4" x2="34.9" y2="82.5"></line>
<circle fill="none" stroke="#1B7FCD" stroke-width="3" stroke-miterlimit="10" cx="87" cy="61.3" r="9.4"></circle>
</g>
<path transform="translate(0,0) scale(0.7)" d="M153.15,169.55c-14.21,10.5-31.76,16.71-50.74,16.71c-47.19,0-85.59-38.4-85.59-85.59
c0-47.19,38.4-85.59,85.59-85.59c38.04,0,70.37,24.95,81.47,59.35H188c-11.24-36.6-45.36-63.28-85.59-63.28
c-49.36,0-89.52,40.16-89.52,89.52s40.16,89.52,89.52,89.52c21.69,0,41.6-7.76,57.1-20.64H153.15z" fill="#1B7FCD"></path>
</g>
<g transform="translate(104 58) scale(0.7)">
<path fill="#000000"
d="M4.56 0L4.56-44.69L23.52-44.69Q30.62-44.69 34.51-43.28L34.51-43.28Q41.67-40.67 44.09-33.70L44.09-33.70Q45.90-28.34 45.90-22.24L45.90-22.24Q45.90-16.21 44.15-10.85L44.15-10.85Q42.41-5.36 38.39-2.75L38.39-2.75Q35.84-1.14 32.80-0.57Q29.75 0 23.52 0L23.52 0L4.56 0ZM23.52-36.72L14.07-36.72L14.07-7.97L23.52-7.97Q29.75-7.97 32.16-10.72L32.16-10.72Q33.63-12.46 34.54-15.61Q35.44-18.76 35.44-22.31L35.44-22.31Q35.44-26.26 34.37-29.55Q33.30-32.83 31.56-34.44L31.56-34.44Q29.01-36.72 23.52-36.72L23.52-36.72Z"
transform="translate(5 57.553000000000004)"></path>
<path fill="#000000"
d="M22.04-44.69L38.06-44.69L38.06-36.72L25.66-36.72Q20.84-36.72 18.63-36.05Q16.42-35.38 14.94-33.43L14.94-33.43Q13.94-32.09 13.57-30.75Q13.20-29.41 12.93-26.20L12.93-26.20L38.06-26.20L38.06-18.22L12.93-18.22Q13.47-12.46 16.35-10.22Q19.23-7.97 26.13-7.97L26.13-7.97L38.06-7.97L38.06 0L25.66 0Q20.64 0 16.82-0.60L16.82-0.60Q10.79-1.61 7.24-5.90L7.24-5.90Q2.14-12.06 2.14-22.58L2.14-22.58Q2.14-34.24 9.31-40.74L9.31-40.74Q11.79-42.95 14.57-43.82Q17.35-44.69 22.04-44.69L22.04-44.69Z"
transform="translate(55.972 57.553000000000004)"></path>
<path fill="#000000"
d="M37.25-44.69L47.97-44.69L28.41 0L18.89 0L0.07-44.69L10.79-44.69L23.92-11.06L37.25-44.69Z"
transform="translate(99.976 57.553000000000004)"></path>
<path fill="#000000" d="M0-21.31L15.61-21.31L15.61-13.27L0-13.27L0-21.31Z"
transform="translate(151.082 57.553000000000004)"></path>
<path fill="#000000"
d="M26.80 0L4.36 0L4.36-7.97L24.79-7.97Q29.68-7.97 31.29-8.91L31.29-8.91Q33.63-10.32 33.63-13.13L33.63-13.13Q33.63-16.42 30.89-17.89L30.89-17.89Q29.35-18.76 25.93-18.76L25.93-18.76L17.62-18.76Q10.05-18.76 6.70-21.51L6.70-21.51Q4.62-23.25 3.45-25.86Q2.28-28.48 2.28-31.49L2.28-31.49Q2.28-36.18 5.03-40.07L5.03-40.07Q7.71-43.82 13.60-44.49L13.60-44.49Q15.61-44.69 19.56-44.69L19.56-44.69L41.74-44.69L41.74-36.72L21.71-36.72Q17.22-36.65 15.75-36.31L15.75-36.31Q12.73-35.58 12.73-31.76L12.73-31.76Q12.73-28.54 15.28-27.47L15.28-27.47Q16.95-26.67 20.90-26.67L20.90-26.67L28.07-26.67Q33.57-26.67 36.25-25.73L36.25-25.73Q41.00-24.12 42.81-20.10L42.81-20.10Q44.22-16.88 44.22-13.20L44.22-13.20Q44.22-9.11 42.34-5.90L42.34-5.90Q39.73-1.34 34.51-0.40L34.51-0.40Q31.96 0 26.80 0L26.80 0Z"
transform="translate(169.69299999999998 57.553000000000004)"></path>
<path fill="#000000" d="M14.07 0L4.56 0L4.56-44.69L14.07-44.69L14.07 0Z"
transform="translate(219.25799999999998 57.553000000000004)"></path>
<path fill="#000000"
d="M4.56 0L4.56-44.69L23.52-44.69Q30.62-44.69 34.51-43.28L34.51-43.28Q41.67-40.67 44.09-33.70L44.09-33.70Q45.90-28.34 45.90-22.24L45.90-22.24Q45.90-16.21 44.15-10.85L44.15-10.85Q42.41-5.36 38.39-2.75L38.39-2.75Q35.84-1.14 32.80-0.57Q29.75 0 23.52 0L23.52 0L4.56 0ZM23.52-36.72L14.07-36.72L14.07-7.97L23.52-7.97Q29.75-7.97 32.16-10.72L32.16-10.72Q33.63-12.46 34.54-15.61Q35.44-18.76 35.44-22.31L35.44-22.31Q35.44-26.26 34.37-29.55Q33.30-32.83 31.56-34.44L31.56-34.44Q29.01-36.72 23.52-36.72L23.52-36.72Z"
transform="translate(240.81699999999998 57.553000000000004)"></path>
<path fill="#000000"
d="M22.04-44.69L38.06-44.69L38.06-36.72L25.66-36.72Q20.84-36.72 18.63-36.05Q16.42-35.38 14.94-33.43L14.94-33.43Q13.94-32.09 13.57-30.75Q13.20-29.41 12.93-26.20L12.93-26.20L38.06-26.20L38.06-18.22L12.93-18.22Q13.47-12.46 16.35-10.22Q19.23-7.97 26.13-7.97L26.13-7.97L38.06-7.97L38.06 0L25.66 0Q20.64 0 16.82-0.60L16.82-0.60Q10.79-1.61 7.24-5.90L7.24-5.90Q2.14-12.06 2.14-22.58L2.14-22.58Q2.14-34.24 9.31-40.74L9.31-40.74Q11.79-42.95 14.57-43.82Q17.35-44.69 22.04-44.69L22.04-44.69Z"
transform="translate(291.789 57.553000000000004)"></path>
<path fill="#000000"
d="M24.86-7.97L38.53-7.97L38.53 0L22.91 0Q18.49 0 16.15-0.47L16.15-0.47Q7.91-2.08 4.42-9.65L4.42-9.65Q2.14-14.74 2.14-22.24L2.14-22.24Q2.14-31.22 5.63-36.85L5.63-36.85Q8.17-40.94 12.43-42.81Q16.68-44.69 23.38-44.69L23.38-44.69L38.53-44.69L38.53-36.72L24.46-36.72Q18.09-36.72 15.14-33.30L15.14-33.30Q12.66-30.49 12.66-23.12L12.66-23.12Q12.66-13.20 16.48-10.12L16.48-10.12Q19.16-7.97 24.86-7.97L24.86-7.97Z"
transform="translate(335.793 57.553000000000004)"></path>
<path fill="#000000"
d="M11.32 0L0.20 0L18.69-44.69L29.61-44.69L48.11 0L36.98 0L32.63-10.32L15.68-10.32L11.32 0ZM30.55-18.29L24.19-33.90L17.82-18.29L30.55-18.29Z"
transform="translate(379.395 57.553000000000004)"></path>
<path fill="#000000"
d="M21.71-16.95L14.07-16.95L14.07 0L4.56 0L4.56-44.69L26.40-44.69Q35.78-44.69 39.46-42.28L39.46-42.28Q42.01-40.67 43.38-38.02Q44.76-35.38 44.76-32.23L44.76-32.23Q44.76-25.86 41.54-22.38L41.54-22.38Q39.53-20.30 36.25-19.23L36.25-19.23Q38.86-18.29 40.20-17.25Q41.54-16.21 42.61-14.20L42.61-14.20Q43.42-12.60 43.78-11.12Q44.15-9.65 44.35-6.77L44.35-6.77Q44.76-1.94 45.43 0L45.43 0L34.77 0Q34.30-1.54 33.77-6.37L33.77-6.37Q33.43-10.25 32.39-12.33Q31.36-14.41 29.28-15.61L29.28-15.61Q26.67-17.02 21.71-16.95L21.71-16.95ZM14.07-36.72L14.07-24.92L27.40-24.92Q30.75-24.92 32.16-25.93L32.16-25.93Q34.30-27.40 34.30-31.09L34.30-31.09Q34.30-35.18 31.09-36.31L31.09-36.31Q29.95-36.72 27.40-36.72L27.40-36.72L14.07-36.72Z"
transform="translate(430.769 57.553000000000004)"></path>
</g>
<g transform="translate(105,100) scale(1)" >
<path fill="#000000"
d="M25.64-17.92L21.32-17.92L21.32-11.34L26.30-11.34L25.64-9.98L21.32-9.98L21.32-1.57L17.86-1.57L17.86-9.98L11.19-9.98L11.19-8.64L8.06-1.57L4.29-1.57L7.86-9.05L7.86-9.98L2.67-9.98L2.67-11.34L7.86-11.34L7.86-17.92L2.67-17.92L2.67-19.29L7.86-19.29L7.86-19.31L21.32-19.31L21.32-19.29L26.30-19.29L25.64-17.92ZM17.86-11.34L17.86-17.92L11.19-17.92L11.19-11.34L17.86-11.34Z"
transform="translate(5 24.94)" ></path>
<path fill="#000000"
d="M18.13-3.71L13.92-1.51L8.93-1.51L15.75-4.96L10.24-7.89L14.33-7.89L17.84-6.03L22.01-8.15L22.01-9.28L9.89-9.28L5.83-1.62L2.12-1.62L8.38-13.46L2.06-13.46L4.55-19.37L8.09-19.37L6.12-14.70L9.05-14.70L11.54-19.37L15.28-19.37L12.79-14.70L22.21-14.70L21.11-17.81L24.45-17.81L25.58-14.70L26.91-14.70L26.91-13.46L12.12-13.46L10.59-10.56L25.32-10.56L25.32-7.51L20.18-4.79L26.45-1.51L22.33-1.51L18.13-3.71Z"
transform="translate(34 24.94)" ></path>
<path fill="#000000"
d="M15.83-17.84L25.84-17.84L24.97-16.56L15.83-16.56L15.83-13.63L18.18-13.63L19.46-15.75L23.58-15.75L22.30-13.63L26.65-13.63L25.78-12.35L10.03-12.35L8.61-10.56L21.84-10.56L21.84-10.59L25.11-10.59L25.11-1.83L4.73-1.83L4.73-8.00L2.49-8.00L5.92-12.35L2.35-12.35L2.35-13.63L12.53-13.63L12.53-16.56L3.74-16.56L3.74-17.84L12.53-17.84L12.53-19.05L15.83-19.05L15.83-17.84ZM21.05-5.68L8.03-5.68L8.03-3.10L21.84-3.10L21.84-6.61L21.05-5.68ZM21.17-9.22L8.03-9.22L8.03-6.99L21.84-6.99L21.84-10.03L21.17-9.22Z"
transform="translate(63 24.94)" ></path>
<path fill="#000000"
d="M15.23-8.44L12.33-3.68L8.96-3.68L11.86-8.44L11.86-15.57L8.85-15.57L8.85-16.94L11.86-16.94L11.86-19.14L15.23-19.14L15.23-16.94L25.46-16.94L25.46-3.68L18.73-3.68L17.98-5.05L22.10-5.05L22.10-15.57L15.23-15.57L15.23-8.44ZM2.03-13.69L6.84-13.69L6.84-3.10L26.97-3.10L26.42-1.77L7.89-1.77L6.76-2.90L5.89-1.77L2.03-1.77L2.03-3.10L3.54-3.10L3.54-12.33L2.03-12.33L2.03-13.69ZM5.95-19.05L7.45-15.25L3.92-15.25L2.38-19.05L5.95-19.05Z"
transform="translate(92 24.94)" ></path>
<path fill="#000000"
d="M16.39-1.48L12.93-1.48L12.93-4.81L3.39-4.81L3.39-6.15L12.93-6.15L12.93-9.02L4.03-9.02L8.47-15.63L3.45-15.63L3.45-16.96L9.37-16.96L10.99-19.40L15.25-19.40L13.63-16.96L23.58-16.96L22.82-15.63L12.73-15.63L9.19-10.32L12.93-10.32L12.93-14.36L16.39-14.36L16.39-10.32L23.58-10.32L22.82-9.02L16.39-9.02L16.39-6.15L25.61-6.15L24.85-4.81L16.39-4.81L16.39-1.48Z"
transform="translate(121 24.94)" ></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.5 KiB

BIN
packages/gui/public/logo/logo-only.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

19
packages/gui/public/logo/logo-only.svg

@ -0,0 +1,19 @@
<svg id="svg_canvas" viewBox="0 0 260 260" width="260" height="260" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g transform="scale(2)">
<g class="logo-entity" transform="translate(115,12) scale(-1,1)">
<circle fill="#1B7FCD" cx="45.9" cy="55.2" r="13.5"
></circle>
<line fill="none" stroke="#1B7FCD" stroke-width="3" stroke-miterlimit="10" x1="37.9" y1="44.7" x2="26.2" y2="26.9"></line>
<circle cx="23.5" cy="21.7" r="7.6" fill="#1B7FCD"></circle>
<line fill="none" stroke="#1B7FCD" stroke-width="3" stroke-miterlimit="10" x1="48.1" y1="44.7" x2="51.3" y2="27.7"></line>
<circle cx="52.3" cy="23.9" r="4.9" fill="#1B7FCD"></circle>
<line fill="none" stroke="#1B7FCD" stroke-width="3" stroke-miterlimit="10" x1="57" y1="55.5" x2="77.8" y2="59.2"></line>
<circle stroke="#1B7FCD" stroke-miterlimit="10" cx="32.5" cy="89.7" r="7.6" fill="#1B7FCD"></circle>
<line fill="none" stroke="#1B7FCD" stroke-width="3" stroke-miterlimit="10" x1="40.1" y1="67.4" x2="34.9" y2="82.5"></line>
<circle fill="none" stroke="#1B7FCD" stroke-width="3" stroke-miterlimit="10" cx="87" cy="61.3" r="9.4"></circle>
</g>
<circle fill="none" stroke="#1B7FCD" stroke-width="5" stroke-miterlimit="10" cx="65" cy="65" r="60"
></circle>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
packages/gui/public/logo/logo-only2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

BIN
packages/gui/public/logo/logo-only4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

18
packages/gui/public/logo/logo-simple.svg

@ -0,0 +1,18 @@
<svg id="svg_canvas" viewBox="0 0 260 260" width="260" height="260" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g transform="scale(2)">
<g class="logo-entity" transform="translate(144,-12.5) scale(-1.40,1.40)">
<circle fill="#1B7FCD" cx="45.9" cy="55.2" r="17.5"
></circle>
<circle cx="23.5" cy="21.7" r="9.6" fill="#1B7FCD"></circle>
<circle cx="52.3" cy="23.9" r="6.9" fill="#1B7FCD"></circle>
<circle stroke="#1B7FCD" stroke-miterlimit="10" cx="32.5" cy="89.7" r="9.6" fill="#1B7FCD"></circle>
<circle fill="none" stroke="#1B7FCD" stroke-width="5" stroke-miterlimit="10" cx="87" cy="61.3" r="10.4"></circle>
<line fill="none" stroke="#1B7FCD" stroke-width="5" stroke-miterlimit="10" x1="37.9" y1="44.7" x2="26.2" y2="26.9"></line>
<line fill="none" stroke="#1B7FCD" stroke-width="5" stroke-miterlimit="10" x1="48.1" y1="44.7" x2="51.3" y2="27.7"></line>
<line fill="none" stroke="#1B7FCD" stroke-width="5" stroke-miterlimit="10" x1="57" y1="55.5" x2="77.8" y2="59.2"></line>
<line fill="none" stroke="#1B7FCD" stroke-width="5" stroke-miterlimit="10" x1="40.1" y1="67.4" x2="34.9" y2="82.5"></line>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

98
packages/gui/public/logo/logo-text.svg

@ -0,0 +1,98 @@
<svg id="svg_canvas" viewBox="0 0 300 300" width="300" height="300" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(78,40) scale(1)">
<g class="logo-entity" transform="translate(120,17) scale(-1,1)">
<circle fill="#1B7FCD" cx="45.9" cy="55.2" r="13.5"
></circle>
<line fill="none" stroke="#1B7FCD" stroke-width="3" stroke-miterlimit="10" x1="37.9" y1="44.7" x2="26.2" y2="26.9"></line>
<circle cx="23.5" cy="21.7" r="7.6" fill="#1B7FCD"></circle>
<line fill="none" stroke="#1B7FCD" stroke-width="3" stroke-miterlimit="10" x1="48.1" y1="44.7" x2="51.3" y2="27.7"></line>
<circle cx="52.3" cy="23.9" r="4.9" fill="#1B7FCD"></circle>
<line fill="none" stroke="#1B7FCD" stroke-width="3" stroke-miterlimit="10" x1="57" y1="55.5" x2="77.8" y2="59.2"></line>
<circle stroke="#1B7FCD" stroke-miterlimit="10" cx="32.5" cy="89.7" r="7.6" fill="#1B7FCD"></circle>
<line fill="none" stroke="#1B7FCD" stroke-width="3" stroke-miterlimit="10" x1="40.1" y1="67.4" x2="34.9" y2="82.5"></line>
<circle fill="none" stroke="#1B7FCD" stroke-width="3" stroke-miterlimit="10" cx="87" cy="61.3" r="9.4"></circle>
</g>
<circle fill="none" stroke="#1B7FCD" stroke-width="5" stroke-miterlimit="10" cx="70" cy="70" r="60"
></circle>
</g>
<g transform="translate(50 140)">
<path fill="#191919" d="M0,100c0,0,0.781-0.034,2.245-0.099c1.467-0.056,3.615-0.177,6.349-0.254
c5.469-0.155,13.281-0.482,22.656-0.688c4.688-0.098,9.766-0.202,15.137-0.313c5.371-0.078,11.035-0.16,16.894-0.245
c5.86-0.047,11.914-0.149,18.067-0.157c6.152-0.021,12.402-0.042,18.653-0.063c6.249,0.021,12.499,0.041,18.651,0.063
c6.152,0,12.207,0.108,18.066,0.154c11.719,0.127,22.656,0.322,32.03,0.558c9.375,0.203,17.188,0.535,22.655,0.69
c2.734,0.078,4.883,0.199,6.35,0.256C199.219,99.966,200,100,200,100s-0.781,0.034-2.245,0.099
c-1.467,0.057-3.614,0.178-6.349,0.256c-5.469,0.155-13.281,0.487-22.656,0.69c-9.374,0.234-20.313,0.432-32.029,0.559
c-5.861,0.047-11.914,0.153-18.068,0.154c-6.151,0.021-12.401,0.041-18.65,0.063c-6.251-0.021-12.501-0.043-18.653-0.063
c-6.153-0.007-12.207-0.108-18.067-0.157c-5.858-0.084-11.522-0.166-16.894-0.244c-5.371-0.111-10.449-0.217-15.137-0.313
c-9.375-0.205-17.188-0.532-22.656-0.688c-2.733-0.077-4.882-0.198-6.349-0.254C0.781,100.034,0,100,0,100z"
class=""></path>
</g>
<svg version="1.1" x="74px" y="116px" width="150" height="3" viewBox="0 0 200 4" preserveAspectRatio="none">
<g>
<path fill="#191919" d="M0,100c0,0,0.781-0.034,2.245-0.099c1.467-0.056,3.615-0.177,6.349-0.254
c5.469-0.155,13.281-0.482,22.656-0.688c4.688-0.098,9.766-0.202,15.137-0.313c5.371-0.078,11.035-0.16,16.894-0.245
c5.86-0.047,11.914-0.149,18.067-0.157c6.152-0.021,12.402-0.042,18.653-0.063c6.249,0.021,12.499,0.041,18.651,0.063
c6.152,0,12.207,0.108,18.066,0.154c11.719,0.127,22.656,0.322,32.03,0.558c9.375,0.203,17.188,0.535,22.655,0.69
c2.734,0.078,4.883,0.199,6.35,0.256C199.219,99.966,200,100,200,100s-0.781,0.034-2.245,0.099
c-1.467,0.057-3.614,0.178-6.349,0.256c-5.469,0.155-13.281,0.487-22.656,0.69c-9.374,0.234-20.313,0.432-32.029,0.559
c-5.861,0.047-11.914,0.153-18.068,0.154c-6.151,0.021-12.401,0.041-18.65,0.063c-6.251-0.021-12.501-0.043-18.653-0.063
c-6.153-0.007-12.207-0.108-18.067-0.157c-5.858-0.084-11.522-0.166-16.894-0.244c-5.371-0.111-10.449-0.217-15.137-0.313
c-9.375-0.205-17.188-0.532-22.656-0.688c-2.733-0.077-4.882-0.198-6.349-0.254C0.781,100.034,0,100,0,100z"></path>
</g>
</svg>
<g transform="translate(30 197) scale(0.5)">
<path fill="#000000"
d="M4.56 0L4.56-44.69L23.52-44.69Q30.62-44.69 34.51-43.28L34.51-43.28Q41.67-40.67 44.09-33.70L44.09-33.70Q45.90-28.34 45.90-22.24L45.90-22.24Q45.90-16.21 44.15-10.85L44.15-10.85Q42.41-5.36 38.39-2.75L38.39-2.75Q35.84-1.14 32.80-0.57Q29.75 0 23.52 0L23.52 0L4.56 0ZM23.52-36.72L14.07-36.72L14.07-7.97L23.52-7.97Q29.75-7.97 32.16-10.72L32.16-10.72Q33.63-12.46 34.54-15.61Q35.44-18.76 35.44-22.31L35.44-22.31Q35.44-26.26 34.37-29.55Q33.30-32.83 31.56-34.44L31.56-34.44Q29.01-36.72 23.52-36.72L23.52-36.72Z"
transform="translate(5 57.553000000000004)"></path>
<path fill="#000000"
d="M22.04-44.69L38.06-44.69L38.06-36.72L25.66-36.72Q20.84-36.72 18.63-36.05Q16.42-35.38 14.94-33.43L14.94-33.43Q13.94-32.09 13.57-30.75Q13.20-29.41 12.93-26.20L12.93-26.20L38.06-26.20L38.06-18.22L12.93-18.22Q13.47-12.46 16.35-10.22Q19.23-7.97 26.13-7.97L26.13-7.97L38.06-7.97L38.06 0L25.66 0Q20.64 0 16.82-0.60L16.82-0.60Q10.79-1.61 7.24-5.90L7.24-5.90Q2.14-12.06 2.14-22.58L2.14-22.58Q2.14-34.24 9.31-40.74L9.31-40.74Q11.79-42.95 14.57-43.82Q17.35-44.69 22.04-44.69L22.04-44.69Z"
transform="translate(55.972 57.553000000000004)"></path>
<path fill="#000000"
d="M37.25-44.69L47.97-44.69L28.41 0L18.89 0L0.07-44.69L10.79-44.69L23.92-11.06L37.25-44.69Z"
transform="translate(99.976 57.553000000000004)"></path>
<path fill="#000000" d="M0-21.31L15.61-21.31L15.61-13.27L0-13.27L0-21.31Z"
transform="translate(151.082 57.553000000000004)"></path>
<path fill="#000000"
d="M26.80 0L4.36 0L4.36-7.97L24.79-7.97Q29.68-7.97 31.29-8.91L31.29-8.91Q33.63-10.32 33.63-13.13L33.63-13.13Q33.63-16.42 30.89-17.89L30.89-17.89Q29.35-18.76 25.93-18.76L25.93-18.76L17.62-18.76Q10.05-18.76 6.70-21.51L6.70-21.51Q4.62-23.25 3.45-25.86Q2.28-28.48 2.28-31.49L2.28-31.49Q2.28-36.18 5.03-40.07L5.03-40.07Q7.71-43.82 13.60-44.49L13.60-44.49Q15.61-44.69 19.56-44.69L19.56-44.69L41.74-44.69L41.74-36.72L21.71-36.72Q17.22-36.65 15.75-36.31L15.75-36.31Q12.73-35.58 12.73-31.76L12.73-31.76Q12.73-28.54 15.28-27.47L15.28-27.47Q16.95-26.67 20.90-26.67L20.90-26.67L28.07-26.67Q33.57-26.67 36.25-25.73L36.25-25.73Q41.00-24.12 42.81-20.10L42.81-20.10Q44.22-16.88 44.22-13.20L44.22-13.20Q44.22-9.11 42.34-5.90L42.34-5.90Q39.73-1.34 34.51-0.40L34.51-0.40Q31.96 0 26.80 0L26.80 0Z"
transform="translate(169.69299999999998 57.553000000000004)"></path>
<path fill="#000000" d="M14.07 0L4.56 0L4.56-44.69L14.07-44.69L14.07 0Z"
transform="translate(219.25799999999998 57.553000000000004)"></path>
<path fill="#000000"
d="M4.56 0L4.56-44.69L23.52-44.69Q30.62-44.69 34.51-43.28L34.51-43.28Q41.67-40.67 44.09-33.70L44.09-33.70Q45.90-28.34 45.90-22.24L45.90-22.24Q45.90-16.21 44.15-10.85L44.15-10.85Q42.41-5.36 38.39-2.75L38.39-2.75Q35.84-1.14 32.80-0.57Q29.75 0 23.52 0L23.52 0L4.56 0ZM23.52-36.72L14.07-36.72L14.07-7.97L23.52-7.97Q29.75-7.97 32.16-10.72L32.16-10.72Q33.63-12.46 34.54-15.61Q35.44-18.76 35.44-22.31L35.44-22.31Q35.44-26.26 34.37-29.55Q33.30-32.83 31.56-34.44L31.56-34.44Q29.01-36.72 23.52-36.72L23.52-36.72Z"
transform="translate(240.81699999999998 57.553000000000004)"></path>
<path fill="#000000"
d="M22.04-44.69L38.06-44.69L38.06-36.72L25.66-36.72Q20.84-36.72 18.63-36.05Q16.42-35.38 14.94-33.43L14.94-33.43Q13.94-32.09 13.57-30.75Q13.20-29.41 12.93-26.20L12.93-26.20L38.06-26.20L38.06-18.22L12.93-18.22Q13.47-12.46 16.35-10.22Q19.23-7.97 26.13-7.97L26.13-7.97L38.06-7.97L38.06 0L25.66 0Q20.64 0 16.82-0.60L16.82-0.60Q10.79-1.61 7.24-5.90L7.24-5.90Q2.14-12.06 2.14-22.58L2.14-22.58Q2.14-34.24 9.31-40.74L9.31-40.74Q11.79-42.95 14.57-43.82Q17.35-44.69 22.04-44.69L22.04-44.69Z"
transform="translate(291.789 57.553000000000004)"></path>
<path fill="#000000"
d="M24.86-7.97L38.53-7.97L38.53 0L22.91 0Q18.49 0 16.15-0.47L16.15-0.47Q7.91-2.08 4.42-9.65L4.42-9.65Q2.14-14.74 2.14-22.24L2.14-22.24Q2.14-31.22 5.63-36.85L5.63-36.85Q8.17-40.94 12.43-42.81Q16.68-44.69 23.38-44.69L23.38-44.69L38.53-44.69L38.53-36.72L24.46-36.72Q18.09-36.72 15.14-33.30L15.14-33.30Q12.66-30.49 12.66-23.12L12.66-23.12Q12.66-13.20 16.48-10.12L16.48-10.12Q19.16-7.97 24.86-7.97L24.86-7.97Z"
transform="translate(335.793 57.553000000000004)"></path>
<path fill="#000000"
d="M11.32 0L0.20 0L18.69-44.69L29.61-44.69L48.11 0L36.98 0L32.63-10.32L15.68-10.32L11.32 0ZM30.55-18.29L24.19-33.90L17.82-18.29L30.55-18.29Z"
transform="translate(379.395 57.553000000000004)"></path>
<path fill="#000000"
d="M21.71-16.95L14.07-16.95L14.07 0L4.56 0L4.56-44.69L26.40-44.69Q35.78-44.69 39.46-42.28L39.46-42.28Q42.01-40.67 43.38-38.02Q44.76-35.38 44.76-32.23L44.76-32.23Q44.76-25.86 41.54-22.38L41.54-22.38Q39.53-20.30 36.25-19.23L36.25-19.23Q38.86-18.29 40.20-17.25Q41.54-16.21 42.61-14.20L42.61-14.20Q43.42-12.60 43.78-11.12Q44.15-9.65 44.35-6.77L44.35-6.77Q44.76-1.94 45.43 0L45.43 0L34.77 0Q34.30-1.54 33.77-6.37L33.77-6.37Q33.43-10.25 32.39-12.33Q31.36-14.41 29.28-15.61L29.28-15.61Q26.67-17.02 21.71-16.95L21.71-16.95ZM14.07-36.72L14.07-24.92L27.40-24.92Q30.75-24.92 32.16-25.93L32.16-25.93Q34.30-27.40 34.30-31.09L34.30-31.09Q34.30-35.18 31.09-36.31L31.09-36.31Q29.95-36.72 27.40-36.72L27.40-36.72L14.07-36.72Z"
transform="translate(430.769 57.553000000000004)"></path>
</g>
<g transform="translate(90,250) scale(0.8)" >
<path fill="#000000"
d="M25.64-17.92L21.32-17.92L21.32-11.34L26.30-11.34L25.64-9.98L21.32-9.98L21.32-1.57L17.86-1.57L17.86-9.98L11.19-9.98L11.19-8.64L8.06-1.57L4.29-1.57L7.86-9.05L7.86-9.98L2.67-9.98L2.67-11.34L7.86-11.34L7.86-17.92L2.67-17.92L2.67-19.29L7.86-19.29L7.86-19.31L21.32-19.31L21.32-19.29L26.30-19.29L25.64-17.92ZM17.86-11.34L17.86-17.92L11.19-17.92L11.19-11.34L17.86-11.34Z"
transform="translate(5 24.94)" ></path>
<path fill="#000000"
d="M18.13-3.71L13.92-1.51L8.93-1.51L15.75-4.96L10.24-7.89L14.33-7.89L17.84-6.03L22.01-8.15L22.01-9.28L9.89-9.28L5.83-1.62L2.12-1.62L8.38-13.46L2.06-13.46L4.55-19.37L8.09-19.37L6.12-14.70L9.05-14.70L11.54-19.37L15.28-19.37L12.79-14.70L22.21-14.70L21.11-17.81L24.45-17.81L25.58-14.70L26.91-14.70L26.91-13.46L12.12-13.46L10.59-10.56L25.32-10.56L25.32-7.51L20.18-4.79L26.45-1.51L22.33-1.51L18.13-3.71Z"
transform="translate(34 24.94)" ></path>
<path fill="#000000"
d="M15.83-17.84L25.84-17.84L24.97-16.56L15.83-16.56L15.83-13.63L18.18-13.63L19.46-15.75L23.58-15.75L22.30-13.63L26.65-13.63L25.78-12.35L10.03-12.35L8.61-10.56L21.84-10.56L21.84-10.59L25.11-10.59L25.11-1.83L4.73-1.83L4.73-8.00L2.49-8.00L5.92-12.35L2.35-12.35L2.35-13.63L12.53-13.63L12.53-16.56L3.74-16.56L3.74-17.84L12.53-17.84L12.53-19.05L15.83-19.05L15.83-17.84ZM21.05-5.68L8.03-5.68L8.03-3.10L21.84-3.10L21.84-6.61L21.05-5.68ZM21.17-9.22L8.03-9.22L8.03-6.99L21.84-6.99L21.84-10.03L21.17-9.22Z"
transform="translate(63 24.94)" ></path>
<path fill="#000000"
d="M15.23-8.44L12.33-3.68L8.96-3.68L11.86-8.44L11.86-15.57L8.85-15.57L8.85-16.94L11.86-16.94L11.86-19.14L15.23-19.14L15.23-16.94L25.46-16.94L25.46-3.68L18.73-3.68L17.98-5.05L22.10-5.05L22.10-15.57L15.23-15.57L15.23-8.44ZM2.03-13.69L6.84-13.69L6.84-3.10L26.97-3.10L26.42-1.77L7.89-1.77L6.76-2.90L5.89-1.77L2.03-1.77L2.03-3.10L3.54-3.10L3.54-12.33L2.03-12.33L2.03-13.69ZM5.95-19.05L7.45-15.25L3.92-15.25L2.38-19.05L5.95-19.05Z"
transform="translate(92 24.94)" ></path>
<path fill="#000000"
d="M16.39-1.48L12.93-1.48L12.93-4.81L3.39-4.81L3.39-6.15L12.93-6.15L12.93-9.02L4.03-9.02L8.47-15.63L3.45-15.63L3.45-16.96L9.37-16.96L10.99-19.40L15.25-19.40L13.63-16.96L23.58-16.96L22.82-15.63L12.73-15.63L9.19-10.32L12.93-10.32L12.93-14.36L16.39-14.36L16.39-10.32L23.58-10.32L22.82-9.02L16.39-9.02L16.39-6.15L25.61-6.15L24.85-4.81L16.39-4.81L16.39-1.48Z"
transform="translate(121 24.94)" ></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

0
packages/gui/public/logo.svg → packages/gui/public/logo/logo.svg

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

BIN
packages/gui/src/assets/logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

2
packages/gui/src/view/components/App.vue

@ -2,7 +2,7 @@
<div id="app">
<template>
<div style="margin:auto">
<div style="text-align: center"><img height="80px" src="/logo.svg"></div>
<div style="text-align: center"><img height="80px" src="/logo/logo-lang.svg"></div>
<a-card title="DevSidecar-开发者辅助工具 " style="width: 500px;margin:auto">
<div style="display: flex; align-items:center;justify-content:space-around;flex-direction: row">
<div style="text-align: center">

894
packages/gui/yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save