Contact form UI
This commit is contained in:
@@ -18,3 +18,21 @@ export const galleryImageUrl = img =>
|
||||
|
||||
export const listingImageUrl = img =>
|
||||
img && img.replace('upload/', 'upload/w_205/')
|
||||
|
||||
export const defaultContactMessage = (url) => {
|
||||
return `Pozdrav,
|
||||
|
||||
Našao/Našla sam vaš oglas na portalu Kivi za sljedeću nekretninu:
|
||||
|
||||
${url}
|
||||
|
||||
Želim da me kontaktirate kako bih dobio/dobila više informacija.
|
||||
|
||||
S poštovanjem
|
||||
`
|
||||
}
|
||||
|
||||
export const listingUrl = (id) => {
|
||||
// TODO: fix this once removing hardcoded values
|
||||
return `http://localhost:8080/?listingId=${id}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user