Add donation info to event page and HCA Events header to sign-in
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -109,8 +109,18 @@ export async function auth() {
|
||||
}
|
||||
});
|
||||
|
||||
signin.style.flexDirection = 'column';
|
||||
|
||||
const header = document.createElement('div');
|
||||
header.textContent = 'HCA Events';
|
||||
header.style.cssText = 'font-size: 1.5rem; font-weight: bold; margin-bottom: 1rem;';
|
||||
signin.appendChild(header);
|
||||
|
||||
const buttonContainer = document.createElement('div');
|
||||
signin.appendChild(buttonContainer);
|
||||
|
||||
const isDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
|
||||
google.accounts.id.renderButton(signin, {
|
||||
google.accounts.id.renderButton(buttonContainer, {
|
||||
type: 'standard',
|
||||
theme: isDark ? 'outline' : 'filled_black',
|
||||
size: 'large',
|
||||
|
||||
Reference in New Issue
Block a user