dify/web/app/components/plugins/marketplace/home/home-constants.ts
Coding On Star cb6c04637b
feat(web): add marketplace creator profiles and homepage redesign (#41538)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: fatelei <fatelei@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: 姜涵煦 <hanxujiang@jianghanxudeMacBook-Pro-2.local>
Co-authored-by: L1nSn0w <l1nsn0w@qq.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-09-04 08:09:45 +00:00

16 lines
612 B
TypeScript

/**
* Height of the marketplace home header in pixels. Sticky home chrome reads
* this so the header, search, and catalog offsets cannot drift apart.
*/
export const HOME_HEADER_HEIGHT_PX = 48
/** Height of the home search row. HomeSearch and the mobile catalog offset both read this. */
export const HOME_SEARCH_HEIGHT_PX = 36
/** Extra sticky-chrome gap under the mobile search row (ECO-475). */
export const HOME_SEARCH_MOBILE_PADDING_BOTTOM_PX = 16
/** 40px icon tiles + 1px divider-subtle lines in the marketplace home hero. */
export const HERO_GRID_PITCH_PX = 41
export const HERO_ICON_SIZE_PX = 40