Skip to content

Commit

Permalink
Merge pull request #36 from nck974/add-logo
Browse files Browse the repository at this point in the history
[FEATURE] Add a diogenes logo
  • Loading branch information
nck974 authored Sep 14, 2023
2 parents 724218c + c6e1e74 commit dd0edad
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ng-diogenes/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets/logo/logo_transparent.png",
"src/assets"
],
"styles": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.card {
margin: 1rem;
max-width: 70rem;
min-width: 35rem;
}

.center-card {
Expand Down
5 changes: 4 additions & 1 deletion ng-diogenes/src/app/pages/inventory/inventory.component.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<mat-toolbar>
<mat-toolbar-row>
<div class="select-items-container">
xxxx
<span class="logo-container">
<img class="logo" src="assets/logo/logo_transparent.png" alt="Logo">
Diogenes
</span>
<app-inventory-menu></app-inventory-menu>
</div>
</mat-toolbar-row>
Expand Down
13 changes: 12 additions & 1 deletion ng-diogenes/src/app/pages/inventory/inventory.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
justify-content: space-between;
}

.extended-size-row{
.extended-size-row {
min-height: 80px;
}

Expand All @@ -14,4 +14,15 @@
bottom: 20px;
right: 20px;
z-index: 1;
}

.logo {
width: 50px;
height: 50px;
margin-right: 0.5rem;
}

.logo-container {
display: flex;
align-items: center;
}
Binary file added ng-diogenes/src/assets/logo/logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ng-diogenes/src/assets/logo/logo_transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed ng-diogenes/src/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion ng-diogenes/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Diogenes</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="icon" type="image/x-icon" href="assets/logo/logo_transparent.png">
<!-- Load environment variables -->
<script src="assets/env.js"></script>
<link rel="preconnect" href="https://fonts.gstatic.com">
Expand Down

0 comments on commit dd0edad

Please sign in to comment.