Skip to main content

Public Directory Documentation (web/public)

Overview​

The web/public directory in the Next.js project is used for storing static files. These files are accessible from the root URL of the application.

Structure​

The directory contains several subdirectories for organizing different types of static assets. Here's an overview of each:

Assets (web/public/assets)​

  • CSS: Contains custom CSS files.
  • Dashboard: Images and other assets specific to the dashboard.
  • Fonts: Custom fonts used in the application.
  • Images: General images used throughout the application.

Subdirectories​

  • css: Stylesheets for the application.
  • fonts: Font files, including icon fonts and typeface fonts.
  • images: Images used across the application, categorized into subfolders like blog, candidates, logo, etc.

Usage​

Explain how these assets are referenced and used in the application. Include examples if necessary.

Best Practices​

  • Keep the directory organized and well-structured.
  • Optimize images for the web to improve loading times.
  • Use consistent naming conventions for files.

Updating Assets​

Guidelines on how to add or update assets in this directory.


This document is a template and should be expanded with specific details about the web/public directory in the Next.js project.