EU Parliament Monitor — API Documentation - v0.8.49
    Preparing search index...
    • Build the full-width page banner shown below the sticky site header on every page.

      The banner image (banner.webp / banner.jpg) is 1200×400. CSS renders it with object-fit: cover; object-position: center so the middle 80% of the image is always visible and the uninteresting top/bottom 10% may be cropped.

      Parameters

      • pathPrefix: string

        Asset path prefix: '' for root pages, '../' for news/ pages.

      Returns string

      HTML string for the .page-banner element.