Use SVG logos for deploy preview (#2443)

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
pull/2400/merge
Florian Hotze 2025-01-05 07:59:18 +01:00 committed by GitHub
parent b99531db6b
commit e1d365ed83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 27 additions and 1 deletions

View File

@ -43,7 +43,7 @@ const config: UserConfig<DefaultThemeConfig> = {
],
themeConfig: {
logo: `/openhab-logo.png`,
logo: `/openhab-logo.svg`,
editLinks: false,
activeHeaderLinks: false,
sidebarDepth: 0,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 192 192" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g id="logo">
<g id="logo_1_">
<path d="M9.932,137.039L85.042,61.873L95.98,50.935L106.919,61.873L162.364,117.318L162.283,117.598L161.189,120.819L159.948,123.963L158.553,127.033L157.017,130.028L155.62,132.452L95.98,72.812C69.957,98.855 43.935,124.897 17.912,150.939C14.907,146.513 12.116,141.955 9.932,137.039Z" style="fill:rgb(230,74,25);"/>
<path d="M95.981,0C148.849,0 191.962,43.115 191.962,95.983C191.962,148.847 148.849,191.964 95.981,191.964C67.104,191.964 41.143,179.088 23.523,158.796L26.915,155.392L29.377,152.929L31.844,150.459L34.312,147.992L34.412,147.892C49.215,165.419 71.33,176.587 95.981,176.587C140.378,176.587 176.587,140.38 176.587,95.983C176.587,51.583 140.378,15.375 95.981,15.375C51.583,15.375 15.374,51.583 15.374,95.983C15.374,101.962 16.039,107.788 17.286,113.404L11.938,118.763L4.799,125.907C1.69,116.481 0,106.426 0,95.983C0,43.115 43.113,0 95.981,0Z" style="fill:rgb(71,71,71);"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 18 KiB