| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- export const settingsFeed = {
- feed: {
- feed_container: 'relative flex-auto mx-auto w-full max-w-3xl ',
- show_html: false,
- default_feed: 'foryou',
- // web: post modal opened from the feed keeps the feed URL (+ #fi=<post>) so reload reopens it over the feed; false = address bar shows the post URL
- modal_hash: false,
- list: [
- { name: 'foryou', icon: 'Sparkle', title: 'For you', showTitle: true },
- // { name: 'account', icon: 'Binoculars', title: 'Following', showTitle: true },
- // { name: 'hot', icon: 'Flame', title: 'Hot', showTitle: true },
- // { name: 'public', icon: 'Egg', title: 'Public', showTitle: true },
- // { name: 'channels', icon: 'Hash', title: 'News', showTitle: true },
- ],
- units: {
- bx_market: 'MarketView',
- bx_ads: 'AdView',
- bx_groups: 'GroupView',
- bx_events: 'GroupView',
- bx_courses: 'GroupView',
- bx_spaces: 'GroupView',
- bx_polls: 'PollView',
- bx_posts: 'PostsView',
- },
- actions_menu: {
- show_action: true, // show action part or not
- show_counter: false, // show counter part or not
- show_combined: true, // leave true
- button_show_title_from_size: '',
- button_full_width: false,
- button_size: 'sm',
- button_variant: 'text',
- menu_width: '',
- button_rounded: false,
- justify_items: 'start',
- menu_gap: 'gap-1',
- no_gap_between_buttons: false, // is false no gap between buttons + right margin, is true gap between buttons + no margin
- },
- counters_menu: {
- show_action: false,
- show_counter: true,
- show_combined: true,
- menu_width: '',
- button_variant: 'link',
- rounded: true,
- button_size: 'xs',
- button_rounded: true,
- justify_items: 'between',
- no_gap_between_buttons: false,
- counter_button_class: 'mt-1 sm:mt-2',
- menu_item_spacing: 'me-0',
- menu_gap: 'gap-1',
- },
- /*
- FOR COMBINED BUTTONS SHOULD BE SET IN THE FOLLOWING WAY:
- , actions_menu : {
- show_action: true,
- show_counter: true,
- show_combined: true,
- }
- */
- },
- }
|