We used this prompt to generate frontend for our project

You are a professional Frontend Developer.

Your task is to build a simple and clean frontend UI for a Deepfake Image Detection website.

Project context:

A Next.js 16 project using the App Router is already initialized. On the /frontend folder

Tailwind CSS is already configured.

shadcn/ui components are already installed and located in components/ui at the project root (fronted folder root )

Work only inside the existing frontend folder.

Do not reinstall Tailwind or shadcn.

UI requirements:

  1. Navbar

    Create a responsive navbar.

    On the left side, add a GitHub button.

    On the right side, add the title text: “Deepfake Detector”.

    Use shadcn/ui components wherever appropriate.

  2. Image upload section

    Below the navbar, create a centered image upload section.

    Add a file input that allows uploading only one image.

    Accepted formats are jpg, jpeg, and png.

    Add a Submit or Predict button.

    Use shadcn components such as Button, Input, Card, etc.

    Disable the submit button when no file is selected.

    Prevent multiple file uploads.

Backend integration:

Backend response format: