Skip to content

feat: overhaul landing page and auth UI#4

Closed
0x3EF8 wants to merge 3 commits into
hallofcodes:masterfrom
0x3EF8:feature/ui-updates
Closed

feat: overhaul landing page and auth UI#4
0x3EF8 wants to merge 3 commits into
hallofcodes:masterfrom
0x3EF8:feature/ui-updates

Conversation

@0x3EF8

@0x3EF8 0x3EF8 commented Mar 16, 2026

Copy link
Copy Markdown
Member

This PR updates the landing page with a modern bento box layout and refreshes the authentication UI.

Copilot AI review requested due to automatic review settings March 16, 2026 02:55
@vercel

vercel Bot commented Mar 16, 2026

Copy link
Copy Markdown

@0x3EF8 is attempting to deploy a commit to the Melvin Jones Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 modernizes the marketing and authentication experience by redesigning the landing page into a bento-style layout and refreshing the login/signup UI with a split-screen design and icon-enhanced form fields.

Changes:

  • Rebuilt the landing page layout (hero, bento feature grid, “How it works”, leaderboards, CTA/footer) and introduced FontAwesome icons.
  • Refreshed login/signup pages and forms with a new two-column layout and updated field/button styling.
  • Adjusted auth proxy behavior to fetch the user via Supabase SSR (getUser) and updated cookie handling.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
app/page.tsx New landing page structure, bento layout, icons, and updated leaderboards section.
app/lib/proxy/auth.ts Updated auth gating logic and modified cookie set/remove handling for Supabase SSR.
app/layout.tsx Added FontAwesome global configuration and styles import.
app/globals.css Added .bento-card styles and refined existing UI primitives (buttons/grid/glass).
app/components/dashboard/WithoutKey.tsx Updated dashboard “no API key” panel styling to match new bento cards.
app/components/dashboard/Stats.tsx Minor chart tooltip/gradient refactor and formatter changes.
app/components/auth/SignupForm.tsx Updated signup form styling and added icons / GitHub button redesign.
app/components/auth/LoginForm.tsx Updated login form styling and added icons / GitHub button redesign.
app/(user)/dashboard/layout.tsx Added background/layout wrapper when WakaTime API key is missing.
app/(auth)/signup/page.tsx Rebuilt signup page into split-screen branded layout.
app/(auth)/login/page.tsx Rebuilt login page into split-screen branded layout.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/lib/proxy/auth.ts
Comment on lines +19 to +28
response = NextResponse.next({
request: { headers: req.headers },
});
response.cookies.set({ name, value, ...options });
},
remove(name, options) {
req.cookies.set({ name, value: "", ...options });
response = NextResponse.next({
request: { headers: req.headers },
});
Comment thread app/lib/proxy/auth.ts
Comment on lines 42 to 45
if (isProtectedRoute && !user) {
console.log("User is not authenticated, redirecting to login.");
return NextResponse.redirect(new URL("/login", req.url));
}
Comment thread app/layout.tsx
Comment on lines +9 to +10
import { config } from '@fortawesome/fontawesome-svg-core';
import '@fortawesome/fontawesome-svg-core/styles.css';
labelStyle={{ color: "#9ca3af" }}
itemStyle={{ color: "#818cf8" }}
formatter={(value) => [`${value as number}h`, "Time"]}
formatter={(value: any) => [`${value}h`, "Time"]}
Comment thread app/page.tsx
import Image from "next/image";
import { createClient } from "./lib/supabase/server";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faBolt, faChartLine, faUsers, faArrowRight, faCode, faTrophy, faGlobe } from "@fortawesome/free-solid-svg-icons";
Comment thread app/page.tsx
<div className="max-w-4xl mx-auto flex flex-col items-center">
<Link
href="https://github.com/mrepol742/devpulse"
target="_blank"
Comment thread app/lib/proxy/auth.ts
Comment on lines +19 to +28
response = NextResponse.next({
request: { headers: req.headers },
});
response.cookies.set({ name, value, ...options });
},
remove(name, options) {
req.cookies.set({ name, value: "", ...options });
response = NextResponse.next({
request: { headers: req.headers },
});
@0x3EF8 0x3EF8 closed this Mar 16, 2026
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