-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.eslintcache
1 lines (1 loc) · 34.5 KB
/
.eslintcache
1
[{"F:\\Proyectos personales\\disneyplus-clone\\src\\index.jsx":"1","F:\\Proyectos personales\\disneyplus-clone\\src\\App.jsx":"2","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Header\\index.jsx":"3","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Home\\index.jsx":"4","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\BrandPage\\index.jsx":"5","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\DetailPage\\index.jsx":"6","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\SearchPage\\index.jsx":"7","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Footer\\index.jsx":"8","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Header\\Header.jsx":"9","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\BrandPage\\BrandPage.jsx":"10","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\DetailPage\\DetailPage.jsx":"11","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Home\\Home.jsx":"12","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\SearchPage\\SearchPage.jsx":"13","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Footer\\Footer.jsx":"14","F:\\Proyectos personales\\disneyplus-clone\\src\\requests.jsx":"15","F:\\Proyectos personales\\disneyplus-clone\\src\\utils.jsx":"16","F:\\Proyectos personales\\disneyplus-clone\\src\\hooks\\useDetailPage.jsx":"17","F:\\Proyectos personales\\disneyplus-clone\\src\\hooks\\useSearch.jsx":"18","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\SingleRow\\index.jsx":"19","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Navbar\\index.jsx":"20","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\UserSelector\\index.jsx":"21","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\MovieCard\\index.jsx":"22","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Collections\\index.jsx":"23","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\MoviesRows\\index.jsx":"24","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\ImageSlider\\index.jsx":"25","F:\\Proyectos personales\\disneyplus-clone\\src\\axios.jsx":"26","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\SingleRow\\SingleRow.jsx":"27","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\MovieCard\\MovieCard.jsx":"28","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Navbar\\Navbar.jsx":"29","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\MoviesRows\\MoviesRows.jsx":"30","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\UserSelector\\UserSelector.jsx":"31","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Collections\\Collections.jsx":"32","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\ImageSlider\\ImageSlider.jsx":"33","F:\\Proyectos personales\\disneyplus-clone\\src\\hooks\\useSingleRow.jsx":"34","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Logo\\index.jsx":"35","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\CollectionsCard\\index.jsx":"36","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Logo\\Logo.jsx":"37","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\CollectionsCard\\CollectionsCard.jsx":"38"},{"size":153,"mtime":1620866860602,"results":"39","hashOfConfig":"40"},{"size":1136,"mtime":1620866860152,"results":"41","hashOfConfig":"40"},{"size":37,"mtime":1620866860387,"results":"42","hashOfConfig":"40"},{"size":35,"mtime":1620866860400,"results":"43","hashOfConfig":"40"},{"size":40,"mtime":1620866860200,"results":"44","hashOfConfig":"40"},{"size":41,"mtime":1620866860349,"results":"45","hashOfConfig":"40"},{"size":41,"mtime":1620866860528,"results":"46","hashOfConfig":"40"},{"size":37,"mtime":1620866860360,"results":"47","hashOfConfig":"40"},{"size":314,"mtime":1620866860384,"results":"48","hashOfConfig":"40"},{"size":3197,"mtime":1620866860195,"results":"49","hashOfConfig":"40"},{"size":6807,"mtime":1620866860327,"results":"50","hashOfConfig":"40"},{"size":437,"mtime":1620866860395,"results":"51","hashOfConfig":"40"},{"size":1096,"mtime":1620866860525,"results":"52","hashOfConfig":"40"},{"size":729,"mtime":1620866860356,"results":"53","hashOfConfig":"40"},{"size":1588,"mtime":1627048139813,"results":"54","hashOfConfig":"40"},{"size":3520,"mtime":1627048089741,"results":"55","hashOfConfig":"40"},{"size":1152,"mtime":1620866860568,"results":"56","hashOfConfig":"40"},{"size":655,"mtime":1620866860572,"results":"57","hashOfConfig":"40"},{"size":40,"mtime":1620866860545,"results":"58","hashOfConfig":"40"},{"size":37,"mtime":1620866860514,"results":"59","hashOfConfig":"40"},{"size":43,"mtime":1620866860562,"results":"60","hashOfConfig":"40"},{"size":40,"mtime":1620866860467,"results":"61","hashOfConfig":"40"},{"size":39,"mtime":1620866860232,"results":"62","hashOfConfig":"40"},{"size":41,"mtime":1620866860500,"results":"63","hashOfConfig":"40"},{"size":42,"mtime":1620866860443,"results":"64","hashOfConfig":"40"},{"size":139,"mtime":1620866860155,"results":"65","hashOfConfig":"40"},{"size":1246,"mtime":1620866860541,"results":"66","hashOfConfig":"40"},{"size":1816,"mtime":1620866860463,"results":"67","hashOfConfig":"40"},{"size":1913,"mtime":1620866860511,"results":"68","hashOfConfig":"40"},{"size":1042,"mtime":1620866860497,"results":"69","hashOfConfig":"40"},{"size":472,"mtime":1620866860557,"results":"70","hashOfConfig":"40"},{"size":2942,"mtime":1620866860208,"results":"71","hashOfConfig":"40"},{"size":776,"mtime":1620866860439,"results":"72","hashOfConfig":"40"},{"size":437,"mtime":1620866860577,"results":"73","hashOfConfig":"40"},{"size":35,"mtime":1620866860453,"results":"74","hashOfConfig":"40"},{"size":44,"mtime":1620866860276,"results":"75","hashOfConfig":"40"},{"size":320,"mtime":1620866860450,"results":"76","hashOfConfig":"40"},{"size":738,"mtime":1620866860268,"results":"77","hashOfConfig":"40"},{"filePath":"78","messages":"79","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},"n78u29",{"filePath":"81","messages":"82","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"83","messages":"84","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"95","messages":"96","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"97","messages":"98","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"99","messages":"100","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":"101","usedDeprecatedRules":"80"},{"filePath":"102","messages":"103","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"104","messages":"105","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"106","messages":"107","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"108","usedDeprecatedRules":"80"},{"filePath":"109","messages":"110","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"111","messages":"112","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"113","messages":"114","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"115","usedDeprecatedRules":"80"},{"filePath":"116","messages":"117","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"118","usedDeprecatedRules":"80"},{"filePath":"119","messages":"120","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"121","messages":"122","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"123","messages":"124","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"125","messages":"126","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"127","messages":"128","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"129","messages":"130","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"131","messages":"132","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"133","messages":"134","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"135","messages":"136","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"137","usedDeprecatedRules":"80"},{"filePath":"138","messages":"139","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"140","usedDeprecatedRules":"80"},{"filePath":"141","messages":"142","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"143","usedDeprecatedRules":"80"},{"filePath":"144","messages":"145","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"146","messages":"147","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"148","messages":"149","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"150","messages":"151","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"152","usedDeprecatedRules":"80"},{"filePath":"153","messages":"154","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"155","usedDeprecatedRules":"80"},{"filePath":"156","messages":"157","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"158","messages":"159","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"160","messages":"161","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"80"},{"filePath":"162","messages":"163","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"164"},"F:\\Proyectos personales\\disneyplus-clone\\src\\index.jsx",[],["165","166"],"F:\\Proyectos personales\\disneyplus-clone\\src\\App.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Header\\index.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Home\\index.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\BrandPage\\index.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\DetailPage\\index.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\SearchPage\\index.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Footer\\index.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Header\\Header.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\BrandPage\\BrandPage.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\DetailPage\\DetailPage.jsx",["167","168","169","170","171"],"import React, { useState, useEffect } from \"react\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport Slider from \"react-slick\";\r\nimport PlayArrowIcon from \"@material-ui/icons/PlayArrow\";\r\nimport IconButton from \"@material-ui/core/IconButton\";\r\nimport AddIcon from \"@material-ui/icons/Add\";\r\nimport GroupIcon from \"@material-ui/icons/Group\";\r\nimport MovieCard from \"../MovieCard\";\r\nimport AppBar from \"@material-ui/core/AppBar\";\r\nimport Tabs from \"@material-ui/core/Tabs\";\r\nimport Tab from \"@material-ui/core/Tab\";\r\nimport Box from \"@material-ui/core/Box\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport { apiKey, sliderConfig } from \"../../utils\";\r\nimport useDetailPage from \"../../hooks/useDetailPage\";\r\nimport \"slick-carousel/slick/slick.css\";\r\nimport \"slick-carousel/slick/slick-theme.css\";\r\nimport \"./DetailPage.css\";\r\nimport \"../SingleRow/SingleRow.css\";\r\nfunction TabPanel(props) {\r\n const { children, value, index, ...other } = props;\r\n return <div {...other}>{value === index && <Box p={3}>{children}</Box>}</div>;\r\n}\r\nconst DetailPage = (props) => {\r\n const movieId = props.match.params.movieId;\r\n const handleChange = (event, newValue) => {\r\n setValue(newValue);\r\n };\r\n const [value, setValue] = useState(0);\r\n const { singleMovie, recommended, videos, cast } = useDetailPage(\r\n movieId,\r\n apiKey\r\n );\r\n return (\r\n <>\r\n <main className=\"detailPage\">\r\n <div className=\"detailPage__background\">\r\n <div className=\"detailPage__overlay\"></div>\r\n <img\r\n src={`https://image.tmdb.org/t/p/w1280/${singleMovie[\"backdrop_path\"]}`}\r\n />\r\n </div>\r\n <div className=\"detailPage__info\">\r\n <div className=\"detailPage__container\">\r\n <h1 className=\"detailPage__title\">{singleMovie[\"title\"]}</h1>\r\n <div className=\"detaiPage__buttons\">\r\n <Button\r\n className=\"detailPage__playBtn\"\r\n startIcon={<PlayArrowIcon />}\r\n >\r\n Watch Now\r\n </Button>\r\n <Button\r\n className=\"detailPage__trailerBtn\"\r\n startIcon={<PlayArrowIcon />}\r\n >\r\n Trailer\r\n </Button>\r\n <IconButton size=\"small\" className=\"detailPage_radialBtn\">\r\n <AddIcon />\r\n </IconButton>\r\n <IconButton size=\"small\" className=\"detailPage_radialBtn\">\r\n <GroupIcon />\r\n </IconButton>\r\n </div>\r\n <div className=\"detailPage__data\">\r\n <span className=\"detailPage__years\">\r\n {singleMovie[\"release_date\"]}\r\n </span>\r\n <span className=\"detailPage__duration\">\r\n {singleMovie[\"runtime\"] + \" minutes\"}\r\n </span>\r\n {Array.isArray(singleMovie.genres) == true\r\n ? singleMovie.genres.map((genre) => (\r\n <span className=\"detailPage__genres\">{genre.name}</span>\r\n ))\r\n : null}\r\n </div>\r\n <div className=\"detailPage__description\">\r\n <p>{singleMovie[\"overview\"]}</p>\r\n </div>\r\n <AppBar className=\"detailPage__tabsHeader\" position=\"static\">\r\n <Tabs value={value} onChange={handleChange}>\r\n <Tab label=\"Suggestions\" />\r\n <Tab label=\"Extras\" />\r\n <Tab label=\"Details\" />\r\n </Tabs>\r\n </AppBar>\r\n <TabPanel className=\"tab__panel\" value={value} index={0}>\r\n <Slider\r\n className=\"singleRow singleRow__slider singleRow__recommendedSlider\"\r\n {...sliderConfig}\r\n >\r\n {recommended.map((recommendedMovie) => (\r\n <MovieCard\r\n id={recommendedMovie.id}\r\n key={recommendedMovie.id}\r\n title={recommendedMovie.title}\r\n poster={recommendedMovie.backdrop_path}\r\n />\r\n ))}\r\n </Slider>\r\n </TabPanel>\r\n <TabPanel className=\"tab__panel\" value={value} index={1}>\r\n {videos.length > 0 ? (\r\n <Slider\r\n className=\"singleRow singleRow__slider singleRow__recommendedSlider youtubeVideos\"\r\n {...sliderConfig}\r\n >\r\n {videos.slice(0, 8).map((video) => (\r\n <iframe\r\n width=\"560\"\r\n height=\"315\"\r\n src={`https://www.youtube.com/embed/${video.key}`}\r\n frameborder=\"0\"\r\n allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\"\r\n allowfullscreen\r\n ></iframe>\r\n ))}\r\n </Slider>\r\n ) : (\r\n <p>There isn´t extra content</p>\r\n )}\r\n </TabPanel>\r\n <TabPanel className=\"tab__panel\" value={value} index={2}>\r\n <div className=\"tab__container\">\r\n <div className=\"tab__mainColumn\">\r\n <h2 className=\"tab__title\">{singleMovie[\"title\"]}</h2>\r\n <p className=\"tab__description\">{singleMovie[\"overview\"]}</p>\r\n </div>\r\n <div className=\"tab__itemsColumn\">\r\n <div className=\"tab_itemSubColumn\">\r\n <div className=\"tab__item\">\r\n <h3 className=\"tab__subtitle\">Duration:</h3>\r\n <p>{singleMovie[\"runtime\"]} minutes</p>\r\n </div>\r\n <div className=\"tab__item\">\r\n <h3 className=\"tab__subtitle\">Release Date:</h3>\r\n <p>{singleMovie[\"release_date\"]}</p>\r\n </div>\r\n </div>\r\n <div className=\"tab__itemSubColumn\">\r\n <div className=\"tab__item\">\r\n <h3 className=\"tab__subtitle\">Genres:</h3>\r\n {Array.isArray(singleMovie.genres) == true\r\n ? singleMovie.genres.map((genre) => <p>{genre.name}</p>)\r\n : null}\r\n </div>\r\n <div className=\"tab__item\">\r\n <h3 className=\"tab__subtitle\">Cast:</h3>\r\n {cast.slice(0, 4).map((actor) => (\r\n <p>{actor.name}</p>\r\n ))}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </TabPanel>\r\n </div>\r\n </div>\r\n </main>\r\n </>\r\n );\r\n};\r\n\r\nexport default withRouter(DetailPage);\r\n","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Home\\Home.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\SearchPage\\SearchPage.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Footer\\Footer.jsx",["172"],"import React from \"react\";\r\nimport \"./Footer.css\";\r\nconst Footer = () => {\r\n return (\r\n <footer>\r\n <p>\r\n Website developed by\r\n <a target=\"_blank\" href=\"https://www.corraditobias.com.ar/\"> Tobías Corradi</a> - No\r\n commercial purporses intended, made only for showing web development techniques and to be included as a piece of portfolio. All copyrights are owned by Disney.<br/>\r\n This product uses the TMDb API but is not endorsed or certified by TMDb.\r\n </p>\r\n <img src=\"https://www.themoviedb.org/assets/2/v4/logos/v2/blue_short-8e7b30f73a4020692ccca9c88bafe5dcb6f8a62a4c6bc55cd9ba82bb2cd95f6c.svg\" alt=\"The Movie Db Logo\"/>\r\n </footer>\r\n );\r\n};\r\n\r\nexport default Footer;\r\n","F:\\Proyectos personales\\disneyplus-clone\\src\\requests.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\utils.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\hooks\\useDetailPage.jsx",["173","174"],"import React, { useState, useEffect } from \"react\";\r\nimport axios from \"../axios\";\r\n\r\nconst useDetailPage = (movieId, apiKey) => {\r\n const [singleMovie, setSingleMovie] = useState([\"\"]);\r\n const [recommended, setRecommended] = useState([\"\"]);\r\n const [videos, setVideos] = useState([\"\"]);\r\n const [cast, setCast] = useState([\"\"]);\r\n\r\n useEffect(() => {\r\n window.scrollTo(0, 0);\r\n axios\r\n .get(`movie/${movieId}?api_key=${apiKey}&append_to_response=videos`)\r\n .then((response) => {\r\n const { data } = response;\r\n setSingleMovie(data);\r\n setVideos(data.videos.results);\r\n });\r\n axios\r\n .get(\r\n `movie/${movieId}/recommendations?api_key=${apiKey}&language=en-US&page=1`\r\n )\r\n .then((response) => {\r\n const { data } = response;\r\n setRecommended(data.results);\r\n });\r\n axios\r\n .get(`movie/${movieId}/credits?api_key=${apiKey}&language=en-US`)\r\n .then((response) => {\r\n const { data } = response;\r\n setCast(data.cast);\r\n });\r\n }, [movieId]);\r\n return { singleMovie, recommended, videos, cast };\r\n};\r\n\r\nexport default useDetailPage;\r\n","F:\\Proyectos personales\\disneyplus-clone\\src\\hooks\\useSearch.jsx",["175","176","177"],"import React, { useState, useEffect } from \"react\";\r\nimport axios from \"axios\";\r\n\r\nconst useSearch = (apiKey) => {\r\n const [query, setQuery] = useState(\"\");\r\n const [searchResults, setSearchResults] = useState([\"\"]);\r\n useEffect(() => {\r\n if (query != \"\") {\r\n axios\r\n .get(\r\n `https://api.themoviedb.org/3/search/movie?api_key=${apiKey}&query=${query}`\r\n )\r\n .then((response) => {\r\n const { data } = response;\r\n setSearchResults(data.results);\r\n console.log(data.results);\r\n });\r\n }\r\n }, [query]);\r\n return { query, searchResults, setQuery };\r\n};\r\nexport default useSearch;\r\n","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\SingleRow\\index.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Navbar\\index.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\UserSelector\\index.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\MovieCard\\index.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Collections\\index.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\MoviesRows\\index.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\ImageSlider\\index.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\axios.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\SingleRow\\SingleRow.jsx",["178","179"],"import React, { useState, useEffect } from \"react\";\r\nimport MovieCard from \"../MovieCard\";\r\nimport Slider from \"react-slick\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport { sliderConfig } from \"../../utils\";\r\nimport Skeleton from \"@material-ui/lab/Skeleton\";\r\nimport useSingleRow from \"../../hooks/useSingleRow\";\r\nimport \"slick-carousel/slick/slick.css\";\r\nimport \"slick-carousel/slick/slick-theme.css\";\r\nimport \"./SingleRow.css\";\r\nconst SingleRow = ({ title, fetchUrl, watching }) => {\r\n const { movies } = useSingleRow(fetchUrl);\r\n return (\r\n <>\r\n {movies.length > 0 ? (\r\n <article className=\"singleRow\">\r\n <h2 className=\"singleRow__title\">{title}</h2>\r\n <Slider className=\"singleRow__slider\" {...sliderConfig}>\r\n {movies.map((movie) => (\r\n <MovieCard\r\n id={movie.id}\r\n key={movie.id}\r\n poster={movie.backdrop_path}\r\n title={movie.title}\r\n watching={watching}\r\n />\r\n ))}\r\n </Slider>\r\n </article>\r\n ) : (\r\n <Skeleton animation=\"wave\" variant=\"rect\" width=\"100%\" height={200} />\r\n )}\r\n </>\r\n );\r\n};\r\n\r\nexport default withRouter(SingleRow);\r\n","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\MovieCard\\MovieCard.jsx",["180","181"],"import React, { useState, useEffect } from \"react\";\r\nimport InfoIcon from \"@material-ui/icons/Info\";\r\nimport PlayCircleFilledWhiteIcon from \"@material-ui/icons/PlayCircleFilledWhite\";\r\nimport { Link } from \"react-router-dom\";\r\nimport \"./MovieCard.css\";\r\nconst MovieCard = ({ id, title, poster, watching }) => {\r\n let timeLeft = Math.floor(Math.random() * 99) + 1;\r\n let barWidth = 100 - timeLeft;\r\n return (\r\n <div className={watching ? \"movieCard watching\" : \"movieCard \"}>\r\n <Link to={`/play/${id}`}>\r\n <div className=\"movieCard__container\">\r\n {poster == null ? (\r\n <span className=\"movieCard__title\">{title}</span>\r\n ) : null}\r\n {watching ? (\r\n <>\r\n <div className=\"movieCard__progressBar\">\r\n <div\r\n style={{ width: barWidth + \"%\" }}\r\n className=\"movieCard__colorBar\"\r\n ></div>\r\n </div>\r\n <div className=\"movieCard__watchingData\">\r\n <h3>{title}</h3>\r\n <div className=\"movieCard__lowerPart\">\r\n <div className=\"movieCard__buttons\">\r\n <InfoIcon />\r\n <PlayCircleFilledWhiteIcon />\r\n </div>\r\n <span className=\"movieCard__timeLeft\">\r\n {timeLeft} min left\r\n </span>\r\n </div>\r\n </div>\r\n </>\r\n ) : null}\r\n <img\r\n className=\"movieCard__poster\"\r\n src={\r\n poster !== null\r\n ? `https://image.tmdb.org/t/p/w500/${poster}`\r\n : \"../noImage.png\"\r\n }\r\n alt={title}\r\n />\r\n </div>\r\n </Link>\r\n </div>\r\n );\r\n};\r\n\r\nexport default MovieCard;\r\n","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Navbar\\Navbar.jsx",["182"],"import React from \"react\";\r\nimport Logo from \"./../Logo\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport HomeIcon from \"@material-ui/icons/Home\";\r\nimport SearchIcon from \"@material-ui/icons/Search\";\r\nimport AddIcon from \"@material-ui/icons/Add\";\r\nimport MenuIcon from \"@material-ui/icons/Menu\";\r\nimport StarIcon from \"@material-ui/icons/Star\";\r\nimport MovieIcon from \"@material-ui/icons/Movie\";\r\nimport TvIcon from \"@material-ui/icons/Tv\";\r\nimport { Link, withRouter } from \"react-router-dom\";\r\n\r\nimport \"./Navbar.css\";\r\nconst Navbar = () => {\r\n return (\r\n <nav className=\"navbar\">\r\n <MenuIcon className=\"navbar__menuIcon\" />\r\n <Link to=\"/\">\r\n <Logo />\r\n </Link>\r\n <ul className=\"navbar__list\">\r\n <li className=\"navbar__buttonWrapper\">\r\n <Button className=\"navbar__button\" startIcon={<HomeIcon />}>\r\n Home\r\n </Button>\r\n </li>\r\n <li className=\"navbar__buttonWrapper\">\r\n <Link to=\"/search\">\r\n <Button className=\"navbar__button\" startIcon={<SearchIcon />}>\r\n Search\r\n </Button>\r\n </Link>\r\n </li>\r\n <li className=\"navbar__buttonWrapper\">\r\n <Button className=\"navbar__button\" startIcon={<AddIcon />}>\r\n Watchlist\r\n </Button>\r\n </li>\r\n <li className=\"navbar__buttonWrapper\">\r\n <Button className=\"navbar__button\" startIcon={<StarIcon />}>\r\n Originals\r\n </Button>\r\n </li>\r\n <li className=\"navbar__buttonWrapper\">\r\n <Button className=\"navbar__button\" startIcon={<MovieIcon />}>\r\n Movies\r\n </Button>\r\n </li>\r\n <li className=\"navbar__buttonWrapper\">\r\n <Button className=\"navbar__button\" startIcon={<TvIcon />}>\r\n Series\r\n </Button>\r\n </li>\r\n </ul>\r\n </nav>\r\n );\r\n};\r\n\r\nexport default Navbar;\r\n","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\MoviesRows\\MoviesRows.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\UserSelector\\UserSelector.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Collections\\Collections.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\ImageSlider\\ImageSlider.jsx",["183","184"],"import React from \"react\";\r\nimport Slider from \"react-slick\";\r\nimport { sliderImages, imageSliderConfig } from \"../../utils\";\r\nimport \"slick-carousel/slick/slick.css\";\r\nimport \"slick-carousel/slick/slick-theme.css\";\r\nimport \"./ImageSlider.css\";\r\nconst imageSlider = () => {\r\n return (\r\n <article>\r\n <Slider className=\"imageSlider\" {...imageSliderConfig}>\r\n {sliderImages.map((image) => (\r\n <div className=\"slider__container\" key={image.id}>\r\n <img className=\"slider__textImage\" src={image.textImage} />\r\n <div class=\"slider__imgContainer\">\r\n <img className=\"slider__img\" src={image.url} />\r\n </div>\r\n </div>\r\n ))}\r\n </Slider>\r\n </article>\r\n );\r\n};\r\n\r\nexport default imageSlider;\r\n","F:\\Proyectos personales\\disneyplus-clone\\src\\hooks\\useSingleRow.jsx",["185"],"import React, { useState, useEffect } from \"react\";\r\nimport axios from \"../axios\";\r\nconst useSingleRow = (fetchUrl) => {\r\n const [movies, setMovies] = useState([]);\r\n useEffect(() => {\r\n async function fetchMovies() {\r\n const request = await axios.get(fetchUrl);\r\n setMovies(request.data.items);\r\n return request;\r\n }\r\n fetchMovies();\r\n }, [fetchUrl]);\r\n return { movies };\r\n};\r\nexport default useSingleRow;\r\n","F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Logo\\index.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\CollectionsCard\\index.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\Logo\\Logo.jsx",[],"F:\\Proyectos personales\\disneyplus-clone\\src\\components\\CollectionsCard\\CollectionsCard.jsx",[],["186","187"],{"ruleId":"188","replacedBy":"189"},{"ruleId":"190","replacedBy":"191"},{"ruleId":"192","severity":1,"message":"193","line":1,"column":27,"nodeType":"194","messageId":"195","endLine":1,"endColumn":36},{"ruleId":"196","severity":1,"message":"197","line":39,"column":11,"nodeType":"198","endLine":41,"endColumn":13},{"ruleId":"199","severity":1,"message":"200","line":73,"column":50,"nodeType":"201","messageId":"202","endLine":73,"endColumn":52},{"ruleId":"203","severity":1,"message":"204","line":111,"column":21,"nodeType":"198","endLine":118,"endColumn":22},{"ruleId":"199","severity":1,"message":"200","line":145,"column":58,"nodeType":"201","messageId":"202","endLine":145,"endColumn":60},{"ruleId":"205","severity":1,"message":"206","line":8,"column":12,"nodeType":"207","endLine":8,"endColumn":27},{"ruleId":"192","severity":1,"message":"208","line":1,"column":8,"nodeType":"194","messageId":"195","endLine":1,"endColumn":13},{"ruleId":"209","severity":1,"message":"210","line":33,"column":6,"nodeType":"211","endLine":33,"endColumn":15,"suggestions":"212"},{"ruleId":"192","severity":1,"message":"208","line":1,"column":8,"nodeType":"194","messageId":"195","endLine":1,"endColumn":13},{"ruleId":"199","severity":1,"message":"213","line":8,"column":15,"nodeType":"201","messageId":"202","endLine":8,"endColumn":17},{"ruleId":"209","severity":1,"message":"210","line":19,"column":6,"nodeType":"211","endLine":19,"endColumn":13,"suggestions":"214"},{"ruleId":"192","severity":1,"message":"215","line":1,"column":17,"nodeType":"194","messageId":"195","endLine":1,"endColumn":25},{"ruleId":"192","severity":1,"message":"193","line":1,"column":27,"nodeType":"194","messageId":"195","endLine":1,"endColumn":36},{"ruleId":"192","severity":1,"message":"215","line":1,"column":17,"nodeType":"194","messageId":"195","endLine":1,"endColumn":25},{"ruleId":"192","severity":1,"message":"193","line":1,"column":27,"nodeType":"194","messageId":"195","endLine":1,"endColumn":36},{"ruleId":"192","severity":1,"message":"216","line":11,"column":16,"nodeType":"194","messageId":"195","endLine":11,"endColumn":26},{"ruleId":"196","severity":1,"message":"197","line":13,"column":13,"nodeType":"198","endLine":13,"endColumn":72},{"ruleId":"196","severity":1,"message":"197","line":15,"column":15,"nodeType":"198","endLine":15,"endColumn":62},{"ruleId":"192","severity":1,"message":"208","line":1,"column":8,"nodeType":"194","messageId":"195","endLine":1,"endColumn":13},{"ruleId":"188","replacedBy":"217"},{"ruleId":"190","replacedBy":"218"},"no-native-reassign",["219"],"no-negated-in-lhs",["220"],"no-unused-vars","'useEffect' is defined but never used.","Identifier","unusedVar","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement","eqeqeq","Expected '===' and instead saw '=='.","BinaryExpression","unexpected","jsx-a11y/iframe-has-title","<iframe> elements must have a unique title property.","react/jsx-no-target-blank","Using target=\"_blank\" without rel=\"noreferrer\" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener","JSXAttribute","'React' is defined but never used.","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'apiKey'. Either include it or remove the dependency array.","ArrayExpression",["221"],"Expected '!==' and instead saw '!='.",["222"],"'useState' is defined but never used.","'withRouter' is defined but never used.",["219"],["220"],"no-global-assign","no-unsafe-negation",{"desc":"223","fix":"224"},{"desc":"225","fix":"226"},"Update the dependencies array to be: [apiKey, movieId]",{"range":"227","text":"228"},"Update the dependencies array to be: [apiKey, query]",{"range":"229","text":"230"},[1048,1057],"[apiKey, movieId]",[567,574],"[apiKey, query]"]