Orcasa-Platform / orcasa

A Horizon Europe project to restore soil earth
https://orcasa-client.vercel.app
MIT License
2 stars 0 forks source link

Feature/home #83

Closed Bluesmile82 closed 11 months ago

Bluesmile82 commented 11 months ago

Create Homepage

Please try this on local as there are some strapi changes

This is the exported data for the HomeStats in strapi. You can import it clicking the import button inside the HomeStat model on the content manager

{ "version": 2, "data": { "api::home-stat.home-stat": { "1": { "id": 1, "title": "Meta-analyses", "value": 208, "class": "bg-green-700", "createdAt": "2023-11-17T10:48:49.285Z", "updatedAt": "2023-11-17T10:48:54.320Z", "publishedAt": "2023-11-17T10:48:54.312Z", "createdBy": null, "updatedBy": null }, "2": { "id": 2, "title": "Projects", "value": 56, "class": "bg-yellow-500", "createdAt": "2023-11-17T10:49:18.205Z", "updatedAt": "2023-11-17T10:49:19.346Z", "publishedAt": "2023-11-17T10:49:19.342Z", "createdBy": null, "updatedBy": null }, "3": { "id": 3, "title": "Datasets", "value": 312, "class": "bg-purple-700", "createdAt": "2023-11-17T10:49:41.250Z", "updatedAt": "2023-11-17T10:49:43.166Z", "publishedAt": "2023-11-17T10:49:43.164Z", "createdBy": null, "updatedBy": null }, "4": { "id": 4, "title": "Practices", "value": 32, "class": "bg-brown-500", "createdAt": "2023-11-17T10:50:05.685Z", "updatedAt": "2023-11-17T10:50:06.285Z", "publishedAt": "2023-11-17T10:50:06.284Z", "createdBy": null, "updatedBy": null } } } }

vercel[bot] commented 11 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
orcasa-client ❌ Failed (Inspect) Nov 17, 2023 5:00pm
Bluesmile82 commented 11 months ago

I haven't been able to see the page visually because I get the same error as in Vercel when trying to access the page:

403 error when accessing the homepage

Is the configuration that doesnt allow the find and findAll of HomeStats. I change this manually on local. Do you remember if we can persist this in any way?

Bluesmile82 commented 11 months ago

Ready again!