Skip to content

Commit 7a17ba2

Browse files
authored
Merge pull request #8 from veshu/logo-integeration
logo integration
2 parents 1adb466 + 322b903 commit 7a17ba2

File tree

7 files changed

+19
-2
lines changed

7 files changed

+19
-2
lines changed

src/app/app.component.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<div class="redis-content" (mouseup)="dragObject.pressed=false" (mousemove)="mouseMove($event)">
22
<div class="header mat-elevation-z4">
33
<mat-toolbar class="header">
4+
<img class="logo" src="../assets/logo.png"/>
45
<span>{{title}}</span>
56
</mat-toolbar>
67
</div>

src/app/app.component.scss

+16
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ $header-height: 60px;
1212
height: $header-height;
1313
background-color: #4054b2;
1414
color: white;
15+
.logo{
16+
height: 26px;
17+
margin-right: 2px;
18+
}
1519
}
1620

1721
.body {
@@ -56,6 +60,18 @@ $header-height: 60px;
5660
}
5761
.right-part {
5862
flex: 1;
63+
position: relative;
64+
&::after{
65+
content: "";
66+
background:url(../assets/watermark.png) no-repeat;
67+
opacity: 0.1;
68+
top: 25%;
69+
left: 35%;
70+
bottom: 0;
71+
right: 0;
72+
position: absolute;
73+
background-size: 350px;
74+
}
5975
}
6076
}
6177
.cli {

src/app/app.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const getNewPage = () => ({
4242
styleUrls: ['./app.component.scss']
4343
})
4444
export class AppComponent implements OnInit {
45-
title = 'REDIS MANAGER GUI TOOLS';
45+
title = 'Easy Redis Manager';
4646
instances$: Observable<RedisInstance[]> = null;
4747
currentPage$: Observable<PageModel> = null;
4848
cli$: Observable<any> = null;

src/assets/logo.png

4.49 KB
Loading

src/assets/watermark.png

8.08 KB
Loading

src/favicon.ico

9.74 KB
Binary file not shown.

src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5-
<title>Redis Manager Gui Tools</title>
5+
<title>Easy Redis Manager</title>
66
<base href="/">
77

88
<meta name="viewport" content="width=device-width, initial-scale=1">

0 commit comments

Comments
 (0)