Comments (7)
Actually @osamajandali after a bit of research I "think" it's that we need to use typography.toString() instead of injectStyles()?
See... KyleAMathews/typography.js#113
from aijs.rocks.
as me and @jawache talked, I think it's an issue with not putting google font link in the head so on every refresh it has to load it again.
I will add link on react helmet and should be tested again on live.
from aijs.rocks.
Hey FYI @osamajandali i'm still seeing the FOUC issue :/ also there are a few fonts that are not loading in production!
from aijs.rocks.
I think the build doesn't copy these file, I will take a look
from aijs.rocks.
Actually, i'm not sure that's the problem any more, I can't see the google font in the head of the page, so i think it's still downloading the google font from the JS.
from aijs.rocks.
the thing is that this is not the google font, this is icons font.. something I made like font awesome thing that I told you about if you could remember.
from aijs.rocks.
Oh yeah I think the fontello issues might not be the cause of the flash :/ just maybe some separate caching
I remember you said that you could have it so you add the google fonts directly in the HTML and not have gatsby add them with javascript, I don't think it would flash if the google fonts were added in the head since the font would already be downloaded by the time the rest of the page loads.
from aijs.rocks.
Related Issues (20)
- Initial Design
- Layout issues with different length descriptions HOT 1
- Content only scrolls when mouse is over content area HOT 1
- Can't seem to add .gifs to the pages HOT 1
- Thumbnails don't work HOT 1
- Cab we make the font size larger? HOT 1
- Styles for source code
- A clearer blockquote or admonition style for highlighting things HOT 2
- Buttons pointing to demos/code etc... needed on demo page
- Change anchor color to brand blue HOT 2
- Configure server-side to return 404
- Style 404 page
- Add meta data to head for sharing on twitter and facebook
- Update all social links on the site to the right ones
- Add about page
- Improve animations
- Submission instructions incorrect HOT 2
- npm run develop fails
- Azure apps don't seem to work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aijs.rocks.