Skip to content

Commit 630faed

Browse files
committed
refactor: header
1 parent b93a420 commit 630faed

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

angular-hub/src/app/components/navigation/navigation.component.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
<header class="flex items-center p-4">
22
<p-button
3-
class="flex-1 sm:flex-none lg:hidden"
3+
class="flex-none lg:hidden"
44
(click)="sidebarVisible = true"
55
[text]="true"
66
icon="pi pi-bars"
77
/>
88
<a
9-
class="hidden sm:flex lg:flex-none flex-1 items-center px-2 mx-2 gap-2 sm:mr-16"
10-
[ngClass]="{ flex: !isInstallButtonVisible() }"
9+
class="lg:flex-none flex flex-1 items-center px-2 gap-2 sm:mr-16"
1110
routerLink="/"
1211
>
1312
<img class="h-8" src="/assets/images/logo.webp" alt="" />
14-
<span class="title text-2xl">ANGULAR HUB</span>
13+
<span class="title text-xl sm:text-2xl">ANGULAR HUB</span>
1514
</a>
1615
<div class="flex-1 hidden lg:block">
1716
<ul class="flex gap-1">
@@ -49,10 +48,11 @@
4948
(click)="installPwa()"
5049
label="Install"
5150
[outlined]="true"
51+
size="small"
5252
/>
5353
}
5454
<a
55-
class="p-button p-button-outlined mr-2 sm:mr-4 hidden sm:block"
55+
class="p-button p-button-outlined p-button-sm mr-2 sm:mr-4 hidden lg:block"
5656
href="https://github.com/angular-sanctuary/angular-hub"
5757
target="_blank"
5858
aria-label="Link to GitHub repository"

0 commit comments

Comments
 (0)