More Premium Hugo Themes Premium Nextjs Themes

Camila_Cruz_JAMStackAlura

Projeto final do módulo 1 do Bootcamp Alura Front-end JAMStack

Camila_Cruz_JAMStackAlura

Projeto final do módulo 1 do Bootcamp Alura Front-end JAMStack

Author Avatar Theme by camila-cruz
Github Stars Github Stars: 6
Last Commit Last Commit: Apr 18, 2021 -
First Commit Created: Dec 18, 2023 -
Camila_Cruz_JAMStackAlura screenshot

Overview:

This document discusses an example app that utilizes styled-components, a styling solution that supports universal styles. The app extends the Document component to inject server-side rendered styles into the head of the HTML, and it also sets up a global theme for styled-components using the NextJS custom App component. The article provides instructions on deploying the example app using Vercel and CodeSandbox, and it also includes a note about avoiding an error when using the Link component from next/link within a styled-component.

Features:

  • Utilizes styled-components, a styling solution that supports universal styles
  • Injects server-side rendered styles into the head of the HTML using the extended Document component
  • Sets up a global theme for styled-components using the NextJS custom App component
  • Provides instructions on deploying the example app using Vercel
  • Allows deployment of the app to the cloud using Vercel’s documentation
  • Provides the option to try the example app on CodeSandbox
  • Includes a note about avoiding an error when using the Link component within a styled-component

Installation:

To install the theme, follow these steps:

  1. Execute create-next-app with npm or Yarn to bootstrap the example.
  2. Deploy the app to the cloud with Vercel using their documentation.

Summary:

This article discusses an example app that utilizes styled-components as a styling solution that supports universal styles. It provides instructions on deploying the app using Vercel and CodeSandbox, and also includes a note about avoiding an error when using the Link component within a styled-component.