LakeBigHead

Untitled

Apr 3rd, 2023
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. import React from 'react'
  2.  
  3. export default function Location(props) {
  4. return (
  5. <div className="location-card">
  6. <div className="wrapper">
  7. <img src={props.imgUrl} className="location-image" />
  8. <div className="info-wrapper">
  9. <div className="first-wrapper">
  10. <p className="location">{props.location}</p>
  11. <a href={props.googleMapsUrl} className="google-maps-link">View on Google Maps</a>
  12. </div>
  13. </div>
  14. <div className="second-wrapper">
  15. <h1 className="city-name">{props.title}</h1>
  16. <p className="date"><strong>{props.startDate} - {props.endDate}</strong></p>
  17. <p className="description">{props.description}</p>
  18. </div>
  19. </div>
  20. <hr />
  21. </div>
  22. )
  23. }
Advertisement
Add Comment
Please, Sign In to add comment