Add loading Animation to Most used Language card (#2197)

* add: text animation

* compact progress done

* cleaned code

* non compact animation done

* tests fixed + prettier

* revert: vercel.json

* remove: unnecessary import

* added parameter in docs

* style: improve syntax

Co-authored-by: rickstaa <rick.staa@outlook.com>
This commit is contained in:
Huzaifa Khilawala
2023-01-10 12:21:35 +00:00
committed by GitHub
co-authored by rickstaa
parent 227711c628
commit 77dcdab42c
5 changed files with 76 additions and 29 deletions
+2
View File
@@ -29,6 +29,7 @@ export default async (req, res) => {
locale,
border_radius,
border_color,
disable_animations,
} = req.query;
res.setHeader("Content-Type", "image/svg+xml");
@@ -75,6 +76,7 @@ export default async (req, res) => {
border_radius,
border_color,
locale: locale ? locale.toLowerCase() : null,
disable_animations: parseBoolean(disable_animations),
}),
);
} catch (err) {