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

Add CostsSummary component for booking price breakdown. #46

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

Conversation

grabinskij
Copy link
Collaborator

This pull request introduces the CostsSummary component, which calculates and displays a detailed price breakdown for a booking. The component includes the number of nights, long stay discounts, cleaning fee, Airbnb service fee, and the total price. Currently, the data is static, but it will be replaced with dynamic values in the future.

@grabinskij grabinskij self-assigned this Sep 20, 2024
@grabinskij
Copy link
Collaborator Author

In the original Airbnb functionality, clicking on discount titles or nightly costs opens a popup with additional info. I decided not to implement this yet as I'm unsure if it's necessary. However, I can add this feature by Tuesday if needed. Should I proceed?

@grabinskij
Copy link
Collaborator Author

I created a components folder and placed my CostsSummary component inside it. I'm concerned this might lead to merge conflicts if others on the team also create a components folder. To prevent this, should we establish a specific folder structure or naming conventions?

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.

1 participant