Coding task · Angular course · Module 13: UI and Styling
Practice: BreakpointObserver
BreakpointObserver from the CDK observes media queries, and an object from the same package (@angular/cdk/layout) provides ready-made queries, among others for a phone, a tablet and a desktop. toSignal() turns an Observable into a signal.
Task
Complete the component that reacts to the screen size.