Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adição notificação mobile #225

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/app/modules/components/header/header.component.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
<app-row class="row-header">
<header fxLayout="row">
<div class="container">
<a routerLink="/"><mat-icon svgIcon="logo" class="logo"></mat-icon></a>
<div class="start">
<a routerLink="/"><mat-icon svgIcon="logo" class="logo"></mat-icon></a>
<a *ngIf="!hideMenu" fxHide fxHide.xs="false" fxLayout="center" (click)="openNotifications()" class="notification">
<app-icon [icon]="notificationIcon"></app-icon>
</a>
</div>
<nav fxHide.xs fxLayoutGap="32px" *ngIf="!hideMenu">
<a routerLink="/" #explore>Explore</a>
<a routerLink="/tecnologia">Tecnologia</a>
Expand Down
8 changes: 8 additions & 0 deletions src/app/modules/components/header/header.component.sass
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ header
padding: 0 0
width: rem(1220)
margin: 0 auto

.start
.notification
display: none

nav
display: flex
Expand Down Expand Up @@ -57,6 +61,10 @@ header
left: 0
z-index: 999

.start
display: flex
flex-direction: row

.suspended-menu
display: block
position: fixed
Expand Down