Browse Source
🌟 Initialized project with photo data
🌟 Initialized project with photo data
🚀 Added amenity icons to demo data 📷 Created image gallery data 🛠️ Set up project configuration 🚧 Updated project dependencies 🎨 Styled image gallery components 🐛 Fixed minor bugs in code 📝 Added project documentation 🧪 Performed code testing and optimizationmain
John Doe
1 year ago
1 changed files with 71 additions and 0 deletions
@ -0,0 +1,71 @@ |
|||
import { ListingGalleryImage } from "@/components/listing-image-gallery/utils/types"; |
|||
|
|||
export const PHOTOS: string[] = [ |
|||
"https://images.pexels.com/photos/6129967/pexels-photo-6129967.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260", |
|||
"https://images.pexels.com/photos/7163619/pexels-photo-7163619.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260", |
|||
"https://images.pexels.com/photos/6527036/pexels-photo-6527036.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260", |
|||
"https://images.pexels.com/photos/6969831/pexels-photo-6969831.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260", |
|||
"https://images.pexels.com/photos/6438752/pexels-photo-6438752.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260", |
|||
"https://images.pexels.com/photos/1320686/pexels-photo-1320686.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260", |
|||
"https://images.pexels.com/photos/261394/pexels-photo-261394.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260", |
|||
"https://images.pexels.com/photos/2861361/pexels-photo-2861361.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260", |
|||
"https://images.pexels.com/photos/2677398/pexels-photo-2677398.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260", |
|||
"https://images.pexels.com/photos/1365425/pexels-photo-1365425.jpeg?auto=compress&cs=tinysrgb&w=1600", |
|||
"https://images.pexels.com/photos/914128/pexels-photo-914128.jpeg?auto=compress&cs=tinysrgb&w=1600", |
|||
"https://images.pexels.com/photos/840667/pexels-photo-840667.jpeg?auto=compress&cs=tinysrgb&w=1600", |
|||
"https://images.pexels.com/photos/732632/pexels-photo-732632.jpeg?auto=compress&cs=tinysrgb&w=1600", |
|||
"https://images.pexels.com/photos/450062/pexels-photo-450062.jpeg?auto=compress&cs=tinysrgb&w=1600", |
|||
"https://images.pexels.com/photos/917510/pexels-photo-917510.jpeg?auto=compress&cs=tinysrgb&w=1600", |
|||
"https://images.pexels.com/photos/1194233/pexels-photo-1194233.jpeg?auto=compress&cs=tinysrgb&w=1600", |
|||
"https://images.pexels.com/photos/236973/pexels-photo-236973.jpeg?auto=compress&cs=tinysrgb&w=1600", |
|||
"https://images.pexels.com/photos/1392099/pexels-photo-1392099.jpeg?auto=compress&cs=tinysrgb&w=1600", |
|||
"https://images.pexels.com/photos/547116/pexels-photo-547116.jpeg?auto=compress&cs=tinysrgb&w=1600", |
|||
"https://images.pexels.com/photos/1002272/pexels-photo-1002272.jpeg?auto=compress&cs=tinysrgb&w=1600", |
|||
"https://images.pexels.com/photos/917511/pexels-photo-917511.jpeg?auto=compress&cs=tinysrgb&w=1600", |
|||
"https://images.pexels.com/photos/771079/pexels-photo-771079.jpeg?auto=compress&cs=tinysrgb&w=1600", |
|||
"https://images.pexels.com/photos/13461077/pexels-photo-13461077.jpeg?auto=compress&cs=tinysrgb&w=1600&lazy=load", |
|||
"https://images.pexels.com/photos/9074921/pexels-photo-9074921.jpeg?auto=compress&cs=tinysrgb&w=1600&lazy=load", |
|||
"https://images.pexels.com/photos/9336042/pexels-photo-9336042.jpeg?auto=compress&cs=tinysrgb&w=1600&lazy=load", |
|||
"https://images.pexels.com/photos/5418318/pexels-photo-5418318.jpeg?auto=compress&cs=tinysrgb&w=1600&lazy=load", |
|||
"https://images.pexels.com/photos/4815278/pexels-photo-4815278.jpeg?auto=compress&cs=tinysrgb&w=1600&lazy=load", |
|||
"https://images.pexels.com/photos/1365425/pexels-photo-1365425.jpeg?auto=compress&cs=tinysrgb&w=1600", |
|||
]; |
|||
|
|||
export const Amenities_demos = [ |
|||
{ name: "la-key", icon: "la-key" }, |
|||
{ name: "la-luggage-cart", icon: "la-luggage-cart" }, |
|||
{ name: "la-shower", icon: "la-shower" }, |
|||
{ name: "la-smoking", icon: "la-smoking" }, |
|||
{ name: "la-snowflake", icon: "la-snowflake" }, |
|||
{ name: "la-spa", icon: "la-spa" }, |
|||
{ name: "la-suitcase", icon: "la-suitcase" }, |
|||
{ name: "la-suitcase-rolling", icon: "la-suitcase-rolling" }, |
|||
{ name: "la-swimmer", icon: "la-swimmer" }, |
|||
{ name: "la-swimming-pool", icon: "la-swimming-pool" }, |
|||
{ name: "la-tv", icon: "la-tv" }, |
|||
{ name: "la-umbrella-beach", icon: "la-umbrella-beach" }, |
|||
{ name: "la-utensils", icon: "la-utensils" }, |
|||
{ name: "la-wheelchair", icon: "la-wheelchair" }, |
|||
{ name: "la-wifi", icon: "la-wifi" }, |
|||
{ name: "la-baby-carriage", icon: "la-baby-carriage" }, |
|||
{ name: "la-bath", icon: "la-bath" }, |
|||
{ name: "la-bed", icon: "la-bed" }, |
|||
{ name: "la-briefcase", icon: "la-briefcase" }, |
|||
{ name: "la-car", icon: "la-car" }, |
|||
{ name: "la-cocktail", icon: "la-cocktail" }, |
|||
{ name: "la-coffee", icon: "la-coffee" }, |
|||
{ name: "la-concierge-bell", icon: "la-concierge-bell" }, |
|||
{ name: "la-dice", icon: "la-dice" }, |
|||
{ name: "la-dumbbell", icon: "la-dumbbell" }, |
|||
{ name: "la-hot-tub", icon: "la-hot-tub" }, |
|||
{ name: "la-infinity", icon: "la-infinity" }, |
|||
]; |
|||
|
|||
export const imageGallery: ListingGalleryImage[] = [...PHOTOS].map( |
|||
(item, index): ListingGalleryImage => { |
|||
return { |
|||
id: index, |
|||
url: item, |
|||
}; |
|||
} |
|||
); |
Write
Preview
Loading…
Cancel
Save
Reference in new issue