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

Portfolio #398

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

Portfolio #398

wants to merge 74 commits into from

Conversation

gittebe
Copy link

@gittebe gittebe commented Nov 4, 2024

@JennieDalgren JennieDalgren self-assigned this Nov 7, 2024
Copy link

@HeleneWestrin HeleneWestrin left a comment

Choose a reason for hiding this comment

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

Fantastic job with the portfolio, Gitte! 🌟 The code was really easy to follow and read. I left a couple of comments on potential improvements, but overall it looks really great.

I can see some things that differ from the design:

  1. The thing that I noticed first is that you didn't add a max-width to the grid. In the design it looks like all sections except projects and the articles follow the grid. Setting max-width: 1084px; and margin: 0 auto; to .grid-section should do the trick. You might have to adjust some other stuff though because of the change.
  2. HeaderTwo has the wrong size on desktop.
  3. The body font-size for the tech stack is too small and it doesn't seem to be a max-width here either. Looking at the design it seems it should span 8 columns of 12 on desktop.
  4. The footer has the wrong layout on desktop. I think it might be because you placed a section inside the .grid-section instead of having the two divs with the footer content as direct children of .grid-section.
  5. Not related to the design, but I think it would be nice to at least add cursor: pointer; to the buttons so that they look clickable when hovering. Some sort of hover state would be nice too.

It was inspiring to look through you code and see how you approached different sections. I might just steal some of it for future projects 👏

Choose a reason for hiding this comment

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

I find the name MediaButton and MediaButtonContainer a bit unclear. To make it more readable I would suggest renaming it to SocialMediaButton, even though that's longer.

src/App.jsx Outdated

Choose a reason for hiding this comment

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

Great structure, so easy on the eyes and mind 😍

Choose a reason for hiding this comment

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

I like your solution for how to enter the data here! I went with a JSON-file, but it feels a bit excessive when there is not that much data, so this was cleaner I think.

Choose a reason for hiding this comment

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

I was expecting to see the map method in the ProjectsSection.jsx and not here in the ProjectCard component. If you ever wanted to make this a reusable component I would suggest moving that logic outside the ProjectCard.jsx and pass the data in via props instead.

Choose a reason for hiding this comment

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

Also noticed a console.log still present in the code. Maybe remove that if you don't need it anymore.

src/App.css Outdated

Choose a reason for hiding this comment

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

It says this file is empty, so maybe you should remove it?


@media(min-width: 1024px) {
.grid-section {
grid-template-columns: (12, 1fr);

Choose a reason for hiding this comment

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

The repeat function is missing in grid-template-columns: (12, 1fr);, so it never gets applied on desktop.

Choose a reason for hiding this comment

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

You seem to be mixing CSS Grid and FlexBox attributes here in a way that I am not sure actually works. In the browser it looks like .bio-header { grid-column: span 4; } is not getting applied because the parent is Flex for instance.

Copy link
Contributor

@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 portfolio!
You are meeting all the requirements.
Good structure of your files too.

Stay golden! ⭐️

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