Skip to content

nguyend-nam/google-fonts-clone

Repository files navigation

NextJS Google Fonts App

A project built on top of NextJS, shipped with React, TypeScript, SWR and TailwindCSS.

Problem statement

We want to list many Google fonts and let users select fonts to embed to their website.

Create a React app that has the following features:

  • List Google fonts based on a grid layout
  • Create UX functionalities
    • Search for font name
    • Type to preview text
    • Adjust font size
  • Create filter options that support these criteria:
    • Categories
    • Language
    • Show only variable fonts
  • Preview font details
    • Type to preview text
    • Adjust font size
    • Select font style
    • Display selected family sidebar
      • Add/remove style
      • Display embed links

Quick Start

git clone git@github.com:nguyend-nam/google-fonts-clone.git my-project-name
cd my-project-name
yarn install

Then, you can run locally in development mode with live reload:

yarn dev

Open http://localhost:3000 with your favorite browser to see your project.

Deployment

URL: https://nextjs-google-fonts.netlify.app/

Documentation