JSFiddle - React, Tailwind, and code Playground

by borsna

JavaScript

var data = [
            {
                "_index": "prod-sndcatalogue_2022-01-26-12_26_38",
                "_type": "_doc",
                "_id": "2021-338",
                "_score": null,
                "_source": {
                    "principal": {
                        "name": {
                            "sv": "Lunds universitet",
                            "en": "Lund University"
                        }
                    },
                    "publishedDate": "2021-12-23T13:24:42.345294Z",
                    "title": {
                        "sv": "Data till  \"Springtime stratospheric volcanic aerosol impact on midlatitude cirrus clouds\"",
                        "en": "Data for  \"Springtime stratospheric volcanic aerosol impact on midlatitude cirrus clouds\""
                    }
                },
                "sort": [
                    "2021-12-23T13:24:42.345Z"
                ]
            },
            {
                "_index": "prod-sndcatalogue_2022-01-26-12_26_38",
                "_type": "_doc",
                "_id": "2021-316",
                "_score": null,
                "_source": {
                    "principal": {
                        "name": {
                            "sv": "Mittuniversitetet",
                            "en": "Mid Sweden University"
                        }
                    },
                    "publishedDate": "2021-12-08T12:48:50.828832Z",
                    "title": {
                        "sv": "Annotated birds dataset for object detection using deep learning, Skagen & Klim",
                        "en": "Annotated birds dataset for object detection using deep learning, Skagen & Klim"
                    }
                },
                "sort": [
                    "2021-12-08T12:48:50.828Z"
                ]
            },
            {
                "_index": "prod-sndcatalogue_2022-01-26-12_26_38",
                "_type": "_doc",
                "_id":...