Changeset 22367db for components/LoginScreen.jsx
- Timestamp:
- 07/19/22 19:38:51 (2 years ago)
- Branches:
- main
- Children:
- 41d3f60
- Parents:
- faff334
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
components/LoginScreen.jsx
rfaff334 r22367db 7 7 import { setPlayer } from '../redux/reducers/playerSlice'; 8 8 import { setStyle } from '../redux/reducers/styleSlice'; 9 10 import { FcGoogle } from 'react-icons/fc'; 11 import { signIn } from 'next-auth/react'; 9 12 10 13 import axios from 'axios'; … … 146 149 <button className="secondaryButton" onClick={() => login()}>Log In</button> 147 150 </div> 151 <button onClick={() => signIn()} className="primaryButton" style={{marginTop: '10rem', color: '#eee', padding: '.6rem 2rem'}}><FcGoogle style={{padding: '.2rem', background: '#eee', borderRadius: '50%', fontSize: '2rem', marginBottom: '-.4rem'}}/> Log In With Google</button> 148 152 </div> 149 153 </div>
Note:
See TracChangeset
for help on using the changeset viewer.