Skip to content

feat(client): unhidden top banner #441

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

Merged
merged 1 commit into from
May 5, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
8 changes: 5 additions & 3 deletions libs/blog/ad-banner/ui/src/lib/top-banner.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ import { Component } from '@angular/core';
<a
class="flex w-full flex-wrap justify-center gap-[5px] px-[10px] py-3 text-[18px] font-medium text-white"
style="background-image: linear-gradient(0.25turn, #fe5758, #8d52fe)"
href="https://www.youtube.com/watch?v=Ygnx8eH4acg"
href="https://meetup.angular.love/spring-camp-2025/?utm_source=angular.loveweb&utm_medium=baner&utm_campaign=angularspringcamp25"
>
<span>
Free Angular Spring Camp with GDEs - 22nd May at 6 PM (CEST) Online!
</span>
<span class="rounded-[4px] bg-white px-[6px] text-[#b10620]">
ANGULAR SPRING CAMP
Register now
</span>
<span>&nbsp;- JOIN LIVE TODAY AT 6 PM (CEST)</span>
</a>
`,
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ import { SearchComponent } from '@angular-love/blog/search/feature-search';
import {
AdImageBanner,
AlBannerCarouselComponent,
TopBannerComponent,
} from '@angular-love/blog/shared/ad-banner';

@Component({
selector: 'al-root-shell',
template: `
<!-- <al-top-banner #topBanner />-->
<al-top-banner #topBanner />
<div class="sticky top-0 z-10 w-full">
<al-header
class="block w-full"
Expand Down Expand Up @@ -51,6 +52,7 @@ import {
SearchComponent,
NgClass,
AlBannerCarouselComponent,
TopBannerComponent,
],
})
export class RootShellComponent {
Expand Down