Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Priyanshu471/ad-management/llms.txt

Use this file to discover all available pages before exploring further.

The Creator Media Library is your centralised hub for browsing creative assets within the Ad Management System. Accessible at /creator/library, the page heading reads “Your Content” and renders the shared MultiMediaLibrary component. The library displays a fixed grid of 10 images with category filter buttons and a pagination control. Route: /creator/library

Library Features

The media library is powered by the shared MultiMediaLibrary component from components/Library/index.tsx, which is used by both the Creator and Advertiser portals.

Category Filter Buttons

The top of the page shows four filter buttons: All categories, Images, Logo, and Videos. The buttons are rendered but category filtering is not yet implemented — clicking a button does not change the displayed grid.

Image Grid

Assets are displayed in a responsive grid — 2 columns on mobile and 4 columns on desktop. The grid currently renders 10 static images sourced from Flowbite’s public image CDN.

Category Filter Buttons

The filter bar renders an All categories button followed by one button per category defined in the component:
ButtonIntended Content
All categoriesAll assets regardless of type
ImagesStatic image assets
LogoBrand logo assets
VideosVideo assets
The category buttons do not yet have click handlers that filter the displayed grid. Selecting a category button currently has no effect on the results shown. Filtering behaviour is planned for a future update.

Pagination

The MultiMediaLibrary component calculates totalPages as content / contentPerPage (both set to 10), which evaluates to 1. Pagination controls are rendered but only a single page of results is currently available.

How to Open the Media Library

1

Open the Media Library

Click Media Library in the left sidebar, or navigate directly to /creator/library.
2

Browse the image grid

Scroll through the 10 images displayed in the grid. The grid uses a 2-column layout on mobile and a 4-column layout on desktop.

Shared Component

Both the Advertiser and Creator portals use the same MultiMediaLibrary component from components/Library/index.tsx. The primary difference is the page heading: the Creator library displays “Your Content”. All grid layout and pagination behaviour is identical between the two portals.

Build docs developers (and LLMs) love