Skip to content

Conversation

@Appilistus
Copy link

@@ -1,8 +1,44 @@
import { useEffect } from "react"
import AOS from "aos"
Copy link

Choose a reason for hiding this comment

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

I noticed that this, aos, is a really old library (7 years since last publish). Avoid old packages, this is due to security concerns.

@@ -0,0 +1,15 @@
import { createGlobalStyle } from "styled-components"

export const GlobalStyle = createGlobalStyle`
Copy link

Choose a reason for hiding this comment

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

one thing to note for future projects is to use max-width: 100%; on images in the global styling, then the images wouldnt overflow their parent, like it does in your mobile version :). Like this:

img {
    max-width: 100%;
}

@@ -0,0 +1,6 @@
import styled from "styled-components"
Copy link

Choose a reason for hiding this comment

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

The theme file should be used for general reusable sizes, colors, media queries and such :)

@media (max-width: 744px) {
.slide {
width: 300px !important;
Copy link

Choose a reason for hiding this comment

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

Using !important should be a last resort. In this case, it looks like, you want to override the css from swiper?
Duplicate the classname instead to increases the specificity in order to overwrite it. Like this:

.slide.slide {
    width: 300px;
}

)
}

const imgMap = {
Copy link

Choose a reason for hiding this comment

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

Nice that you use a map of all the images in order to get it via the name in the project object.

Copy link

@Npahlfer Npahlfer left a comment

Choose a reason for hiding this comment

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

Overall good and easy to follow along. I like that you make use of maps to get the images. I would have wanted to see some use of a theme file for colors, media queries and such. Otherwise good job!

Copy link

@julialindstrand julialindstrand left a comment

Choose a reason for hiding this comment

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

Really professional and nice looking portfolio! You got a lot of cool animations and it was never "too much". I really like the color and the readability. It was also a nice and clean code that was easy to understand! Great job! A first class portfolio :D

Choose a reason for hiding this comment

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

The hero looks great and really nice animation! Just a little to much space between the rows of text for my liking but that's individual :)

]
},
{
"title": "Toolebox",

Choose a reason for hiding this comment

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

I think it's an E too much here

Choose a reason for hiding this comment

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

Now I'm nitpicking but according to the design the buttons should be different from eachother but this looks really clean!


// Styled component below

const JourneySection = styled.div`

Choose a reason for hiding this comment

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

Maybe put the articles more centered since they are fewer then the projects? So it looks more intentional :)


// Styled component below

const ContactContainer = styled.div`

Choose a reason for hiding this comment

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

Again a personal preference but maybe it's to wide a gap between the text and the picture?

Choose a reason for hiding this comment

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

In the design there were two different fonts but I don't think its noticeable on your page

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