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

Week12 - design handoff - Yifan&Yia #47

Open
wants to merge 54 commits into
base: main
Choose a base branch
from

Conversation

Yifan-858
Copy link

Netlify link

https://curve-pilates.netlify.app/

Collaborators

[Citronskal]

Copy link

@sofia32057 sofia32057 left a comment

Choose a reason for hiding this comment

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

Great job girls! ⭐️
It's difficult reviewing this week - but from what I know about you guys, I trust that you've followed the design closely. Seems to be working like it should!

Left some comments 🤷‍♀️

Comment on lines +20 to +26
:root {
--main-text-color: #000000;
--secondary-color: #e4dbd2;
--button-static-color: #b3583b;
--button-hover-color: #552a1c;
--button-text-color: #ffffff;
}

Choose a reason for hiding this comment

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

Nice! ⭐️

Comment on lines +62 to +65
<div className="lauch-page">
<NavBar />
<Hero />
</div>

Choose a reason for hiding this comment

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

Could this have been a header?

}
`;

export const Buttons = ({ buttonText, fontSize, paddinglr, width }) => {

Choose a reason for hiding this comment

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

Clever using props like this 🥳

}

//For tablets
@media (min-width: 768px) and (max-width: 1024px) {

Choose a reason for hiding this comment

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

Why is there a gap between smartphones and tablets?

}
`;

//Hard code the class card

Choose a reason for hiding this comment

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

How come you hard coded the card instead of making it reusable?

export const Footer = () => {
return (
<StyledFooter>
<h3 className="footer-title">

Choose a reason for hiding this comment

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

I love that you're using regular class names. Looks so much nicer and makes it easy to read. Totally prefer it!

@@ -0,0 +1,228 @@
import styled from "styled-components";
import buttonData from "../data/Buttons.json";

Choose a reason for hiding this comment

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

wow, smart!

Copy link

@vittoriamatteoli vittoriamatteoli left a comment

Choose a reason for hiding this comment

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

Hey Yifan and Yia,
Just wanted to say great job on working with the UX designer! You guys really nailed bringing her designs to life. You really paid attention to all the details and put in the effort, and it definitely shows! Great job, guys!🤩

export const Buttons = ({ buttonText, fontSize, paddinglr, width }) => {
return (
<StyledButton
onClick={() => console.log(buttonText)}

Choose a reason for hiding this comment

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

This can be removed ?

Comment on lines +202 to +203
paddinglr={windowWidth >= 1024 ? 32 : 16}
width={windowWidth >= 744 ? 70 : windowWidth >= 448 ? 100 : 95}

Choose a reason for hiding this comment

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

nice 🌟

Comment on lines +161 to +257
{/* First Card */}
<StyledCard>
<StyledClassImage src="/class01.png" alt="The Reformer" />
<StyledTextButton>
<StyledClassName>
<span className="class-keyword">The Reformer</span> - challenges
core strength, stability, and balance.
</StyledClassName>
<StyledClassDescription>
<p>
We also offer 1-1 classes. <br />
Suitable for all levels of fitness.
</p>
</StyledClassDescription>
<StyledButtonWrapper>
<Buttons
buttonText="Book Now"
fontSize={15}
paddinglr={windowWidth >= 1024 ? 32 : 16}
width={windowWidth >= 744 ? 70 : windowWidth >= 448 ? 100 : 95}
className="class-button"
/>
</StyledButtonWrapper>
</StyledTextButton>
</StyledCard>

{/* Second Card */}
<StyledCard>
<StyledClassImage src="/class02.png" alt="Get on the Mat" />
<StyledTextButton>
<StyledClassName>
<span className="class-keyword">Get on the Mat</span> - Learn the
fundamentals at your own pace.
</StyledClassName>
<StyledClassDescription>
A great place to start your pilates journey.
</StyledClassDescription>
<StyledButtonWrapper>
<Buttons
buttonText="Book Now"
fontSize={15}
paddinglr={windowWidth >= 1024 ? 32 : 16}
width={windowWidth >= 744 ? 70 : windowWidth >= 448 ? 100 : 95}
className="class-button"
/>
</StyledButtonWrapper>
</StyledTextButton>
</StyledCard>

{/* Third Card */}
<StyledCard>
<StyledClassImage src="/class03.png" alt="Pre and Postnatal" />
<StyledTextButton>
<StyledClassName>
<span className="class-keyword">Pre and Postnatal</span>
</StyledClassName>
<StyledClassDescription>
Gentle exercises to maintain strength, flexibility, and promote
relaxation.
</StyledClassDescription>
<StyledButtonWrapper>
<Buttons
buttonText="Book Now"
fontSize={15}
paddinglr={windowWidth >= 1024 ? 48 : 16}
width={windowWidth >= 744 ? 70 : windowWidth >= 448 ? 100 : 95}
className="class-button"
/>
</StyledButtonWrapper>
</StyledTextButton>
</StyledCard>

{/* Fourth Card */}
<StyledCard>
<StyledClassImage src="/class04.png" alt="On Demand" />
<StyledTextButton>
<StyledClassName>
<span className="class-keyword">On Demand</span> - workout wherever,
whenever, you decide.
</StyledClassName>
<StyledClassDescription>
Live classes online and over 100 pre-recorded sessions.
</StyledClassDescription>
<StyledButtonWrapper>
<Buttons
buttonText="Book Now"
fontSize={15}
paddinglr={windowWidth >= 1024 ? 48 : 16}
width={windowWidth >= 744 ? 70 : windowWidth >= 448 ? 100 : 95}
className="class-button"
/>
</StyledButtonWrapper>
</StyledTextButton>
</StyledCard>
</>
);
};

Choose a reason for hiding this comment

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

Why couldn't you use a unique component instead of creating different cards which have the same structure?

margin-top: 1.5rem;
}
}

Choose a reason for hiding this comment

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

pr
In small devices it's all a bit smashed up :) and the "login it's wrapping" , the text in the button it's not centered

Copy link

@AntonellaMorittu AntonellaMorittu left a comment

Choose a reason for hiding this comment

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

Hi Yifan&Yia, congratulations for completing your week 12 project. It looks very nice! The site looks very close to the design and followed our requirements. How did you like Styled Components? Seems like you tackled it in the right way and implemented a great result! Now the design is not pixel perfect, but that's okay, here's a little things that need to be fixed to get closer to the desired result:

  • Tablet layout doesn’t match the design: especially navbar, our classes, upcoming events and the footer section don't respect the margins and proportions or disposition of elements. Check the proportions and that elements are centered and have appropriate margins/paddings, for example:
Screenshot 2024-05-02 at 11 40 53

Please fix accessibility and you're good to go 🚀 Thank you and again, well done almost there! 💪 🔥

@Yifan-858
Copy link
Author

Hey Antonella&Vittoria&Sofia! Thanks for the reviews. We tried to adjust the details :)

updates (1)

updates (5)
//
//
updates (4)
//
//
updates (2)
//
//
updates (3)

@Yifan-858 Yifan-858 requested a review from AntonellaMorittu May 3, 2024 17:26
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.

5 participants