Skip to content

Feature: Add Main Layout with mat-toolbar, router-outlet, and Footer #4

@multignite

Description

@multignite

Type of feature

✨ Feature

Description

Create the main layout for the application by adding a mat-toolbar at the top, a router-outlet for dynamic content display in the center, and a footer at the bottom. This will provide a structured layout for consistent navigation and content presentation across all pages.

Tasks:

  1. mat-toolbar

    • Add Angular Material's mat-toolbar at the top of the layout for the application's main header.
    • The toolbar should include the application title and any navigation or action buttons (if necessary).
  2. router-outlet

    • Set up the router-outlet in the center of the layout to dynamically display the routed components based on the active route.
    • Ensure the layout allows the router-outlet to occupy the central portion of the page, with the toolbar at the top and footer at the bottom.
  3. Footer

    • Add a footer component at the bottom of the layout with relevant links or information.
    • Ensure the footer stays at the bottom of the page, even when there’s little content in the router-outlet (sticky footer).

Expected Outcome:

The application should have a consistent layout with a header (mat-toolbar), dynamic content area (router-outlet), and footer. The layout should be responsive, maintaining its structure across different screen sizes.

Additional context

No response

I would be willing to submit a PR to fix this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions