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

split HomeBlockProps into TitleBlockProps, HomeBlockProps and ProjectCarouselBlockProps #46

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Seneli
Copy link
Member

@Seneli Seneli commented Nov 29, 2023

No visible changes on the front end.

Just split an overgeneralized HomeBlockProps interface into 3.

Copy link
Contributor

@AdiChops AdiChops left a comment

Choose a reason for hiding this comment

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

do we need 3 interfaces? ProjectCarouselBlockProps is understandable since the slider has different enough content, but do we need both TitleBlockProps and HomeBlockProps? It seems like the only difference is the style attribute and the border attribute in image, which already is optional. I am good with having it either way, it just seems like its an extra interface for a very small difference, so theres a lot of code duplication with the definition of the interfaces

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.

2 participants