x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<div class="Polaris-LegacyCard Polaris-LegacyCard--withoutTitle"> <div class="Polaris-ResourceList__ResourceListWrapper"> <ul class="Polaris-ResourceList"> <li data-controller="polaris-resource-item" class="Polaris-ResourceItem__ListItem"> <div class="Polaris-ResourceItem__ItemWrapper"> <div data-action="click->polaris-resource-item#open" style="cursor: default;" class="Polaris-ResourceItem"> <a class="Polaris-ResourceItem__Link" tabindex="0" href="https://shopify.com" data-polaris-unstyled="true" data-polaris-resource-item-target="link"></a> <div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-3);--pc-box-padding-block-start-xs: var(--p-space-3);--pc-box-padding-inline-end-xs: var(--p-space-3);--pc-box-padding-inline-start-xs: var(--p-space-3);position: relative;z-index: var(--pc-resource-item-content-stacking-order)" class="Polaris-Box"> <div style="--pc-horizontal-grid-grid-template-columns-xs: 1fr auto" class="Polaris-HorizontalGrid"> <div style="--pc-horizontal-grid-gap-xs: var(--p-space-3);--pc-horizontal-grid-grid-template-columns-xs: 1fr" class="Polaris-HorizontalGrid"> <div style="--pc-horizontal-stack-align: ;--pc-horizontal-stack-block-align: center;--pc-horizontal-stack-wrap: wrap;--pc-horizontal-stack-gap-xs: var(--p-space-2)" class="Polaris-HorizontalStack"> <div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-0);--pc-box-padding-block-start-xs: var(--p-space-0);--pc-box-padding-inline-end-xs: var(--p-space-2);--pc-box-padding-inline-start-xs: var(--p-space-0);--pc-box-width: 100%" class="Polaris-Box"> <div class="Polaris-LegacyStack"> <div class="Polaris-LegacyStack__Item"> <p>Content with URL</p> </div> <div class="Polaris-LegacyStack__Item"> <p> <a href="https://shopify.dev" data-polaris-unstyled="true" class="Polaris-Link">Link</a> </p> </div> <div class="Polaris-LegacyStack__Item"> <a href="https://platmart.io" data-controller="polaris-button" class="Polaris-Button Polaris-Button--plain"> <span class="Polaris-Button__Content"> <div class="Polaris-Button__Text"> Button </div> </span> </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </li> </ul> </div></div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<%= polaris_card(sectioned: false) do %> <%= polaris_resource_list do %> <%= polaris_resource_item(url: "https://shopify.com") do %> <%= polaris_stack do |stack| %> <% stack.with_item do %> <p>Content with URL</p> <% end %> <% stack.with_item do %> <p> <%= polaris_link(url: "https://shopify.dev") { "Link" } %> </p> <% end %> <% stack.with_item do %> <%= polaris_button(url: "https://platmart.io", plain: true) { "Button" } %> <% end %> <% end %> <% end %> <% end %><% end %>
No notes provided.
No params configured.