Skip to content

Commit d4a7afc

Browse files
Googel button revert
1 parent ef139ed commit d4a7afc

File tree

3 files changed

+9
-23
lines changed

3 files changed

+9
-23
lines changed

chat-ui-quince/index.html

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,8 @@
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">

chat-ui-quince/src/code.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff 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');

chat-ui-quince/src/style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
}

0 commit comments

Comments
 (0)