Skip to content

Typo in AcmeLogo example: fonts should be font #1334

Closed

Description

@Vivekbhatt02

Before submitting

  • I have searched existing issues to make sure this isn't a duplicate
  • I have completed this chapter and encountered the issue myself

Chapter URL

https://nextjs.org/learn/dashboard-app/optimizing-fonts-images

Issue Type

Typo or grammatical error

Description

The AcmeLogo example currently imports lusitana using:

import { lusitana } from '@/app/ui/fonts';

However, the file in the project is app/ui/font.ts, so the import should be:

import { lusitana } from '@/app/ui/font';

The current import causes the following error:

Module not found: Can't resolve '@/app/ui/fonts'

Could you please update the import path from font to fonts? Actually, the example should reference app/ui/font to match the existing file.

Expected vs Actual Behavior

Expected:

import { lusitana } from '@/app/ui/font';

Actual:

import { lusitana } from '@/app/ui/fonts';

The extra s in fonts causes the module resolution error.

Environment (optional)

No response

Screenshots (optional)

No response

Activity

  1. Vivekbhatt02 commented on Sep 12, 2026

    @Vivekbhatt02
    Author

    I realized that I had missed the earlier instruction to create the app/ui/font.ts file. The import in the AcmeLogo example is correct, so this is not actually an issue with the course.

    Apologies for the confusion. I'm closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions