Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Adding Custom Google Font | Basic Concepts
Next.js 14
course content

Conteúdo do Curso

Next.js 14

Next.js 14

1. Introduction
2. Basic Concepts
3. Pages and Layouts
4. Deployment and Database
5. Working with Data
6. Advanced Features
7. Authentication

bookChallenge: Adding Custom Google Font

We continue our work within the fonts.ts file. Let's import Rubik font with 400 weight and latin subsets. Apply this font to the p element in the app/page.tsx file.

To finalize the use of fonts, uncomment the TradeHubLogo component in the app/page.tsx file, and check the live page.

We should be able to see the following view of our application.

In Practice

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 9
We're sorry to hear that something went wrong. What happened?
some-alt