Contact form UI

This commit is contained in:
Edin Dazdarevic
2017-04-12 13:08:06 +02:00
parent 8792abcd9f
commit 6a4c02d01a
6 changed files with 257 additions and 31 deletions

View File

@@ -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}`
}