Design a music player UI with a focus on intuitive queue management. Create an artist…
- User
Design a music player UI with a focus on intuitive queue management. Create an artist profile page with discography, related artists, and community activity feed. Give me all the code in a single html file. feel free to use any library you want using a cdn
Assistant
Below is an example of a simple music player UI with an artist profile page, incorporating the features you've requested. This example uses Bootstrap for styling and layout, and Font Awesome for icons. The code is contained within a single HTML file.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Music Player UI</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"> <style> body { font-family: Arial, sans-serif; } .queue-list { padding: 0; list-style: none; } .queue-list li { padding: 10px; border-bottom: 1px solid #ccc; } .queue-list li:last-child { border-bottom: none; } .artist-profile { padding: 20px; } .discography { margin-top: 20px; } .related-artists img { width: 50px; height: 50px; border-radius: 50%; } .community-activity { margin-top: 20px; } .community-activity .activity-feed { padding: 0; list-style: none; } .community-activity .activity-feed li { padding: 10px; border-bottom: 1px solid #ccc; } .community-activity .activity-feed li:last-child { border-bottom: none; } </style> </head> <body> <div class="container-fluid"> <div class="row"> <!-- Music Player Section --> <div class="col-md-4"> <div class="card mt-3"> <div class="card-body"> <h5 class="card-title">Now Playing</h5> <div class="d-flex justify-content-between align-items-center"> <div> <h6>Song Title</h6> <p>Artist Name</p> </div> <div> <button class="btn btn-sm btn-secondary"><i class="fa-solid fa-backward-step"></i></button> <button class="btn btn-sm btn-primary"><i class="fa-solid fa-play"></i></button> <button class="btn btn-sm btn-secondary"><i class="fa-solid fa-forward-step"></i></button> </div> </div> <div class="mt-3"> <h6>Queue</h6> <ul class="queue-list"> <li> <div class="d-flex justify-content-between align-items-center"> <span>Song 1 - Artist 1</span> <button class="btn btn-sm btn-danger"><i class="fa-solid fa-xmark"></i></button> </div> </li> <li> <div class="d-flex justify-content-between align-items-center"> <span>Song 2 - Artist 2</span> <button class="btn btn-sm btn-danger"><i class="fa-solid fa-xmark"></i></button> </div> </li> <li> <div class="d-flex justify-content-between align-items-center"> <span>Song 3 - Artist 3</span> <button class="btn btn-sm btn-danger"><i class="fa-solid fa-xmark"></i></button> </div> </li> </ul> </div> </div> </div> </div> <!-- Artist Profile Section --> <div class="col-md-8"> <div class="artist-profile"> <div class="d-flex align-items-center"> <img src="https://via.placeholder.com/100" alt="Artist Image" class="rounded-circle me-3"> <div> <h2>Artist Name</h2> <p>Genre: Rock</p> </div> </div> <div class="discography"> <h4>Discography</h4> <ul class="list-group"> <li class="list-group-item d-flex justify-content-between align-items-center"> <span>Album 1 (2020)</span> <button class="btn btn-sm btn-primary">Play</button> </li> <li class="list-group-item d-flex justify-content-between align-items-center"> <span>Album 2 (2018)</span> <button class="btn btn-sm btn-primary">Play</button> </li> <li class="list-group-item d-flex justify-content-between align-items-center"> <span>Album 3 (2015)</span> <button class="btn btn-sm btn-primary">Play</button> </li> </ul> </div> <div class="related-artists mt-3"> <h4>Related Artists</h4> <div class="d-flex"> <div class="me-3 text-center"> <img src="https://via.placeholder.com/50" alt="Related Artist 1"> <p>Artist 1</p> </div> <div class="me-3 text-center"> <img src="https://via.placeholder.com/50" alt="Related Artist 2"> <p>Artist 2</p> </div> <div class="text-center"> <img src="https://via.placeholder.com/50" alt="Related Artist 3"> <p>Artist 3</p> </div> </div> </div> <div class="community-activity"> <h4>Community Activity</h4> <ul class="activity-feed"> <li> <p><strong>User1</strong> commented on <strong>Album 1</strong>: "Great album!"</p> </li> <li> <p><strong>User2</strong> liked <strong>Song 1</strong></p> </li> <li> <p><strong>User3</strong> shared <strong>Album 2</strong> with their friends</p> </li> </ul> </div> </div> </div> </div> </div> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script> </body> </html>This code creates a simple layout with a music player on the left and an artist profile on the right. The music player includes controls for playback and a queue list. The artist profile includes the artist's discography, related artists, and a community activity feed. The design is basic and can be further customized and enhanced as needed.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.