diff --git a/frontend/dist/banner.txt b/frontend/dist/banner.txt index e69de29bb..62d4b5c8d 100644 --- a/frontend/dist/banner.txt +++ b/frontend/dist/banner.txt @@ -0,0 +1,3 @@ +Do data resources managed by EMBL-EBI and our collaborators make a difference to your work?

+Please take 10 minutes to fill in our annual user survey, and help us make the case for why sustaining open data resources is critical for life sciences research.

+Survey link: https://www.surveymonkey.com/r/HJKYKTT?channel=[webpage] \ No newline at end of file diff --git a/frontend/src/banner.txt b/frontend/src/banner.txt index e69de29bb..62d4b5c8d 100644 --- a/frontend/src/banner.txt +++ b/frontend/src/banner.txt @@ -0,0 +1,3 @@ +Do data resources managed by EMBL-EBI and our collaborators make a difference to your work?

+Please take 10 minutes to fill in our annual user survey, and help us make the case for why sustaining open data resources is critical for life sciences research.

+Survey link: https://www.surveymonkey.com/r/HJKYKTT?channel=[webpage] \ No newline at end of file diff --git a/frontend/src/components/Banner.tsx b/frontend/src/components/Banner.tsx index d7a2f58d6..f88b6306f 100644 --- a/frontend/src/components/Banner.tsx +++ b/frontend/src/components/Banner.tsx @@ -20,18 +20,18 @@ export function Banner({ : "" }`} > - +
{type === "info" && ( - + )} {type === "warning" && ( - + )} {type === "error" && ( - + )} - - {children} +
+
); } diff --git a/frontend/src/pages/home/Home.tsx b/frontend/src/pages/home/Home.tsx index ff3d3035f..c425c449e 100644 --- a/frontend/src/pages/home/Home.tsx +++ b/frontend/src/pages/home/Home.tsx @@ -69,7 +69,7 @@ export default function Home() {
{banner !== "" && (
- {banner} + {banner}
)}