{"ast":null,"code":"import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nimport React from 'react';\nexport default function buildNews(newsElement) {\n  return /*#__PURE__*/_jsxs(\"div\", {\n    className: \"mx-auto border-2 border-solid border-blue-600 shadow-xl rounded-lg bg-blue-600 my-4\",\n    children: [/*#__PURE__*/_jsx(\"div\", {\n      className: \"flex-grow text-white px-4 my-1\",\n      children: /*#__PURE__*/_jsx(\"h4\", {\n        className: \"text-2xl py\",\n        children: newsElement['DisplayTitle']\n      })\n    }), /*#__PURE__*/_jsxs(\"div\", {\n      className: \"bg-white py-2 px-6\",\n      children: [/*#__PURE__*/_jsxs(\"a\", {\n        href: \"news?newsid=\" + newsElement['idNews'],\n        children: [/*#__PURE__*/_jsx(\"h4\", {\n          className: \"text-2xl pb-2\",\n          children: newsElement['NewsTitle']\n        }), /*#__PURE__*/_jsx(\"h3\", {\n          className: \"text-gray-600 mb-4 pl-8\",\n          children: \"Written by \" + newsElement['NewsAuthor'] + \" on \" + newsElement['DisplayDate']\n        })]\n      }), /*#__PURE__*/_jsx(\"p\", {\n        className: \"mx-2 mb-2 \",\n        children: newsElement['NewsItem'][0]\n      })]\n    }), /*#__PURE__*/_jsx(\"div\", {\n      className: \"text-white px-4 my-1\",\n      children: /*#__PURE__*/_jsx(\"a\", {\n        href: \"news?newsid=\" + newsElement['idNews'],\n        children: \"Read Full Story\"\n      })\n    })]\n  }, newsElement['idNews']);\n}","map":null,"metadata":{},"sourceType":"module"}