Skip to content

Commit

Permalink
comment dividers example on resource cards
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Sep 13, 2024
1 parent 9d56845 commit 245bd00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/3.0/cards.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ end

You may want to separate the cards. You can use dividers to do that.

:::code-group
<!-- :::code-group -->
```ruby [On Dashboards]
class Avo::Dashboards::Dashy < Avo::Dashboards::BaseDashboard
def cards
Expand All @@ -412,7 +412,7 @@ class Avo::Dashboards::Dashy < Avo::Dashboards::BaseDashboard
end
end
```
```ruby [On Resources]
<!-- ```ruby [On Resources]
class Avo::Resources::User < Avo::BaseResource
def cards
card Avo::Cards::ExampleColumnChart
Expand All @@ -424,7 +424,7 @@ class Avo::Resources::User < Avo::BaseResource
end
end
```
:::
::: -->

<Image src="/assets/img/dashboards/divider.jpg" width="980" height="379" alt="Avo Dashboard Divider" />

Expand Down

0 comments on commit 245bd00

Please sign in to comment.