@extends('layouts.app-admin') @section('content')

Draft Songs

@php $songTitles = [ 'Unreleased Track 1', 'Coming Soon', 'New Single', 'Next Hit', 'Upcoming Release', 'Studio Session', 'Work in Progress', 'Demo Track', 'Sneak Peek', 'Preview', ]; $artists = [ 'The Weeknd', 'Dua Lipa', 'Justin Bieber', 'Lil Nas X', 'Olivia Rodrigo', 'BTS', 'Ed Sheeran', 'Adele', 'Billie Eilish', 'Glass Animals', ]; $genres = ['Pop', 'Rock', 'Hip Hop', 'Electronic', 'Jazz']; $statuses = ['draft', 'review', 'scheduled']; $statusLabels = [ 'draft' => 'Draft', 'review' => 'In Review', 'scheduled' => 'Scheduled', ]; $statusClasses = [ 'draft' => 'bg-secondary', 'review' => 'bg-info', 'scheduled' => 'bg-primary', ]; @endphp @for ($i = 0; $i < 10; $i++) @php $title = $songTitles[$i % count($songTitles)]; $artist = $artists[rand(0, count($artists) - 1)]; $genre = $genres[rand(0, count($genres) - 1)]; $createdDate = date('Y-m-d', strtotime('-' . rand(1, 30) . ' days')); $updatedDate = date('Y-m-d', strtotime('-' . rand(0, 7) . ' days')); $status = $statuses[rand(0, count($statuses) - 1)]; $statusLabel = $statusLabels[$status]; $badgeClass = $statusClasses[$status]; @endphp @endfor
Title Artist Genre Created Date Last Updated Status Actions
{{ $title }}
{{ $artist }} {{ $genre }} {{ $createdDate }} {{ $updatedDate }} {{ $statusLabel }}
@endsection @section('scripts') @endsection