File tree Expand file tree Collapse file tree 3 files changed +1
-51
lines changed
PeerPrep/src/frontend/pages Expand file tree Collapse file tree 3 files changed +1
-51
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { NAV_BUTTONS } from '../config/NavConfig';
1010import QuestionList from '../components/QuestionList.tsx' ;
1111import { useEffect , useMemo , useState } from 'react' ;
1212import { questionApi , type QuestionsResponse } from '../api/QuestionApi.tsx' ;
13- import { Link , useSearchParams } from 'react-router' ;
13+ import { Link , useSearchParams } from 'react-router' ;
1414
1515const TOTAL_QUESTIONS = 2650 ;
1616
Original file line number Diff line number Diff line change 11import React , { useState , useEffect } from 'react' ;
2- import GitHubLogo from '../../assets/Images/github-logo.png' ;
32import { Link , useNavigate } from 'react-router' ;
43import { useAuth } from '../../context/AuthContext' ;
54
@@ -144,30 +143,6 @@ export default function Login() {
144143 ) }
145144 </ button >
146145
147- < div className = "divider divider-neutral mt-0" > OR</ div >
148-
149- { /* UI to sign in using other platforms */ }
150- { /* Hides Google login btn for now*/ }
151- { /*
152- <button
153- type="button"
154- className="btn btn-primary btn-soft w-full font-normal pb-3"
155- disabled
156- >
157- <img className="h-5 w-5" src={GoogleLogo} alt="Google logo" />
158- <span className="ml-2">Continue with Google</span>
159- </button>
160- */ }
161-
162- < button
163- type = "button"
164- className = "btn btn-primary btn-soft w-full font-normal mb-3"
165- disabled // Disable until Github login is set up
166- >
167- < img className = "h-5 w-5" src = { GitHubLogo } alt = "GitHub logo" />
168- < span className = "ml-2" > Continue with GitHub</ span >
169- </ button >
170-
171146 { /* Additional Register Link at Bottom */ }
172147 < p className = "text-center" >
173148 Don't have an account?
Original file line number Diff line number Diff line change 11import React , { useState } from 'react' ;
2- import GitHubLogo from '../../assets/Images/github-logo.png' ;
32import { Link } from 'react-router' ;
43import { useAuth } from '../../context/AuthContext' ;
54
@@ -365,30 +364,6 @@ export default function Register() {
365364 ) }
366365 </ button >
367366
368- < div className = "divider divider-neutral mt-0" > OR</ div >
369-
370- { /* UI to sign in using other platforms */ }
371- { /* Hides Google login btn for now*/ }
372- { /*
373- <button
374- type="button"
375- className="btn btn-primary btn-soft w-full font-normal pb-3"
376- disabled
377- >
378- <img className="h-5 w-5" src={GoogleLogo} alt="Google logo" />
379- <span className="ml-2">Continue with Google</span>
380- </button>
381- */ }
382-
383- < button
384- type = "button"
385- className = "btn btn-primary btn-soft w-full font-normal mb-3"
386- disabled // Disable until Github login is set up
387- >
388- < img className = "h-5 w-5" src = { GitHubLogo } alt = "GitHub logo" />
389- < span className = "ml-2" > Register with GitHub</ span >
390- </ button >
391-
392367 { /* Additional Register Link at Bottom */ }
393368 < p className = "text-center" >
394369 < Link to = "/auth/login" className = "underline" >
You can’t perform that action at this time.
0 commit comments