import PropTypes from 'prop-types' import {red, green, grey} from '@material-ui/core/colors' import {AutoRotatingCarousel, Slide} from 'material-auto-rotating-carousel' export default function Carousel({handleOpen, setHandleOpen, isMobile}) { return ( setHandleOpen(false)} onStart={() => setHandleOpen(false)} > } mediaBackgroundStyle={{backgroundColor: grey[900]}} style={{backgroundColor: grey[800]}} title='Bienvenue' subtitle='Voici un rapide tour d’horizon de ce que nous proposons' /> } mediaBackgroundStyle={{backgroundColor: red[400]}} style={{backgroundColor: red[600]}} title='La page "Awtis"' subtitle='Liste les différents artistes par ordre alphabétique.' /> } mediaBackgroundStyle={{backgroundColor: green[400]}} style={{backgroundColor: green[600]}} title='Biographie' subtitle='Disponible en cliquant sur l’artiste. Vous pourrez également consulter ses "teks" via l’icône à côté de son nom.' /> } mediaBackgroundStyle={{backgroundColor: grey[900]}} style={{backgroundColor: grey[800]}} title='Liste des "tèks"' subtitle='Disponible en cliquant sur la flèche en dessous de la photo.' /> } mediaBackgroundStyle={{backgroundColor: red[400]}} style={{backgroundColor: red[600]}} title='La page "Tèks"' subtitle='Regroupe les transcriptions et les traductions disponibles. Si aucun "tèks" n’est sélectionné, la page affiche les 6 derniers publiés sur le site.' /> } mediaBackgroundStyle={{backgroundColor: green[400]}} style={{backgroundColor: green[600]}} title='Liste des "Tèks"' subtitle='La barre latérale gauche permet de sélectionner un "tèks" ou d’effectuer une recherche.' /> } mediaBackgroundStyle={{backgroundColor: grey[900]}} style={{backgroundColor: grey[800]}} title='OKi Mizik' subtitle='Une icône informe de la possibilité d’écouter le morceau directement sur le site.' /> } mediaBackgroundStyle={{backgroundColor: red[400]}} style={{backgroundColor: red[600]}} title='Streaming' subtitle='Vous avez la possiblité de visionner le clip, écouter et/ou télécharger la musique via les plateformes de streaming et de téléchargement.' /> } mediaBackgroundStyle={{backgroundColor: grey[900]}} style={{backgroundColor: grey[800]}} title='Nous contacter' subtitle='Pour toute correction ou suggestion, vous pouvez nous contacter à cette adresse : kontak@o-k-i.net' /> ) } Carousel.propTypes = { handleOpen: PropTypes.bool.isRequired, setHandleOpen: PropTypes.func.isRequired, isMobile: PropTypes.bool.isRequired }