Add jambotron logo SVG and integrate it into the main component

This commit is contained in:
liosha84
2025-07-03 10:57:43 +03:00
parent 51dfb3b24f
commit afb12a131e
3 changed files with 13 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
<svg width="113" height="40" xmlns="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<text font-weight="bold" xml:space="preserve"
text-anchor="start" font-family="'JetBrains Mono'"
font-size="24" id="svg_1" y="27.49999" x="2.59999" stroke-width="0" stroke="#000" fill="#000000">jambotron</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 338 B

@@ -2,6 +2,7 @@
<mat-toolbar class="fixed-top">
<button mat-raised-button routerLink="/" href="#">
<img ngSrc="jambotron_logo.svg" height="40" width="135">
My App
</button>
<span class="menu-spacer"></span>
@@ -1,6 +1,6 @@
import {Component, CUSTOM_ELEMENTS_SCHEMA, inject, OnInit} from '@angular/core';
//import {NavigationComponent} from '../navigation/navigation.component';
import {NgClass} from '@angular/common';
import {NgClass, NgOptimizedImage} from '@angular/common';
import {NavigationComponent} from '../../layouts/admin-layout/navigation/navigation.component';
import {Router, RouterLink, RouterOutlet} from '@angular/router';
import {BreadcrumbComponent} from '../../components/breadcrumb/breadcrumb.component';
@@ -31,7 +31,8 @@ import {
MatButton,
RouterLink,
IconDirective,
RouterOutlet
RouterOutlet,
NgOptimizedImage
],
schemas: [ CUSTOM_ELEMENTS_SCHEMA ],
templateUrl: './main.component.html',