Skip to content

Build a Frontend for displaying the projects ideas.#3

Open
surajgoraicse wants to merge 7 commits intoking04aman:mainfrom
surajgoraicse:dev
Open

Build a Frontend for displaying the projects ideas.#3
surajgoraicse wants to merge 7 commits intoking04aman:mainfrom
surajgoraicse:dev

Conversation

@surajgoraicse
Copy link

No description provided.

@king04aman king04aman requested a review from Copilot October 4, 2025 18:54
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a complete frontend application for displaying MERN project ideas with filtering capabilities. The application is built using Next.js, TypeScript, and Tailwind CSS with ShadCN components for a modern UI.

Key changes:

  • Complete frontend setup with TypeScript configuration and UI components
  • Project data structure with 30 curated MERN stack project ideas organized by difficulty levels
  • Interactive filtering system allowing users to browse projects by skill level

Reviewed Changes

Copilot reviewed 27 out of 36 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
frontend/tsconfig.json TypeScript configuration for Next.js with modern ES2017 target
frontend/src/data/data.ts Core data structure containing 30 project ideas categorized by difficulty
frontend/src/components/projects/Projects.tsx Main component with filtering logic and localStorage persistence
frontend/src/components/cards/ProjectCard.tsx Individual project card component displaying project details
frontend/src/components/ui/* Collection of reusable UI components (buttons, cards, toggles, etc.)
frontend/src/app/layout.tsx Root layout with theme provider and navigation
frontend/package.json Dependencies including Next.js 15, React 19, and UI libraries

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

| "POSTGRES";

export type Tags = {
level: "Begineer" | "Intermediate" | "Advanced";
Copy link

Copilot AI Oct 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'Begineer' to 'Beginner'.

Copilot uses AI. Check for mistakes.
Implement CRUD operations to manage tasks.
Add features like task filtering, sorting, and marking tasks as completed.
Include user authentication to allow users to have personalized todo lists.`,
tag: { level: "Begineer", id: 1 },
Copy link

Copilot AI Oct 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'Begineer' to 'Beginner'.

Copilot uses AI. Check for mistakes.
import ProjectCard from "../cards/ProjectCard";
import { Skeleton } from "../ui/skeleton";

type LevelsType = Tags["level"] | "All";
Copy link

Copilot AI Oct 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The LevelsType includes 'Begineer' which should be 'Beginner' to match the corrected spelling.

Copilot uses AI. Check for mistakes.
) as LevelsType | null;
if (
saved &&
["Begineer", "Intermediate", "Advanced", "All"].includes(saved)
Copy link

Copilot AI Oct 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'Begineer' to 'Beginner'.

Copilot uses AI. Check for mistakes.
variant="outline"
type="single"
>
<ToggleGroupItem value="Begineer">Begineer</ToggleGroupItem>
Copy link

Copilot AI Oct 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'Begineer' to 'Beginner'.

Copilot uses AI. Check for mistakes.
</CardAction>
</CardHeader>
<CardContent>
<p className="text-sm text-gray-800">
Copy link

Copilot AI Oct 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hard-coded color class 'text-gray-800' doesn't respect the theme system. Use semantic color tokens like 'text-muted-foreground' for better dark mode compatibility.

Suggested change
<p className="text-sm text-gray-800">
<p className="text-sm text-muted-foreground">

Copilot uses AI. Check for mistakes.
@king04aman
Copy link
Owner

Hi @surajgoraicse,

Thanks for your contribution. Please implement suggested improvements.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants