Previews

No matching results.

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="polaris-button polaris" data-target="#demo-modal" data-action="polaris#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="polaris-modal" data-polaris-modal-open-value="true" data-polaris-modal-hidden-class="Polaris--hidden" data-polaris-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--sizeLarge">
<div style="--pc-box-background: var(--p-color-bg-subdued);--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-2);--pc-box-padding-block-start-xs: var(--p-space-2);--pc-box-padding-inline-end-xs: var(--p-space-4);--pc-box-padding-inline-start-xs: var(--p-space-4)" 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--headingMd Polaris-Text--semibold Polaris-Text--break">
Reach more shoppers with Instagram product tags
</h2>
</div>
<button type="button" aria-label="Close" data-action="polaris-modal#close" class="Polaris-Modal-CloseButton">
<span class="Polaris-Icon Polaris-Icon--colorBase Polaris-Icon--applyColor">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M12.72 13.78a.75.75 0 1 0 1.06-1.06l-2.72-2.72 2.72-2.72a.75.75 0 0 0-1.06-1.06l-2.72 2.72-2.72-2.72a.75.75 0 0 0-1.06 1.06l2.72 2.72-2.72 2.72a.75.75 0 1 0 1.06 1.06l2.72-2.72 2.72 2.72Z"></path></svg>
</span>
</button></div>
</div>
<div data-polaris-scrollable-shadow-value="false" data-polaris-scrollable-top-shadow-class="Polaris-Scrollable--hasTopShadow" data-polaris-scrollable-bottom-shadow-class="Polaris-Scrollable--hasBottomShadow" data-controller="polaris-scrollable" style="" class="Polaris-Modal__Body Polaris-Scrollable Polaris-Scrollable--vertical">
<span data-polaris-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-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)" 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-polaris-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-12);--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="polaris-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="polaris-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
<%= polaris_button(data: {
controller: "polaris",
target: "#demo-modal",
action: "polaris#openModal",
}) { "Open" } %>
<%= polaris_modal(
id: "demo-modal",
title: "Reach more shoppers with Instagram product tags",
open: true,
large: true,
) do |modal| %>
<%= polaris_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 %>