Skip to content
Merged
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
8 changes: 8 additions & 0 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CodeLens</title>

<!-- Open Graph / social sharing -->
<meta property="og:title" content="CodeLens" />
<meta property="og:description" content="Developer intelligence platform. Unify your competitive programming journey across Codeforces, LeetCode & GitHub." />
<meta property="og:image" content="/og-logo.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="/og-logo.png" />
Comment on lines +13 to +15

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟑 Minor | ⚑ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== locate index.html =="
fd -a 'index\.html$' . | sed 's#^\./##'

echo "== relevant meta lines =="
if [ -f frontend/index.html ]; then
  nl -ba frontend/index.html | sed -n '1,80p'
else
  fd -a 'index\.html$' . -x sh -c 'echo "--- $1"; nl -ba "$1" | sed -n "1,80p"' sh {}
fi

echo "== static image references =="
rg -n 'og:image|twitter:image|og-logo\.png|og-logo|img src=|<picture>' -S .

Repository: kunalverma2512/CodeLens

Length of output: 448


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== frontend/index.html meta section =="
awk '{printf "%6d\t%s\n", NR, $0}' frontend/index.html | sed -n '1,80p'

echo "== exact image/meta references =="
rg -n 'og:image|twitter:image|og-logo\.png|og-logo|<img|<picture>' -S frontend/index.html frontend public .github 2>/dev/null || true

echo "== deployment/public config hints =="
git ls-files | rg '(^|/)(package\.json|vercel\.json|netlify\.toml|firebase\.json|Dockerfile$|render\.yaml|cloud-build|README\.md|frontend/package\.json)$' || true

Repository: kunalverma2512/CodeLens

Length of output: 3240


Use absolute URLs for social preview images.

og:image and twitter:image currently use the root-relative path /og-logo.png. Set both content values to the deployed HTTPS image URL so social link previews resolve without relying on URL resolution.

πŸ€– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@frontend/index.html` around lines 13 - 15, Update the og:image and
twitter:image meta tags in frontend/index.html to use the deployed HTTPS URL for
og-logo.png instead of the root-relative /og-logo.png path, keeping the existing
social preview metadata unchanged.

</head>
<body>
<div id="root"></div>
Expand Down
Binary file added frontend/public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion frontend/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions frontend/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/og-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions frontend/src/components/auth/ForgotPassword.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export default function ForgotPassword() {

return (
<div className="w-full flex-1 flex flex-col items-center justify-center px-4 sm:px-6 md:px-8 py-12 sm:py-20 bg-white">
<img src="/logo.svg" alt="CodeLens" className="h-10 sm:h-12 w-auto mb-6 sm:mb-8" />
<div className="w-full max-w-md border-4 border-black p-6 sm:p-8 md:p-12 bg-white shadow-[8px_8px_0_0_rgba(0,0,0,1)] md:shadow-[16px_16px_0_0_rgba(0,0,0,1)]">
<h2 className="text-3xl sm:text-4xl md:text-5xl font-black uppercase tracking-tighter text-black mb-8 sm:mb-12">
RESET PASSWORD
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/components/shared/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ export default function Footer() {
<div className="md:col-span-2 xl:col-span-1 flex flex-col gap-6 border-b-4 border-black pb-10 md:border-b-0 md:pb-0 md:border-r-4 md:pr-10 xl:border-r-4 xl:pr-8">
<Link
to="/"
className="text-5xl font-black tracking-tighter uppercase text-black leading-none hover:opacity-70 transition-opacity"
className="hover:opacity-70 transition-opacity"
>
CODE<br />LENS
<img src="/favicon.svg" alt="CodeLens" className="h-14 w-auto sm:hidden" />
<img src="/logo.svg" alt="CodeLens" className="hidden h-14 w-auto sm:block" />
</Link>
<p className="text-sm font-bold tracking-widest uppercase leading-relaxed text-black max-w-xs">
The developer intelligence platform. Unify your competitive programming journey across Codeforces, LeetCode &amp; GitHub β€” with AI-driven insights, zero noise.
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/components/shared/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,10 @@ export default function Navbar() {
<Link
to="/"
onClick={closeMenu}
className="text-lg font-black tracking-tighter uppercase text-black hover:opacity-60 transition-opacity flex-shrink-0"
className="hover:opacity-60 transition-opacity flex-shrink-0"
>
CODELENS
<img src="/favicon.svg" alt="CodeLens" className="h-8 w-auto sm:hidden" />
<img src="/logo.svg" alt="CodeLens" className="hidden h-8 w-auto sm:block" />
</Link>

{/* ── Desktop Centre Nav ────────────────────────────────────────── */}
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/components/shared/loaders/LoaderAlt.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ const Spinner = () => {
<div
role="status"
aria-live="polite"
className="min-h-screen flex items-center justify-center bg-white"
className="min-h-screen flex flex-col items-center justify-center bg-white"
>
<span className="sr-only">Loading, please wait...</span>
<img src="/logo.svg" alt="CodeLens" className="h-8 w-auto mb-8" />
<div className="grid grid-cols-2 gap-3">
{[...Array(4)].map((_, i) => (
<div
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/components/shared/loaders/LoaderPrimary.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ const Spinner = () => {
<div
role="status"
aria-live="polite"
className="min-h-screen flex items-center justify-center bg-white overflow-hidden"
className="min-h-screen flex flex-col items-center justify-center bg-white overflow-hidden"
>
<span className="sr-only">Loading, please wait...</span>
<img src="/logo.svg" alt="CodeLens" className="h-8 w-auto mb-8" />
<div className="relative w-32 h-32 animate-rotate">
{/* Outer Square */}
<div className="absolute inset-0 border-[5px] border-black animate-scale-1" />
Expand Down
1 change: 1 addition & 0 deletions frontend/src/pages/LoginPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export default function LoginPage() {

return (
<div className="w-full flex-1 flex flex-col items-center justify-center px-4 sm:px-6 md:px-8 py-12 sm:py-20 bg-white">
<img src="/logo.svg" alt="CodeLens" className="h-10 sm:h-12 w-auto mb-6 sm:mb-8" />
<div className="w-full max-w-md border-4 border-black p-6 sm:p-8 md:p-12 bg-white shadow-[8px_8px_0_0_rgba(0,0,0,1)] md:shadow-[16px_16px_0_0_rgba(0,0,0,1)]">
<h2 className="text-3xl sm:text-4xl md:text-5xl font-black uppercase tracking-tighter text-black mb-8 sm:mb-12">
LOGIN
Expand Down
1 change: 1 addition & 0 deletions frontend/src/pages/SignupPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export default function SignupPage() {

return (
<div className="w-full flex-1 flex flex-col items-center justify-center px-4 sm:px-6 md:px-8 py-12 sm:py-20 bg-white">
<img src="/logo.svg" alt="CodeLens" className="h-10 sm:h-12 w-auto mb-6 sm:mb-8" />
<div className="w-full max-w-md border-4 border-black p-6 sm:p-8 md:p-12 bg-white shadow-[8px_8px_0_0_rgba(0,0,0,1)] md:shadow-[16px_16px_0_0_rgba(0,0,0,1)]">
<h2 className="text-3xl sm:text-4xl md:text-5xl font-black uppercase tracking-tighter text-black mb-8 sm:mb-12">
{step === 1 ? "SIGN UP" : "VERIFY EMAIL"}
Expand Down
Loading