Skip to content
Snippets Groups Projects
Commit af80962c authored by cns82's avatar cns82
Browse files

add abstract update icon

parent 081e7dfc
Branches
No related tags found
No related merge requests found
search-engine/public/covid.ico

4.19 KiB

...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> <link rel="icon" href="%PUBLIC_URL%/covid.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" /> <meta name="theme-color" content="#000000" />
<meta <meta
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
work correctly both with client-side routing and a non-root public URL. work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`. Learn how to configure a non-root public URL by running `npm run build`.
--> -->
<title>React App</title> <title>COVID Search Engine</title>
</head> </head>
<body> <body>
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>You need to enable JavaScript to run this app.</noscript>
......
...@@ -57,6 +57,7 @@ let SearchEngine = function () { ...@@ -57,6 +57,7 @@ let SearchEngine = function () {
newObj["journal"] = row["_source"]["journal"] newObj["journal"] = row["_source"]["journal"]
newObj["pmid"] = row["_source"]["pmid"] newObj["pmid"] = row["_source"]["pmid"]
newObj["published_at"] = row["_source"]["published_at"] newObj["published_at"] = row["_source"]["published_at"]
newObj["abstract"] = row["_source"]["abstract"]
parsedData.push(newObj) parsedData.push(newObj)
} }
return parsedData return parsedData
...@@ -104,7 +105,7 @@ let SearchEngine = function () { ...@@ -104,7 +105,7 @@ let SearchEngine = function () {
<div className='form-box'> <div className='form-box'>
<form onSubmit={handleSubmit}> <form onSubmit={handleSubmit}>
<div className="row"> <div className="row">
<div className="column"><h3 className='dx-header'>Search Elastic!</h3></div> <div className="column"><h3 className='dx-header'>Search COVID Research!</h3></div>
</div> </div>
<div className="row"> <div className="row">
<div className="column-left"> <div className="column-left">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment