How to Add SVG Brand Icons In-line

Why would you do this? Instead of loading an image (jpg/png/svg) per platform, we can simply embed the SVGs into html. In this case, it saves from having 7 http requests and thus helps with website performance. CSS is also inline. The example below uses official brand colors. https://brandcolors.net/ and brand SVG logos from https://simpleicons.org/ … Read more

Websites for a Non Profit Organisation

If you based in South Africa you can use this organisation which offers websites at a low cost. http://www.phambano.org.za/portfolio/ If you outside of South Africa, look for organisations that assist other organisations im building online presences. Also, look out for opportunities to have it done at a hackathon. It is a meeting of software development … Read more

The Impact of a Slow Website

Often I engage with clients and they have strong views on the design of the website, and wanting to put content that slows the website for little to no real value. Slow Websites have real negative impacts that have been researched and recorded. This is a basic outline for my clients. Short Story Your website … Read more

Create React App – Google Workbox Override without ejecting

https://karannagupta.com/using-custom-workbox-service-workers-with-create-react-app/ This article began my journey of overriding CRA’s workbox configuration without ejecting. https://developers.google.com/web/tools/workbox/guides/advanced-recipes https://developers.google.com/web/tools/workbox/modules/workbox-google-analytics Nice overview of caching strategies https://web.dev/reliable/runtime-caching-with-workbox Used this to Setup the different Routes https://developers.google.com/web/tools/workbox/guides/common-recipes

Set Featured Image Automatically using ACF

Create a category image using ACF, field  = category_image This function will automatically (on saving the post or updating) look for the FIRST category assigned to it Then it will lookup that categories image and assign as a Featured Image to the Post