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
74,082 changes: 36,096 additions & 37,986 deletions backend/config/data/codingQuestions.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<meta name="application-name" content="NQTCoder" />
<meta name="generator" content="Vite + React" />
<link rel="manifest" href="/manifest.json" />
<link rel="apple-touch-icon" href="/favicon.svg" />
<link rel="apple-touch-icon" href="/favicon.png" />
<meta name="msapplication-config" content="/browserconfig.xml" />

<!-- ── SEO Fallback (overridden per-page by react-helmet-async) ──────── -->
Expand All @@ -24,7 +24,6 @@
<meta name="keywords" content="NQT coder, placement coding, TCS NQT practice, coding interview preparation, mock test, leaderboard, C++, Java, Python, competitive programming" />
<meta name="robots" content="index,follow,max-snippet:-1,max-image-preview:large,max-video-preview:-1" />
<meta name="author" content="NQTCoder Team" />
<link rel="canonical" href="https://www.nqtcoder.dev/" />

<!-- ── Open Graph (fallback; overridden per-page) ───────────────────── -->
<meta property="og:site_name" content="NQTCoder" />
Expand Down
4 changes: 2 additions & 2 deletions 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.
4 changes: 2 additions & 2 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.
16 changes: 9 additions & 7 deletions frontend/src/components/AuthModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,15 @@ const AuthModal = ({ isOpen, onClose, mode = 'run' }) => {
{/* Actions */}
<div className="flex flex-col space-y-3 pt-1">
<div className="flex justify-center w-full">
<GoogleLogin
onSuccess={handleGoogleSuccess}
onError={() => alert('Google Sign-in failed. Try again.')}
theme="outline"
shape="pill"
text="continue_with"
/>
<div className="google-login-container">
<GoogleLogin
onSuccess={handleGoogleSuccess}
onError={() => alert('Google Sign-in failed. Try again.')}
theme="outline"
shape="pill"
text="continue_with"
/>
</div>
</div>

<button
Expand Down
9 changes: 9 additions & 0 deletions frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -277,5 +277,14 @@ iframe {
background: transparent !important;
}

.google-login-container {
display: inline-flex;
justify-content: center;
align-items: center;
border-radius: 9999px;
overflow: hidden;
background: transparent;
}



16 changes: 9 additions & 7 deletions frontend/src/pages/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,15 @@ const Login = () => {

{/* Google OAuth Login Container */}
<div className="flex justify-center relative w-full mb-6">
<GoogleLogin
onSuccess={handleGoogleSuccess}
onError={() => setErrors({ auth: 'Google Sign-in failed. Try again.' })}
theme="outline"
shape="pill"
text="signin_with"
/>
<div className="google-login-container">
<GoogleLogin
onSuccess={handleGoogleSuccess}
onError={() => setErrors({ auth: 'Google Sign-in failed. Try again.' })}
theme="outline"
shape="pill"
text="signin_with"
/>
</div>
</div>

<div className="text-center relative">
Expand Down
16 changes: 9 additions & 7 deletions frontend/src/pages/Register.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -366,13 +366,15 @@ const Register = () => {

{/* Google OAuth Login Container */}
<div className="flex justify-center relative w-full mb-6">
<GoogleLogin
onSuccess={handleGoogleSuccess}
onError={() => setErrors({ message: 'Google Sign-in failed. Try again.' })}
theme="outline"
shape="pill"
text="signup_with"
/>
<div className="google-login-container">
<GoogleLogin
onSuccess={handleGoogleSuccess}
onError={() => setErrors({ message: 'Google Sign-in failed. Try again.' })}
theme="outline"
shape="pill"
text="signup_with"
/>
</div>
</div>

<div className="text-center relative">
Expand Down
Loading