The react app will be an image carousel that works like this example: https://fotorama.io/
To create the carousel you must use the following fakeGet function:
// fakeGet.js
| { | |
| "images": [ | |
| "https://d1qwdw9cs0do74.cloudfront.net/149181341/640x480", | |
| "https://d1qwdw9cs0do74.cloudfront.net/149181340/640x480", | |
| "https://d1qwdw9cs0do74.cloudfront.net/149181333/640x480", | |
| "https://d1qwdw9cs0do74.cloudfront.net/149181332/640x480", | |
| "https://d1qwdw9cs0do74.cloudfront.net/149181334/640x480", | |
| "https://d1qwdw9cs0do74.cloudfront.net/149181339/640x480", | |
| "https://d1qwdw9cs0do74.cloudfront.net/149181342/640x480", | |
| "https://d1qwdw9cs0do74.cloudfront.net/149181331/640x480", |
The react app will be an image carousel that works like this example: https://fotorama.io/
To create the carousel you must use the following fakeGet function:
// fakeGet.js
| // Plug in each id into the url below to get the image path: | |
| // https://d1qwdw9cs0do74.cloudfront.net/IMAGE_ID/640x480 | |
| const data = [ | |
| 149181341, | |
| 149181340, | |
| 149181333, | |
| 149181332, | |
| 149181334, | |
| 149181339, | |
| 149181342, |
| {# compara dos numeros, pero la variable "tipo" es string y "t.0" es numero #} | |
| {% if tipo|add:0 == t.0 %} | |
| {% endif %} |