From b415174d94abff8bc9381961620e1516d73b6dd6 Mon Sep 17 00:00:00 2001 From: Nishim12 Date: Wed, 4 Dec 2024 19:15:11 +0000 Subject: [PATCH] modified tthe throbber --- .../templates/infinitefeed/infinitefeed.html | 2 +- ubyssey/static_src/src/images/throbber.svg | 15 +++++++++++ .../src/js/components/Events/calendar.jsx | 26 +++++++++++++------ ubyssey/templates/404.html | 4 ++- 4 files changed, 37 insertions(+), 10 deletions(-) create mode 100644 ubyssey/static_src/src/images/throbber.svg diff --git a/infinitefeed/templates/infinitefeed/infinitefeed.html b/infinitefeed/templates/infinitefeed/infinitefeed.html index 27ab5b928..92c73547f 100644 --- a/infinitefeed/templates/infinitefeed/infinitefeed.html +++ b/infinitefeed/templates/infinitefeed/infinitefeed.html @@ -35,5 +35,5 @@
- + Loading icon
\ No newline at end of file diff --git a/ubyssey/static_src/src/images/throbber.svg b/ubyssey/static_src/src/images/throbber.svg new file mode 100644 index 000000000..4a591162b --- /dev/null +++ b/ubyssey/static_src/src/images/throbber.svg @@ -0,0 +1,15 @@ + + + + + diff --git a/ubyssey/static_src/src/js/components/Events/calendar.jsx b/ubyssey/static_src/src/js/components/Events/calendar.jsx index 322fdd9f9..e6632d731 100644 --- a/ubyssey/static_src/src/js/components/Events/calendar.jsx +++ b/ubyssey/static_src/src/js/components/Events/calendar.jsx @@ -8,7 +8,6 @@ import { } from "react-router-dom"; // import ReactDOM from 'react-dom'; import axios from "axios"; -import { RotatingLines } from "react-loader-spinner"; const BP_DESKTOP_SIZE = 1199; @@ -969,15 +968,26 @@ function EventInfoBox({event}) { ); } -function LoaderComponent({width}) { +function LoaderComponent({ width }) { return (
- + + + + +
); } \ No newline at end of file diff --git a/ubyssey/templates/404.html b/ubyssey/templates/404.html index d7f31dae7..16c85bb9e 100644 --- a/ubyssey/templates/404.html +++ b/ubyssey/templates/404.html @@ -24,7 +24,9 @@

Page Not Found

The page you have searched is not available.

Questions? Contact EMAIL:

-

+

+ Loading icon +