Skip to content

Commit

Permalink
Fix accordion code indent (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephannv authored Nov 11, 2024
1 parent bbabb86 commit 0decfa4
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions app/views/docs/accordion_view.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,36 @@ def view_template
render Docs::VisualCodeExample.new(title: "Example", context: self) do
@@code = <<~RUBY
div(class: "w-full") do
Accordion do
AccordionItem do
AccordionTrigger do
p(class: "font-medium") { "What is PhlexUI?" }
AccordionIcon()
end
Accordion do
AccordionItem do
AccordionTrigger do
p(class: "font-medium") { "What is PhlexUI?" }
AccordionIcon()
end
AccordionContent do
p(class: "text-sm pb-4") do
"PhlexUI is a UI component library for Ruby devs who want to build better, faster."
end
AccordionContent do
p(class: "text-sm pb-4") do
"PhlexUI is a UI component library for Ruby devs who want to build better, faster."
end
end
end
end
Accordion do
AccordionItem do
AccordionTrigger do
p(class: "font-medium") { "Can I use it with Rils?" }
AccordionIcon()
end
Accordion do
AccordionItem do
AccordionTrigger do
p(class: "font-medium") { "Can I use it with Rils?" }
AccordionIcon()
end
AccordionContent do
p(class: "text-sm pb-4") do
"Yes, PhlexUI is pure Ruby and works great with Rails. It's a Ruby gem that you can install into your Rails app."
end
AccordionContent do
p(class: "text-sm pb-4") do
"Yes, PhlexUI is pure Ruby and works great with Rails. It's a Ruby gem that you can install into your Rails app."
end
end
end
end
end
RUBY
end

Expand Down

0 comments on commit 0decfa4

Please sign in to comment.