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

Random Acts Of Kindness (R.A.O.K) - Fanny Henriques & Gabriella Iofe #72

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

Conversation

Fannyhenriques
Copy link

Netlify link

https://act-of-kindness.netlify.app/

Collaborators

Fanny Henriques & Gabriella Iofe
GithubName: gabster94

Fannyhenriques and others added 30 commits November 5, 2024 14:37
added content in buttoncomponent and in introcomponent
added a sectiontitle with content in reusable components
finished steps.json and updated reviews
added icon to icaonfolder and imported images and added them to slide…
moved buttoncontent to button.jsx
gabster94 and others added 27 commits November 9, 2024 23:01
desktop- grid for header, title section, flex for cards
added media for slideshow and put stars in a div in the reviewcard
updated styling and solved conflict in sociallinks
@JennieDalgren JennieDalgren self-assigned this Nov 14, 2024
Copy link

@JennieDalgren JennieDalgren 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 with the project.

You have implemented the design in a good way and used styled components and splitting your code into components.

Think about cleaning up your files, for example the indentation is a bit messy and inconsistent in some files.

Also, maybe think about the naming of the components Button1 Button2 etc. Could they be variants of one component? If not, nameing them a bit better would be ideal.

Keep up the good work

Comment on lines +28 to +39
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
position: relative;
max-height: calc(5 * 1.25rem);
line-height: 1.4375rem;

@media (max-width: ${({ theme }) => theme.breakpoints.large}) {
max-height: calc(6 * 1.25rem);
}

Choose a reason for hiding this comment

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

indentation

Comment on lines +53 to +55
display: flex;
flex-direction: row;
color: lightgray;

Choose a reason for hiding this comment

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

indentation

Comment on lines +17 to +25
background-color: ${({ theme }) => theme.backgrounds.highlight};
padding-top: ${({ theme }) => theme.spacing.small};
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
align-self: stretch;
`;

Choose a reason for hiding this comment

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

indentation

Copy link

@gittebe gittebe left a comment

Choose a reason for hiding this comment

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

Well done with this project! The site is responsive and looks great on different screen sizes. Since your challenge was to translate the given design into code, I think you did an excellent job! I especially liked that you worked with different themes for the styling.

I also appreciate how you structured the project into folders like assets, data, components, sections, and styles. It makes it easy to navigate and find the different parts.

One thing I noticed in the Sections folder: Is there a specific reason why the folder "Header" is capitalized, but the other folders are not?

Additionally, I saw that you have both Swedish and English comments in your code. I would suggest using just one language for consistency.

Lastly, I would recommend giving the buttons more descriptive names so they are easier to differentiate.

Overall: Awesome job! 💯

import { FinePrintFooter } from "../../re-components/Typography";
import { SocialLinks, StartTodayButton } from "./SocialLinks";

//Det här är bara relevent om vi börjar styla hela footern. Finns padding i figmadesignen men verkar vara fel padding i SocialLinks isf
Copy link

Choose a reason for hiding this comment

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

Here you switch to Swedish.

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