25 lines
654 B
TypeScript
25 lines
654 B
TypeScript
import React from 'react';
|
|
import { MediaPageClient } from '@/client-wrapper/MediaPageClient';
|
|
|
|
export default async function TeamsMediaPage() {
|
|
const assets = [
|
|
{ id: 't1', src: '/media/teams/team-1/logo', title: 'Team Logo 1', category: 'teams', dimensions: '1024x1024' },
|
|
{ id: 't2', src: '/media/teams/team-2/logo', title: 'Team Logo 2', category: 'teams', dimensions: '1024x1024' },
|
|
];
|
|
|
|
const categories = [
|
|
{ label: 'Teams', value: 'teams' },
|
|
];
|
|
|
|
return (
|
|
<MediaPageClient
|
|
viewData={{
|
|
assets,
|
|
categories,
|
|
title: 'Team Media',
|
|
description: 'Manage team logos'
|
|
}}
|
|
/>
|
|
);
|
|
}
|