jumbotron
parent
af13653ff1
commit
d22d5d6557
|
|
@ -156,4 +156,74 @@ footer{
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
margin-top: 48px;
|
margin-top: 48px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.user {
|
||||||
|
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
padding: 11px;
|
||||||
|
height: 64px;
|
||||||
|
justify-content: center;
|
||||||
|
background-color: #fff;
|
||||||
|
border-radius: 32px;
|
||||||
|
border: 1px solid var(--second-dis);
|
||||||
|
|
||||||
|
.avatar {
|
||||||
|
width: 38px;
|
||||||
|
height: 38px;
|
||||||
|
color: var(--prime);
|
||||||
|
border: 1px solid var(--prime);
|
||||||
|
background: #fff;
|
||||||
|
border-radius: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
cursor: pointer;
|
||||||
|
overflow: hidden;
|
||||||
|
.initials {
|
||||||
|
}
|
||||||
|
img {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.name{
|
||||||
|
margin: 8px 4px 0 12px;
|
||||||
|
color: var(--second-act);
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
drop-down {
|
||||||
|
|
||||||
|
margin-top: 6px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
@media screen and (max-width: 1330px) {
|
||||||
|
.user {
|
||||||
|
.avatar {
|
||||||
|
background-color: var(--white);
|
||||||
|
margin-right: 18px;
|
||||||
|
}
|
||||||
|
.name{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -118,8 +118,8 @@ body {
|
||||||
.left-content{
|
.left-content{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-width: 1280px;
|
max-width: 1360px;
|
||||||
margin: 0 40px;
|
padding: 0 40px;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
@ -136,7 +136,7 @@ body {
|
||||||
}
|
}
|
||||||
header-user-bar{
|
header-user-bar{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 40px;
|
||||||
top: 32px;
|
top: 32px;
|
||||||
}
|
}
|
||||||
.menu{
|
.menu{
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,6 @@ export class AuthenticationService {
|
||||||
if (!params) params = {include: 'avatar,privileges'};
|
if (!params) params = {include: 'avatar,privileges'};
|
||||||
console.log('URL',environment.apiUrl)
|
console.log('URL',environment.apiUrl)
|
||||||
this.http.get(`${environment.apiUrl}/api/me`, {params: params}).subscribe((res: any) => {
|
this.http.get(`${environment.apiUrl}/api/me`, {params: params}).subscribe((res: any) => {
|
||||||
console.log('USER',res.data)
|
|
||||||
this.user.next(res?.data);
|
this.user.next(res?.data);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue