feat: add users page
This commit is contained in:
@@ -66,48 +66,7 @@ const mediaTotalPages = computed(() => {
|
||||
});
|
||||
|
||||
// Sample media data - in a real app, this would come from an API
|
||||
const mediaItems = ref([
|
||||
{
|
||||
id: 1,
|
||||
fileName: 'sunset-beach.jpg',
|
||||
fileType: 'Image',
|
||||
thumbnailUrl: 'https://via.placeholder.com/300x225',
|
||||
fileSize: '2.4 MB',
|
||||
uploadTime: 'Today, 10:30 AM'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
fileName: 'presentation.pdf',
|
||||
fileType: 'PDF',
|
||||
thumbnailUrl: null,
|
||||
fileSize: '4.8 MB',
|
||||
uploadTime: 'Yesterday, 3:45 PM'
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
fileName: 'promo_video.mp4',
|
||||
fileType: 'Video',
|
||||
thumbnailUrl: null,
|
||||
fileSize: '24.8 MB',
|
||||
uploadTime: 'Aug 28, 2023'
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
fileName: 'report_q3.docx',
|
||||
fileType: 'Document',
|
||||
thumbnailUrl: null,
|
||||
fileSize: '1.2 MB',
|
||||
uploadTime: 'Aug 25, 2023'
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
fileName: 'podcast_interview.mp3',
|
||||
fileType: 'Audio',
|
||||
thumbnailUrl: null,
|
||||
fileSize: '18.5 MB',
|
||||
uploadTime: 'Aug 20, 2023'
|
||||
}
|
||||
]);
|
||||
const mediaItems = ref([]);
|
||||
|
||||
// Fetch post data by ID
|
||||
const fetchPost = async (id) => {
|
||||
|
||||
Reference in New Issue
Block a user