Toju Website V2
This commit is contained in:
@@ -4,15 +4,7 @@ import { AdService } from '../../services/ad.service';
|
||||
@Component({
|
||||
selector: 'app-ad-slot',
|
||||
standalone: true,
|
||||
template: `
|
||||
@if (adService.adsEnabled()) {
|
||||
<div class="container mx-auto px-6 py-4">
|
||||
<div class="rounded-lg border border-dashed border-border/50 bg-card/30 min-h-[90px] flex items-center justify-center text-xs text-muted-foreground/50">
|
||||
Advertisement
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
`
|
||||
templateUrl: './ad-slot.component.html'
|
||||
})
|
||||
export class AdSlotComponent {
|
||||
readonly adService = inject(AdService);
|
||||
|
||||
Reference in New Issue
Block a user