nadjascodejourney / birdsOfPrey-Project

This is a personal project repository for a website dedicated to birds of prey. This project is currently under development and is being built as a side project alongside my studies.
0 stars 0 forks source link

Filestructure_Revision of the file structure and better component splitting #4

Open nadjascodejourney opened 5 months ago

nadjascodejourney commented 5 months ago

Initially, only a styled component was created for the home component in order to write the css styles for the homepage there. However, as the process progressed, it became clear that the elements needed to be better and more clearly divided. For this reason, separate components are to be created for the individual building blocks of the homepage and corresponding styled components written.

nadjascodejourney commented 5 months ago

Currently I have this structure:

<HomeStyle>
  <HomeLandingComponent />
  <HomeBirdMenu />
</HomeStyle>

There is only one component for the styles for all of the components here (HomeStyle from "../components/HomeStyledComponent"). I have to split this up, so that at least every one of them has its own styled component. This will enhance readability and I´ll find classes and styles more quickly.