Hello Product Hunters. I created this simple website badge to show support for Ukraine in its fight for freedom. It can be easily added to any website with just one line of code.
@virae I have placed this on my website but what is the next step? It doesn't link to any other website with more information or a donation website.
I like what you are doing but can't we make this do more? How can I see all the other places who have added this badge so I can support them as well?
Report
Maker
@guytaylor88 Hi Guy, there's an option to make the badge link to a website of your choosing in the latest version.
Hello Product Hunters. I created this simple website badge to show support for Ukraine in its fight for freedom.
It can be easily added to any website with just one line of code.
Report
@virae thank you I have passed it on and I have also added a wordpress version.
I've added to following script to my website pages:
var lang = navigator.language || navigator.userLanguage;
if (lang === 'ru') {
// No war against a democratic elected government, sign the peace with Ukraine petition.
$('body').prepend('<h2 style="background: yellow; color: black; text-align: center;">Никакой войны против демократически избранного правительства, подпишите <a href="https://www.change.org/p/%D0%BE%..." target="_blank">петиция о мире с Украиной.</a></h2>');
}
So cool, thank you very much! Installed it on my online store and can't be happier to identify myself https://flightpoint.co/
Report
Does anyone knows how add this to WordPress pages?
Report
Maker
@sergiej_rewiakin Hi Sergiej, there are two options - modifying the theme of your wordpress installation or installing a plugin (e.g. https://wordpress.org/plugins/in...) to be able to use custom javascript. The latter seems very easy to do.
HubTags
HubTags
Japplis Watch
Lexington Themes
Ninja Outreach