48a249eaa9
* Add Firestore package and config * Upload basic Firebase Auth code * Basic ability to sign in and view profile * Move html head content to Next's _document * Apply dark theme to all DaisyUI components * Add contract page * Smaller width bet input * Add some buttons * Add Row, Col, and Spacer components * Implement skeleton ContractPage * Apply dark theme to all DaisyUI components * Fix hooks lints (#3) * Add background to bet panel * Changes based on review comments Co-authored-by: Austin Chen <akrolsmir@gmail.com>
9 lines
274 B
TypeScript
9 lines
274 B
TypeScript
export function Spacer(props: { w?: number; h?: number }) {
|
|
const { w, h } = props
|
|
|
|
const width = w === undefined ? undefined : w * 0.25 + 'rem'
|
|
const height = h === undefined ? undefined : h * 0.25 + 'rem'
|
|
|
|
return <div style={{ width, height, flexShrink: 0 }} />
|
|
}
|