I want to replace the Discourse splash animation with the Pulse animation. (please check the animation in codepen)
How should I do it?
I want to replace the Discourse splash animation with the Pulse animation. (please check the animation in codepen)
How should I do it?
I don’t know but I would like to raise another point: if an user sees splash animation there is some bigger issues than how it looks. And when the googlebot sees it and gives a little bit better scores, it doesn’t care how it looks
My point is
I haven’t seen any splashes after… last two updates/upgrades. That means Disourse is now faster than earlier.
The actual problem is not the server issue or else. I am from Sri Lanka. These days we are in a massive economic crisis. Due to the economic crisis, authorities are commencing powercuts because they cannot manage fuel powerplants. Due to these power cuts, telecommunication companies have degraded the speed of their internet services to save their battery power consumption. Therefore our Internet speed is too low these days.
Well, the situation in Sri Lanka is bad indeed, Your case is an exception, if/when your main audience is from Sri Lanka too.
Hopefully someone can guide you to right direction. But AFAIK it can’t be changed easily, though.
Thanks mate. Let’s see how to do it.
I don’t think it’s possible to edit from a theme, because it would involve editing an erb file; this one specifically: discourse/_discourse_splash.html.erb at e82a2ce9ae0a578476bc158dd45606ef337b5b19 · discourse/discourse · GitHub
Since the splash screen loads before much of the Discourse app, I suspect it would be pretty complicated to make this customizable? @Johani is that accurate?
That’s correct
The splash loads before any core JS/CSS. The current implementation doesn’t focus on customization, but v2 will. The plan is to serve the splash image from localStorage for slightly increased performance and since it allows admins to set something custom via an inline <script>
tag in the theme head_tag
field.
There’s currently no ETA for this work, and it needs a bit of testing, but it’s planned.