Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theres & Carol movies project #311

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Conversation

cpz-crafts
Copy link

No description provided.

@cpz-crafts
Copy link
Author

Copy link

@EmmaEngvall EmmaEngvall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
Well done on this project! The code looks nice and is easy to follow. We really appreciate the loading popcorn and that you have included video-preview on the details-page.

You have done a really good job and exceeded the blue box goals. You should be proud!

.finally(() => {
setTimeout(() => {
setLoading(false);
}, 2600);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice with the setLoading so that the user has time to appreciate the popcorn.

<nav>
<p>
<NavLink to="/">
<img className="home-btn " src="/logos/home.png" alt="home-button" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks nice with a home button, easy for the user to understand.

</p>
</nav>
<p className="options">
<Link to="/"><h1>New Releases</h1></Link>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice that you managed to do stretch goals and link to multiple pages.

<section alt={movieDetails.title} className="background-img" style={{ backgroundImage: `linear-gradient(180deg, rgba(0,0,0,0) 70%, rgba(0,0,0,1) 100%), url(https://image.tmdb.org/t/p/w1280${movieDetails.backdrop_path})` }}>
<container className="all-info">
{/* <img className="details-img" src={`https://image.tmdb.org/t/p/w342${movieDetails.poster_path} `} alt={movieDetails.title} /> */}
<Trailer />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool that you have inserted the Trailer-component here!

import React from 'react';
import Header from './Header';

const NotFound = () => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good that you have included an 404 message.

.then((res) => res.json())
.then((data) => {
setTrailer(data.results[0].key)
console.log('HDEREEEEEEEE')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps remove console.logs.

return (
<div>
<iframe
title="Movie Trailer"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool that you have included video media. The "allow" was something new for us.

align-items: flex-end;
gap: 30px;
text-shadow: 1px 1px #4d4d4d;
animation-name: slicing;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice styling of animation!


/*------- Media Q ------*/

@media only screen and (max-width: 600px) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Responsiveness looks good!

left: 0;
width: 100%;
height: auto;
animation: explode 1s linear forwards; /* Increase the animation duration */

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great animation, it made us happy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants