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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<button data-controller="paper-button paper" data-target="#demo-modal" data-action="paper#openModal" type="button" class="Polaris-Button"> <span class="Polaris-Button__Content"> <div class="Polaris-Button__Text"> Open </div> </span></button><div id="demo-modal" data-controller="paper-modal" data-paper-modal-open-value="true" data-paper-modal-hidden-class="Polaris--hidden" data-paper-modal-backdrop-class="Polaris-Backdrop" class="Polaris-Modal-Dialog__Container Polaris--hidden"> <div> <div role="dialog" aria-modal="true" tabindex="-1" class="Polaris-Modal-Dialog"> <div class="Polaris-Modal-Dialog__Modal Polaris-Modal-Dialog--sizeSmall"> <div style="--pc-box-border-color: var(--p-color-border-subdued);--pc-box-border-style: solid;--pc-box-border-block-end-width: var(--p-border-width-1);--pc-box-padding-block-end-xs: var(--p-space-4);--pc-box-padding-block-start-xs: var(--p-space-4);--pc-box-padding-inline-end-xs: var(--p-space-5);--pc-box-padding-inline-start-xs: var(--p-space-5)" class="Polaris-Modal-Header Polaris-Box"> <div style="--pc-horizontal-grid-gap-xs: var(--p-space-4);--pc-horizontal-grid-grid-template-columns-xs: 1fr auto" class="Polaris-Modal-Header__Title 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-4)" class="Polaris-HorizontalStack"> <h2 class="Polaris-Text--root Polaris-Text--headingLg Polaris-Text--semibold Polaris-Text--break"> Reach more shoppers with Instagram product tags </h2> </div> <button type="button" aria-label="Close" data-action="paper-modal#close" class="Polaris-Modal-CloseButton"> <span class="Polaris-Icon Polaris-Icon--colorBase Polaris-Icon--applyColor"> <svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="m11.414 10 6.293-6.293a1 1 0 1 0-1.414-1.414l-6.293 6.293-6.293-6.293a1 1 0 0 0-1.414 1.414l6.293 6.293-6.293 6.293a1 1 0 1 0 1.414 1.414l6.293-6.293 6.293 6.293a.998.998 0 0 0 1.707-.707.999.999 0 0 0-.293-.707l-6.293-6.293z"></path></svg> </span> </button></div> </div> <div data-paper-scrollable-shadow-value="false" data-paper-scrollable-top-shadow-class="Polaris-Scrollable--hasTopShadow" data-paper-scrollable-bottom-shadow-class="Polaris-Scrollable--hasBottomShadow" data-controller="paper-scrollable" style="" class="Polaris-Modal__Body Polaris-Scrollable Polaris-Scrollable--vertical"> <span data-paper-scrollable-target="topEdge"></span> <div class="Polaris-Modal-Section"> <section style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-5);--pc-box-padding-block-start-xs: var(--p-space-5);--pc-box-padding-inline-end-xs: var(--p-space-5);--pc-box-padding-inline-start-xs: var(--p-space-5)" class="Polaris-Box"> <div class="Polaris-TextContainer"> <p> Use Instagram posts to share your products with millions of people. Let shoppers buy from your store without leaving Instagram. </p> </div> </section> </div> <span data-paper-scrollable-target="bottomEdge"></span> </div> <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-4)" class="Polaris-Modal-Footer Polaris-HorizontalStack"> <div style="--pc-box-border-color: var(--p-color-border-subdued);--pc-box-border-style: solid;--pc-box-border-block-start-width: var(--p-border-width-1);--pc-box-min-height: var(--p-space-16);--pc-box-padding-block-end-xs: var(--p-space-4);--pc-box-padding-block-start-xs: var(--p-space-4);--pc-box-padding-inline-end-xs: var(--p-space-4);--pc-box-padding-inline-start-xs: var(--p-space-4);--pc-box-width: 100%" class="Polaris-Box"> <div class="Polaris-LegacyStack Polaris-LegacyStack--alignmentCenter"> <div class="Polaris-LegacyStack__Item Polaris-LegacyStack__Item--fill"></div> <div class="Polaris-LegacyStack__Item"> <div class="Polaris-ButtonGroup"> <div class="Polaris-ButtonGroup__Item"> <button type="button" data-controller="paper-button" class="Polaris-Button"> <span class="Polaris-Button__Content"> <div class="Polaris-Button__Text"> Learn more </div> </span> </button> </div> <div class="Polaris-ButtonGroup__Item"> <button type="button" data-controller="paper-button" class="Polaris-Button Polaris-Button--primary"> <span class="Polaris-Button__Content"> <div class="Polaris-Button__Text"> Add instagram </div> </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div></div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<%= paper_button(data: { controller: "paper", target: "#demo-modal", action: "paper#openModal",}) { "Open" } %><%= paper_modal( id: "demo-modal", title: "Reach more shoppers with Instagram product tags", open: true, small: true,) do |modal| %> <%= paper_text_container do %> <p> Use Instagram posts to share your products with millions of people. Let shoppers buy from your store without leaving Instagram. </p> <% end %> <% modal.with_primary_action { "Add instagram" } %> <% modal.with_secondary_action { "Learn more" } %><% end %>
No notes provided.
No params configured.