Module: Coco::AppComponentsHelper
- Included in:
- Coco::App::SidebarNav::Navbar, Coco::App::SlideEditor, ComponentsHelper, Concerns::ActsAsFieldWithOptions
- Defined in:
- app/helpers/coco/app_components_helper.rb
Instance Method Summary collapse
- #coco_app_header(&block) ⇒ Object
- #coco_app_layout(&block) ⇒ Object
- #coco_contact_callout(&block) ⇒ Object
- #coco_faqs(&block) ⇒ Object
- #coco_plan_card(&block) ⇒ Object
- #coco_plan_confirmation(&block) ⇒ Object
- #coco_plan_picker(&block) ⇒ Object
- #coco_sidebar_nav(&block) ⇒ Object
- #coco_sidebar_nav_menu(&block) ⇒ Object
Instance Method Details
#coco_app_header(&block) ⇒ Object
23 24 25 |
# File 'app/helpers/coco/app_components_helper.rb', line 23 def coco_app_header(*, **, &block) render Coco::App::Header.new(*, **), &block end |
#coco_app_layout(&block) ⇒ Object
35 36 37 |
# File 'app/helpers/coco/app_components_helper.rb', line 35 def coco_app_layout(**, &block) render Coco::App::ApplicationLayout.new(**), &block end |
#coco_contact_callout(&block) ⇒ Object
11 12 13 |
# File 'app/helpers/coco/app_components_helper.rb', line 11 def coco_contact_callout(**, &block) render Coco::App::ContactCallout.new(**), &block end |
#coco_faqs(&block) ⇒ Object
7 8 9 |
# File 'app/helpers/coco/app_components_helper.rb', line 7 def coco_faqs(**, &block) render Coco::App::Faqs.new(**), &block end |
#coco_plan_card(&block) ⇒ Object
3 4 5 |
# File 'app/helpers/coco/app_components_helper.rb', line 3 def coco_plan_card(**, &block) render Coco::App::PlanCard.new(**), &block end |
#coco_plan_confirmation(&block) ⇒ Object
19 20 21 |
# File 'app/helpers/coco/app_components_helper.rb', line 19 def coco_plan_confirmation(**, &block) render Coco::App::PlanConfirmation.new(**), &block end |
#coco_plan_picker(&block) ⇒ Object
15 16 17 |
# File 'app/helpers/coco/app_components_helper.rb', line 15 def coco_plan_picker(**, &block) render Coco::App::PlanPicker.new(**), &block end |
#coco_sidebar_nav(&block) ⇒ Object
27 28 29 |
# File 'app/helpers/coco/app_components_helper.rb', line 27 def (*, **, &block) render Coco::App::SidebarNav::Navbar.new(*, **), &block end |
#coco_sidebar_nav_menu(&block) ⇒ Object
31 32 33 |
# File 'app/helpers/coco/app_components_helper.rb', line 31 def (*, **, &block) render Coco::App::SidebarNav::Menu.new(*, **), &block end |