mirror of
https://github.com/mempool/mempool.git
synced 2025-09-27 18:27:05 +02:00
add logo to sp widget
This commit is contained in:
@@ -326,7 +326,10 @@
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<a class="title-link" href="" [routerLink]="['/sp/cubo' | relativeUrl]">
|
||||
<h5 class="card-title d-inline">{{ widget.props?.label }}</h5>
|
||||
<h5 class="card-title d-inline">
|
||||
<img src="/resources/cubo.svg" style="width: 1.1em; height: 1.1em; margin-right: 0.1em; transform: translateY(-0.1em);">
|
||||
{{ widget.props?.label }}
|
||||
</h5>
|
||||
<span> </span>
|
||||
<fa-icon [icon]="['fas', 'external-link-alt']" [fixedWidth]="true" style="vertical-align: text-top; font-size: 13px; color: var(--title-fg)"></fa-icon>
|
||||
</a>
|
||||
|
@@ -1,6 +1,9 @@
|
||||
<div class="container-xl" style="min-height: 335px" [ngClass]="{'widget': widget, 'full-height': !widget}">
|
||||
<div *ngIf="!widget" class="float-left" style="display: flex; width: 100%; align-items: center;">
|
||||
<h1>{{ label }}</h1>
|
||||
<h1>
|
||||
<img src="/resources/cubo.svg" style="width: 1.1em; height: 1.1em; margin-right: 0.1em; transform: translateY(-0.1em);">
|
||||
{{ label }}
|
||||
</h1>
|
||||
<div *ngIf="!widget && isLoading" class="spinner-border" role="status"></div>
|
||||
</div>
|
||||
|
||||
|
18
frontend/src/resources/cubo.svg
Normal file
18
frontend/src/resources/cubo.svg
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="Capa_2" data-name="Capa 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 273.87 291.85">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #235fa9;
|
||||
stroke-width: 0px;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<g id="Capa_1-2" data-name="Capa 1">
|
||||
<g id="b">
|
||||
<g id="c">
|
||||
<path class="cls-1" d="M246.41,177.71c-14.12,0-25.74,10.64-27.32,24.33h0c-30.93,17.72-61.86,35.47-92.79,53.21l-95.63-55.78v-38.36l95.87,55.54,125-73.72v-69.98L125.28,0,5.26,70.48l89.4,51.3,33.36-19.92c5.86,3.74,11.73,7.45,17.57,11.19.91,13.64,12.23,24.44,26.11,24.44s26.19-11.73,26.19-26.19-11.73-26.19-26.19-26.19c-3.41,0-6.67.67-9.67,1.87h0c-11.69-6.91-23.35-13.79-35.03-20.7l-32.86,18.68-25.89-15.18,57.51-33.36,95.87,55.28v34.12l-95.87,55.04L0,108.62v110.08l125.5,73.15c35.71-20.92,71.44-41.83,107.14-62.75v-.04c4.02,2.35,8.71,3.69,13.71,3.69,15.2,0,27.52-12.32,27.52-27.52s-12.32-27.52-27.52-27.52h.07ZM171.37,102.87c4.95,0,8.97,4.02,8.97,8.97s-4.02,8.97-8.97,8.97-8.97-4.02-8.97-8.97,4.02-8.97,8.97-8.97ZM246.28,214.51c-4.95,0-8.97-4.02-8.97-8.97s4.02-8.97,8.97-8.97,8.97,4.02,8.97,8.97-4.02,8.97-8.97,8.97Z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
Reference in New Issue
Block a user