winlinworks / fairbnb

MIT License
1 stars 0 forks source link

Chao: Create Mock Structure #14

Open jameswinegar opened 2 days ago

unnamedsunshine commented 2 days ago

@winlinworks here is what I did. We can add on property rating and review numbers later. They are managed separately in my current code.


const MockProperty = [
  {
    id: 1,
    name: "property-1",
    tagline: "this is property 1",
    location: "Houston, TX",
    image:
      "https://a0.muscache.com/im/pictures/2adf6ef9-e131-431b-a34e-9566e768f509.jpg?im_w=1200",
    price: 314,
  },
  {
    id: 2,
    name: "property-2",
    tagline: "this is property 2",
    location: "Houston, TX",
    image:
      "https://a0.muscache.com/im/pictures/2f53e928-a91e-464c-b69f-14eff28a3b85.jpg?im_w=960",
    price: 263,
  },
  {
    id: 3,
    name: "property-3",
    tagline: "this is property 3",
    location: "Houston, TX",
    image:
      "https://a0.muscache.com/im/pictures/d1db0b4a-9830-42e2-875d-0d41820ca4e3.jpg?im_w=960",
    price: 180,
  },
];

image