Skip to content

Commit b90e11a

Browse files
feat(client): unhidden top banner (#441)
1 parent 96c5b75 commit b90e11a

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

libs/blog/ad-banner/ui/src/lib/top-banner.component.ts

+5-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ import { Component } from '@angular/core';
66
<a
77
class="flex w-full flex-wrap justify-center gap-[5px] px-[10px] py-3 text-[18px] font-medium text-white"
88
style="background-image: linear-gradient(0.25turn, #fe5758, #8d52fe)"
9-
href="https://www.youtube.com/watch?v=Ygnx8eH4acg"
9+
href="https://meetup.angular.love/spring-camp-2025/?utm_source=angular.loveweb&utm_medium=baner&utm_campaign=angularspringcamp25"
1010
>
11+
<span>
12+
Free Angular Spring Camp with GDEs - 22nd May at 6 PM (CEST) Online!
13+
</span>
1114
<span class="rounded-[4px] bg-white px-[6px] text-[#b10620]">
12-
ANGULAR SPRING CAMP
15+
Register now
1316
</span>
14-
<span>&nbsp;- JOIN LIVE TODAY AT 6 PM (CEST)</span>
1517
</a>
1618
`,
1719
})

libs/blog/shell/feature-shell-web/src/lib/root-shell.component.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ import { SearchComponent } from '@angular-love/blog/search/feature-search';
1616
import {
1717
AdImageBanner,
1818
AlBannerCarouselComponent,
19+
TopBannerComponent,
1920
} from '@angular-love/blog/shared/ad-banner';
2021

2122
@Component({
2223
selector: 'al-root-shell',
2324
template: `
24-
<!-- <al-top-banner #topBanner />-->
25+
<al-top-banner #topBanner />
2526
<div class="sticky top-0 z-10 w-full">
2627
<al-header
2728
class="block w-full"
@@ -51,6 +52,7 @@ import {
5152
SearchComponent,
5253
NgClass,
5354
AlBannerCarouselComponent,
55+
TopBannerComponent,
5456
],
5557
})
5658
export class RootShellComponent {

0 commit comments

Comments
 (0)