GlobalStripe

Using Next/Font

Chris Clark
Chris Clark

//👇 Import Open Sans fontimport { Open_Sans, Roboto, Roboto_Flex } from'next/font/google'
//👇 Configure font objectconstopenSans=Open_Sans({subsets: ['latin'],display:'swap',})

Use it.

<htmllang="en"className={robotoFlex.className}>

https://blog.logrocket.com/next-js-font-optimization-custom-google-fonts/




Latest Projects

Kubernetes cert-manager

How to setup next.js with Kubernetes and Cert Manager! I’ve been experimenting setting up by own development custler for Kubernetes, prompted by the need to do a series of EKS upgrades due to deprecations and forced upgrades!

Chris Clark
Chris Clark

The Guide to Git you never had

🩺 Doctors have stethoscopes. 🔧 Mechanics have spanners. 👨‍💻 We developers, have Git.

Chris Clark
Chris Clark