Skip to content

Commit

Permalink
Fix image path
Browse files Browse the repository at this point in the history
  • Loading branch information
sisidovski committed Apr 4, 2022
1 parent 5339085 commit 3c96347
Show file tree
Hide file tree
Showing 16 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions pages/api/fruits/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
const fruits = [
{
name: 'bananas',
image: '/anastasia-eremina-VI2rIoZUrks-unsplash.jpg',
image: '/images/anastasia-eremina-VI2rIoZUrks-unsplash.jpg',
ammountPer: '100 grams',
nutrition: {
Calories: 89,
Expand All @@ -31,7 +31,7 @@ const fruits = [
},
{
name: 'apples',
image: '/tuqa-nabi-71JHj_t-kS0-unsplash.jpg',
image: '/images/tuqa-nabi-71JHj_t-kS0-unsplash.jpg',
ammountPer: '100 grams',
nutrition: {
Calories: 52,
Expand All @@ -45,7 +45,7 @@ const fruits = [
},
{
name: 'strawberries',
image: '/olga-kudriavtseva-CL26_lT3Ygg-unsplash.jpg',
image: '/images/olga-kudriavtseva-CL26_lT3Ygg-unsplash.jpg',
ammountPer: '100 grams',
nutrition: {
Calories: 33,
Expand All @@ -59,7 +59,7 @@ const fruits = [
},
{
name: 'grapes',
image: '/gunter-hoffmann-LYaW8eq3mjs-unsplash.jpg',
image: '/images/gunter-hoffmann-LYaW8eq3mjs-unsplash.jpg',
ammountPer: '100 grams',
nutrition: {
Calories: 67,
Expand All @@ -73,7 +73,7 @@ const fruits = [
},
{
name: 'oranges',
image: '/mae-mu-9002s2VnOAY-unsplash.jpg',
image: '/images/mae-mu-9002s2VnOAY-unsplash.jpg',
ammountPer: '100 grams',
nutrition: {
Calories: 47,
Expand All @@ -87,7 +87,7 @@ const fruits = [
},
{
name: 'watermelon',
image: '/floh-maier-aFUHu9WNO3Q-unsplash.jpg',
image: '/images/floh-maier-aFUHu9WNO3Q-unsplash.jpg',
ammountPer: '100 grams',
nutrition: {
Calories: 30,
Expand All @@ -101,7 +101,7 @@ const fruits = [
},
{
name: 'blueberries',
image: '/davies-designs-studio-34lgO8_OO-o-unsplash.jpg',
image: '/images/davies-designs-studio-34lgO8_OO-o-unsplash.jpg',
ammountPer: '100 grams',
nutrition: {
Calories: 57,
Expand Down
14 changes: 7 additions & 7 deletions pages/api/vegetables/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
const vegetables = [
{
name: 'carrots',
image: '/louis-hansel-Iu3oWcTi0a4-unsplash.jpg',
image: '/images/louis-hansel-Iu3oWcTi0a4-unsplash.jpg',
ammountPer: '100 grams',
nutrition: {
Calories: 41,
Expand All @@ -31,7 +31,7 @@ const vegetables = [
},
{
name: 'potatoes',
image: '/lars-blankers-B0s3Xndk6tw-unsplash.jpg',
image: '/images/lars-blankers-B0s3Xndk6tw-unsplash.jpg',
ammountPer: '100 grams',
nutrition: {
Calories: 77,
Expand All @@ -45,7 +45,7 @@ const vegetables = [
},
{
name: 'tomatoes',
image: '/josephine-baran-g4wzhY8qiMw-unsplash.jpg',
image: '/images/josephine-baran-g4wzhY8qiMw-unsplash.jpg',
ammountPer: '100 grams',
nutrition: {
Calories: 18,
Expand All @@ -59,7 +59,7 @@ const vegetables = [
},
{
name: 'onions',
image: '/mayu-ken-CNZ-9s5p2i8-unsplash.jpg',
image: '/images/mayu-ken-CNZ-9s5p2i8-unsplash.jpg',
ammountPer: '100 grams',
nutrition: {
Calories: 40,
Expand All @@ -73,7 +73,7 @@ const vegetables = [
},
{
name: 'lettuce',
image: '/petr-magera-YLeRHRiRgts-unsplash.jpg',
image: '/images/petr-magera-YLeRHRiRgts-unsplash.jpg',
ammountPer: '100 grams',
nutrition: {
Calories: 15,
Expand All @@ -87,7 +87,7 @@ const vegetables = [
},
{
name: 'broccoli',
image: '/louis-hansel-LpHYbY6Qu_o-unsplash.jpg',
image: '/images/louis-hansel-LpHYbY6Qu_o-unsplash.jpg',
ammountPer: '100 grams',
nutrition: {
Calories: 39,
Expand All @@ -100,7 +100,7 @@ const vegetables = [
},
{
name: 'corn',
image: '/wouter-supardi-salari-HE_MjmWh9eQ-unsplash.jpg',
image: '/images/wouter-supardi-salari-HE_MjmWh9eQ-unsplash.jpg',
ammountPer: '100 grams',
nutrition: {
Calories: 86,
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 3c96347

Please sign in to comment.