Skip to content

Commit 442e99d

Browse files
committed
💄 add logo to sidebar
1 parent ec63426 commit 442e99d

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

src/app/core/components/sidebar/sidebar.component.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<nav class="sidebar closed">
22
<div class="logo">
3+
<figure>
4+
<img src="assets/images/logo.svg" alt="logo_image">
5+
</figure>
36
<span class="name">Cloud Box</span>
47
<div class="close">
58
<i class="bx bx-x" (click)="changeVisibilitySidebar()"></i>

src/app/core/components/sidebar/sidebar.component.scss

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,31 @@ nav {
2727
display: flex;
2828
align-items: center;
2929
justify-content: space-between;
30-
gap: 1rem;
30+
gap: 0.8rem;
3131
width: 100%;
3232

3333
& .name {
3434
@include fs-1;
35-
@include fw-600;
35+
@include fw-700;
36+
flex: 1;
37+
}
38+
39+
& figure {
40+
width: 4rem;
41+
margin: 0;
42+
padding: 0;
43+
display: flex;
44+
align-items: center;
45+
justify-content: center;
46+
47+
@include width-medium {
48+
display: none;
49+
}
50+
51+
& img {
52+
width: 100%;
53+
height: 100%;
54+
}
3655
}
3756
}
3857

@@ -44,7 +63,7 @@ nav {
4463

4564
& .item {
4665
list-style: none;
47-
height: 60px;
66+
min-height: 60px;
4867

4968
& a {
5069
color: var(--fc-primary);

src/favicon.ico

195 KB
Binary file not shown.

0 commit comments

Comments
 (0)