feat: add page footer

This commit is contained in:
Hufe921
2023-03-25 19:41:16 +08:00
committed by Hufe
parent 36f3bb42ce
commit 21626cc41b
18 changed files with 331 additions and 106 deletions
+2 -8
View File
@@ -1,13 +1,7 @@
import { IHeader } from '../../interface/Header'
import { HeaderMaxHeightRatio } from '../enum/Header'
import { MaxHeightRatio } from '../enum/Common'
export const defaultHeaderOption: Readonly<Required<IHeader>> = {
top: 30,
maxHeightRadio: HeaderMaxHeightRatio.HALF
}
export const maxHeightRadioMapping: Record<HeaderMaxHeightRatio, number> = {
[HeaderMaxHeightRatio.HALF]: 1 / 2,
[HeaderMaxHeightRatio.ONE_THIRD]: 1 / 3,
[HeaderMaxHeightRatio.QUARTER]: 1 / 4
maxHeightRadio: MaxHeightRatio.HALF
}