File tree Expand file tree Collapse file tree 3 files changed +9
-23
lines changed
Expand file tree Collapse file tree 3 files changed +9
-23
lines changed Original file line number Diff line number Diff line change 2323 < div class ="container ">
2424 < header class ="header ">
2525 < img src ="quincefinance480x480_trans.png "/>
26- < button id ="google-sign-in "> Sign in with Google</ button >
27- < div id ="g_id_signin "
28- data-type ="standard "
29- data-size ="large "
30- data-theme ="outline "
31- data-text ="signin_with "
32- data-shape ="rectangular "
33- data-logo_alignment ="left ">
34- </ div >
35- < button id ="logout-btn " style ="display: none; "> Logout</ button >
26+ < button class ="google_buttons " id ="google-sign-in "> Connect with Google</ button >
27+ < button class ="google_buttons "vid ="logout-btn " style ="display: none; "> Logout</ button >
3628 </ header >
3729 < div class ="content-wrapper ">
3830 < aside class ="sidebar ">
Original file line number Diff line number Diff line change @@ -270,19 +270,6 @@ window.addEventListener('load', function() {
270270 cancel_on_tap_outside : true
271271 } ) ;
272272
273- window . google . accounts . id . renderButton (
274- document . getElementById ( 'g_id_signin' ) ,
275- {
276- type : 'standard' , // or 'icon'
277- theme : 'outline' , // or 'filled_blue', 'filled_black'
278- size : 'large' , // or 'medium', 'small'
279- text : 'signin_with' , // or 'signin', 'continue_with'
280- shape : 'rectangular' , // or 'pill', 'circle', 'square'
281- logo_alignment : 'left' , // or 'center'
282- width : 240 // Optional: pixel width
283- }
284- ) ;
285-
286273 const loginBtn = document . getElementById ( 'google-sign-in' ) ;
287274 if ( ! loginBtn ) {
288275 console . error ( 'Login button not found' ) ;
Original file line number Diff line number Diff line change @@ -335,3 +335,10 @@ body {
335335 display : none;
336336}
337337
338+
339+ .google_buttons {
340+ background-color : white;
341+ font-size : 20px ;
342+ border-radius : 100 ;
343+ color : black;
344+ }
You can’t perform that action at this time.
0 commit comments