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

Week 12 – Design Handover – Trista & Nathalie #57

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

Conversation

ohitsnathalie
Copy link

Netlify link

https://the-zumba-hall.netlify.app/

Collaborators

[trista1987]

Copy link

@kathinka kathinka left a comment

Choose a reason for hiding this comment

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

Nathalie and Trista! such a good effort! 👏🏼 the designer must be super happy with this result. I found some small suggestions for improvements, but I guess you would be happy to ignore them all except maybe two of them. Really well done. very clean setup too🤩

<img src={image} alt={alt} className='w-[342px] h-[289px] rounded-[10px]'/>
<div className="flex flex-col gap-y-2">
<h5 className="text-xl">{courseName}</h5>
<p className="text-5xl">{courseInfo}</p>
Copy link

Choose a reason for hiding this comment

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

I had a similar problem as you still have in safari for text - it overflows the container- use "white-space:normal" in order to keep it within the container.

Copy link
Author

Choose a reason for hiding this comment

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

Thank you for the tip. We really need to keep an eye on other browser.

<img src={image} alt={alt} className={imageStyle} />
<div className="flex flex-col gap-y-[8px] md:gap-y-[15px] lg:gap-y-[20px]">
<h3 className=" text-lg md:text-xl ">{instructorName}</h3>
<p className=" lg:text-7xl text-base leading-tight tracking-wide">
Copy link

Choose a reason for hiding this comment

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

same issue in safari as the class description container- use "white-space:normal" in order to keep it within the container.

Copy link

Choose a reason for hiding this comment

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

maybe store the info and images to this section in an object?

Copy link

Choose a reason for hiding this comment

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

maybe store instructor info in an object, so you could just loop over it and keep it more DRY?

Copy link

Choose a reason for hiding this comment

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

there is a lot if images who are huge (several megabytes), the site would preform much faster if the images was compressed and/or also had webp or avif formats.

Copy link

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

Yeah good point. I actually thought about lazy loading the images that are not in the viewport, but were already late with the hand in. Ideally, we would use WebP and lazy loading. Thank you for this input!

return (
<div className="flex flex-row items-center gap-[11px] self-end md:justify-end md:gap-[20px] md:self-start ">
<p className="text-8xl md:text-9xl text-yellow lg:text-lg">
Read more about it{" "}
Copy link

Choose a reason for hiding this comment

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

should this be clickable?

Copy link
Author

Choose a reason for hiding this comment

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

We discussed it with the designer. It's not clickable. At least not for now. Therefore, we didn't put a link behind it.

return (
<div className="flex flex-row items-center gap-[11px] self-end md:justify-end md:gap-[20px] ">
<p className="text-8xl md:text-9xl text-yellow lg:text-lg">
Read more about it{" "}
Copy link

Choose a reason for hiding this comment

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

same as middlereadmore - i miss some feedback in order to see that this is clickable.

import smallTraining from "/valueImg/smallTraining.png"

export const ValueCards = () => {
return (
Copy link

Choose a reason for hiding this comment

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

could it be smart to store the data needed in a separate object, and then just loop through it to render the content to keep it a bit more DRY?

The Zumba Hall
</h1>
<p className="mx-[24px] mb-3 mt-[8px] leading-tight md:mb-6 md:text-base lg:mb-7 lg:mt-1 lg:text-3xl">
Join our training centre and get fit through{" "}
Copy link
Author

Choose a reason for hiding this comment

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

no it's just for the gap between "through" and "Dance"

@@ -0,0 +1,37 @@
import { useState } from "react";

export const FindUsButton = () => {
Copy link

Choose a reason for hiding this comment

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

These buttons seems the same except for the copy - why make two different versions?

Copy link
Author

Choose a reason for hiding this comment

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

They are almost the same. But yeah we could have just pass the content into the button element, but you know. We went the easy route 😉

The Zumba Hall
</h1>
<p className="mx-[24px] mb-3 mt-[8px] leading-tight md:mb-6 md:text-base lg:mb-7 lg:mt-1 lg:text-3xl">
Join our training centre and get fit through{" "}
Copy link
Author

Choose a reason for hiding this comment

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

no it's just for the gap between "through" and "Dance"

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.

Hello Nathalie and Trista, congratulations for completing your week 12 project. It looks ✨ awesome ✨ The site looks very close to the design and followed our requirements. How did you like Tailwind? Seems like you tackled it in the right way and implemented a great result! Would have been nice to see the carousel used rather than the scrollable section, maybe it's something you can improve on a second iteration of your implementation.
Good job nailing accessibility and responsiveness, kudos! 👏

@@ -11,16 +11,26 @@
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react-dom": "^18.2.0",
"react-responsive-carousel": "^3.2.23",

Choose a reason for hiding this comment

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

please remove the installed packages if unused 🧹

Copy link
Author

Choose a reason for hiding this comment

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

We didn't have the time to make a proper carousel. Therefore, the fastest way was the horizontal scroll. We talked with the designer about it, and it was okay for her.
We might consider adding a carousel when we find the time to change it.

Tailwind itself was fun. It made sense to us to use Tailwind. It's nice to add something new to our skill set.

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.

4 participants