Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
63 changes: 55 additions & 8 deletions app/(with-header-and-footer)/docs/page.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,60 @@
export default function DocsPage() {
return (
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-8">
<h1 className="text-3xl font-semibold mb-6">Documentation</h1>
<div className="bg-card p-6 rounded-lg shadow-md">
<p className="text-muted-foreground">
This is a placeholder for the documentation page. Detailed guides and
information will be added soon.
</p>
<section className="w-full md:py-32 py-12 flex flex-col items-center min-h-screen">
<div className="max-w-4xl w-full px-4">
<h1 className="text-4xl font-semibold mb-8">Documentation</h1>
Copy link

Copilot AI May 25, 2025

Choose a reason for hiding this comment

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

[nitpick] The heading size here (text-4xl) differs from other pages that use text-3xl. Aligning heading sizes across pages can improve visual consistency.

Suggested change
<h1 className="text-4xl font-semibold mb-8">Documentation</h1>
<h1 className="text-3xl font-semibold mb-8">Documentation</h1>

Copilot uses AI. Check for mistakes.

<div className="space-y-8">
<div className="bg-card p-6 rounded-lg shadow-md">
<h2 className="text-2xl font-medium mb-4">Overview</h2>
<p className="text-muted-foreground mb-4">
RankForge is a contributor platform for the idan-devs repository
that enables contributors to create profiles, log contributions,
and get evaluated by admins. The platform gamifies and structures
the contribution process while providing visibility and rewards
through a scoring system.
</p>
</div>

<div className="bg-card p-6 rounded-lg shadow-md">
<h2 className="text-2xl font-medium mb-4">Technical Stack</h2>
<ul className="list-disc list-inside space-y-2 text-muted-foreground">
<li>Next.js 15 with App Router</li>
<li>TypeScript for type safety</li>
<li>Tailwind CSS v4.0 for styling</li>
<li>Shadcn UI component library</li>
<li>Motion One for animations</li>
<li>Zustand for state management</li>
<li>React Hook Form with Zod validation</li>
</ul>
</div>

<div className="bg-card p-6 rounded-lg shadow-md">
<h2 className="text-2xl font-medium mb-4">Authentication</h2>
<div className="text-muted-foreground">
<p className="mb-3">
The platform uses GitHub OAuth for authentication.
</p>
</div>
</div>

<div className="bg-card p-6 rounded-lg shadow-md">
<h2 className="text-2xl font-medium mb-4">Design System</h2>
<div className="text-muted-foreground">
<p className="mb-3">
The platform uses a consistent design system with:
</p>
<ul className="list-disc list-inside space-y-2">
<li>Bricolage Grosteque as primary font</li>
<li>Minimalist and clean interface</li>
<li>High contrast for readability</li>
<li>Subtle animations for interactivity</li>
<li>System-level dark mode support</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
);
}
4 changes: 2 additions & 2 deletions app/(with-header-and-footer)/guidelines/page.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
export default function GuidelinesPage() {
return (
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-8">
<section className="w-full md:py-32 py-12 flex justify-center items-center min-h-screen">
<h1 className="text-3xl font-semibold mb-6">Contribution Guidelines</h1>
<div className="bg-card p-6 rounded-lg shadow-md">
<p className="text-muted-foreground">
This is a placeholder for the contribution guidelines page. Detailed
instructions on how to contribute will be added soon.
</p>
Comment on lines 4 to 9
Copy link

Copilot AI May 25, 2025

Choose a reason for hiding this comment

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

[nitpick] This page also dropped the original container width limit. Consider reinstating a max-width child container for consistent layout across pages.

Suggested change
<h1 className="text-3xl font-semibold mb-6">Contribution Guidelines</h1>
<div className="bg-card p-6 rounded-lg shadow-md">
<p className="text-muted-foreground">
This is a placeholder for the contribution guidelines page. Detailed
instructions on how to contribute will be added soon.
</p>
<div className="max-w-4xl w-full mx-auto">
<h1 className="text-3xl font-semibold mb-6">Contribution Guidelines</h1>
<div className="bg-card p-6 rounded-lg shadow-md">
<p className="text-muted-foreground">
This is a placeholder for the contribution guidelines page. Detailed
instructions on how to contribute will be added soon.
</p>
</div>

Copilot uses AI. Check for mistakes.
</div>
</div>
</section>
);
}
4 changes: 2 additions & 2 deletions app/(with-header-and-footer)/privacy/page.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
export default function PrivacyPage() {
return (
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-8">
<section className="w-full md:py-32 py-12 flex justify-center items-center min-h-screen">
Copy link

Copilot AI May 25, 2025

Choose a reason for hiding this comment

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

[nitpick] Similar to the Terms page, this section lacks a max-width wrapper. Adding a centered container (e.g., max-w-4xl mx-auto) would keep line lengths manageable.

Suggested change
<section className="w-full md:py-32 py-12 flex justify-center items-center min-h-screen">
<section className="w-full max-w-4xl mx-auto md:py-32 py-12 flex justify-center items-center min-h-screen">

Copilot uses AI. Check for mistakes.
<h1 className="text-3xl font-semibold mb-6">Privacy Policy</h1>
<div className="bg-card p-6 rounded-lg shadow-md">
<p className="text-muted-foreground">
This is a placeholder for the privacy policy page. Our privacy
practices will be detailed here soon.
</p>
</div>
</div>
</section>
);
}
4 changes: 2 additions & 2 deletions app/(with-header-and-footer)/terms/page.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
export default function TermsPage() {
return (
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-8">
<section className="w-full md:py-32 py-12 flex justify-center items-center min-h-screen">
<h1 className="text-3xl font-semibold mb-6">Terms of Service</h1>
<div className="bg-card p-6 rounded-lg shadow-md">
<p className="text-muted-foreground">
This is a placeholder for the terms of service page. Our terms and
conditions will be detailed here soon.
</p>
Comment on lines 4 to 9
Copy link

Copilot AI May 25, 2025

Choose a reason for hiding this comment

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

[nitpick] This section wrapper removes the max-width constraint, which may lead to overly wide content on large screens. Consider wrapping the inner content in a centered container (e.g., max-w-4xl mx-auto) for better readability.

Suggested change
<h1 className="text-3xl font-semibold mb-6">Terms of Service</h1>
<div className="bg-card p-6 rounded-lg shadow-md">
<p className="text-muted-foreground">
This is a placeholder for the terms of service page. Our terms and
conditions will be detailed here soon.
</p>
<div className="max-w-4xl mx-auto">
<h1 className="text-3xl font-semibold mb-6">Terms of Service</h1>
<div className="bg-card p-6 rounded-lg shadow-md">
<p className="text-muted-foreground">
This is a placeholder for the terms of service page. Our terms and
conditions will be detailed here soon.
</p>
</div>

Copilot uses AI. Check for mistakes.
</div>
</div>
</section>
);
}
1 change: 1 addition & 0 deletions app/not-found.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { useRouter } from "next/navigation";

export default function NotFound() {
const router = useRouter();

return (
<div className="min-h-screen flex flex-col items-center justify-center px-4 sm:px-6 lg:px-8 select-none">
<motion.div
Expand Down
1 change: 0 additions & 1 deletion components/auth/forgot-password-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ export function ForgotPasswordForm() {
async function onSubmitEmail(data: EmailValues) {
setIsLoading(true);
try {
console.log("Requesting password reset for:", data.email);
await new Promise((resolve) => setTimeout(resolve, 1500));
setEmail(data.email);
toast.success("Verification code sent to your email");
Expand Down