Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | import { eventName } from "../../contexts/Analytics/util";
export const SECTION_PADDING = {
X: [4, 8, 12, 16, 20],
Y: [4, 6, 8],
};
const homeEvent: typeof eventName = (...e) => eventName("Home", ...e);
export const HOME_ANALYTICS = {
SEARCH: homeEvent("Search"),
INFO: {
eventName: (iconName: string) => homeEvent("Info", iconName),
},
USE_CASE: {
eventName: (useCase: string) => homeEvent("Use Cases", useCase),
},
PUBLISHER: {
eventName: (publisher: string) => homeEvent("Publisher", publisher),
},
FEATURED: homeEvent("Featured"),
};
|