graasp / graasp-library

Discover collections of online educational resources.
GNU Affero General Public License v3.0
0 stars 2 forks source link

feat: update font and card description #594

Closed spaenleh closed 2 months ago

spaenleh commented 2 months ago

In this PR:

Notice

With NextJS, the google font is cached at build time, and is then served from the application domain, so there will be no call to google fonts for the clients, this also eliminated layout shifts. For this to work I had to allow to specify the fontFamily when creating the MUI theme, as this cached font will have a special name like __Nunito_14f33d. Out default theme in UI assumes the font will be available as Nunito.

Screenshot 2024-04-12 at 17 05 52 Screenshot 2024-04-12 at 17 06 26 Screenshot 2024-04-12 at 17 08 01 Screenshot 2024-04-12 at 17 08 12
sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud