feed.js 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. export const settingsFeed = {
  2. feed: {
  3. feed_container: 'relative flex-auto mx-auto w-full max-w-3xl ',
  4. show_html: false,
  5. default_feed: 'foryou',
  6. list: [
  7. { name: 'foryou', icon: 'Sparkle', title: 'For you', showTitle: true },
  8. // { name: 'account', icon: 'Binoculars', title: 'Following', showTitle: true },
  9. // { name: 'hot', icon: 'Flame', title: 'Hot', showTitle: true },
  10. // { name: 'public', icon: 'Egg', title: 'Public', showTitle: true },
  11. // { name: 'channels', icon: 'Hash', title: 'News', showTitle: true },
  12. ],
  13. units: {
  14. bx_market: 'MarketView',
  15. bx_ads: 'AdView',
  16. bx_groups: 'GroupView',
  17. bx_events: 'GroupView',
  18. bx_courses: 'GroupView',
  19. bx_spaces: 'GroupView',
  20. bx_polls: 'PollView',
  21. bx_posts: 'PostsView',
  22. },
  23. actions_menu: {
  24. show_action: true, // show action part or not
  25. show_counter: false, // show counter part or not
  26. show_combined: true, // leave true
  27. button_show_title_from_size: '',
  28. button_full_width: false,
  29. button_size: 'sm',
  30. button_variant: 'text',
  31. menu_width: '',
  32. button_rounded: false,
  33. justify_items: 'start',
  34. no_gap_between_buttons: false, // is false no gap between buttons + right margin, is true gap between buttons + no margin
  35. },
  36. counters_menu: {
  37. show_action: false,
  38. show_counter: true,
  39. show_combined: true,
  40. menu_width: '',
  41. button_variant: 'link',
  42. rounded: true,
  43. button_size: 'xs',
  44. button_rounded: true,
  45. justify_items: 'between',
  46. no_gap_between_buttons: false,
  47. counter_button_class: 'mt-1 sm:mt-2',
  48. menu_item_spacing: 'me-0',
  49. },
  50. /*
  51. FOR COMBINED BUTTONS SHOULD BE SET IN THE FOLLOWING WAY:
  52. , actions_menu : {
  53. show_action: true,
  54. show_counter: true,
  55. show_combined: true,
  56. }
  57. */
  58. },
  59. }