feat: overhaul landing page and auth UI#4
Closed
0x3EF8 wants to merge 3 commits into
Closed
Conversation
|
@0x3EF8 is attempting to deploy a commit to the Melvin Jones Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
There was a problem hiding this comment.
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 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 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 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"]} |
| 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"; |
| <div className="max-w-4xl mx-auto flex flex-col items-center"> | ||
| <Link | ||
| href="https://github.com/mrepol742/devpulse" | ||
| target="_blank" |
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 }, | ||
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the landing page with a modern bento box layout and refreshes the authentication UI.