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:
Ian Gulliver
2025-12-30 12:40:46 -08:00
parent fdb36a364c
commit abdd312df3
2 changed files with 32 additions and 3 deletions

View File

@@ -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',