bonfire-app/flavours/haha/config/bonfire_ui.exs

48 lines
1.3 KiB
Elixir
Raw Normal View History

2021-09-26 02:04:07 +00:00
import Config
config :bonfire, :ui,
2022-09-12 04:34:14 +00:00
theme: [
instance_name: "HAHA Academy",
instance_icon: "/images/bonfire-icon.png",
instance_image: "https://haha.academy/images/wheel.png",
instance_description: "Community roadmaps for learning every branch of human knowledge"
],
sidebar_components: [
{Bonfire.UI.Social.SidebarNavigationLive, []}
],
rich_text_editor: Bonfire.Editor.Quill,
smart_input: [
post: true,
cw: true,
summary: true
],
profile: [
sections: [
timeline: Bonfire.UI.Social.ProfileTimelineLive,
# private: Bonfire.UI.Social.MessageThreadsLive,
posts: Bonfire.UI.Social.ProfilePostsLive,
boosts: Bonfire.UI.Social.ProfileBoostsLive,
followers: Bonfire.UI.Social.ProfileFollowsLive,
followed: Bonfire.UI.Social.ProfileFollowsLive
],
navigation: [
timeline: "timeline",
posts: "posts",
boosts: "boosts"
# private: "private",
],
widgets: []
],
smart_input_activities: [
# offer: "Publish an offer",
# need: "Publish a need",
# transfer_resource: "Transfer a resource",
# produce_resource: "Add a resource",
# intent: "Indicate an itent",
# economic_event: "Record an economic event",
# process: "Define a process"
],
smart_input_components: [
post: Bonfire.UI.Social.WritePostContentLive
]