Skip to content
Snippets Groups Projects
Commit cca8258e authored by Sandeep Kadam's avatar Sandeep Kadam
Browse files

Removed the temporary banner

parent c343ff6e
No related branches found
No related tags found
No related merge requests found
Pipeline #360841 passed with warnings with stage
in 31 seconds
...@@ -38,12 +38,9 @@ export function Alerts() { ...@@ -38,12 +38,9 @@ export function Alerts() {
const params = new URLSearchParams(formData); const params = new URLSearchParams(formData);
// console.log("params", params); // console.log("params", params);
const jobUrl = `${process.env.REACT_APP_JOB_URL}${params.toString()}`; const jobUrl = `${process.env.REACT_APP_JOB_URL}${params.toString()}`;
fetch( fetch(jobUrl, {
jobUrl, method: "GET",
{ })
method: "GET",
}
)
.then((response) => { .then((response) => {
if (response.status !== 200) if (response.status !== 200)
throw new Error(`${response.status} ${response.statusText}`); throw new Error(`${response.status} ${response.statusText}`);
...@@ -129,17 +126,18 @@ export function Alerts() { ...@@ -129,17 +126,18 @@ export function Alerts() {
<> <>
<p className="vf-lede">There was a validation error.</p> <p className="vf-lede">There was a validation error.</p>
<p className="vf-intro__text"> <p className="vf-intro__text">
Please check your details and try again. Please check your details and try again.
</p> </p>
</> ) : </>
) : (
<> <>
<p className="vf-lede">There was a technical error.</p> <p className="vf-lede">There was a technical error.</p>
<p className="vf-intro__text"> <p className="vf-intro__text">
This problem means that the service you are trying to access This problem means that the service you are trying to access
currently unavailable. Please try again later. currently unavailable. Please try again later.
</p> </p>
</> </>
} )}
</div> </div>
</section> </section>
)} )}
...@@ -151,11 +149,6 @@ export function Alerts() { ...@@ -151,11 +149,6 @@ export function Alerts() {
<div className="vf-stack vf-stack--400"> <div className="vf-stack vf-stack--400">
<h1 className="vf-intro__heading ">EMBL job alerts</h1> <h1 className="vf-intro__heading ">EMBL job alerts</h1>
<div className="vf-banner vf-banner--alert vf-banner--info">
<div className="vf-banner__content">
<p className="vf-banner__text">At this moment it is not possible to create a job alert. We are working to have this service available to you as soon as possible.</p>
</div>
</div>
{/* {/*
<p className="vf-lede">Get the latest postings in your inbox.</p> <p className="vf-lede">Get the latest postings in your inbox.</p>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment