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
<nav class="Polaris-Navigation"> <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-Navigation__PrimaryNavigation Polaris-Scrollable Polaris-Scrollable--vertical"> <span data-polaris-scrollable-target="topEdge"></span> <ul class="Polaris-Navigation__Section"> <li class="Polaris-Navigation__ListItem"> <div class="Polaris-Navigation__ItemWrapper"> <div class="Polaris-Navigation__ItemInnerWrapper"> <a class="Polaris-Navigation__Item" tabindex="0" href="#"> <div class="Polaris-Navigation__Icon"> <span class="Polaris-Icon"> <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8.344 3.692a2.25 2.25 0 0 1 3.312 0l3.854 4.19a3.75 3.75 0 0 1 .99 2.538v3.33a2.75 2.75 0 0 1-2.75 2.75h-1.75a1.5 1.5 0 0 1-1.5-1.5v-2h-1v2a1.5 1.5 0 0 1-1.5 1.5h-1.75a2.75 2.75 0 0 1-2.75-2.75v-3.33c0-.94.353-1.847.99-2.539l3.854-4.189Zm2.208 1.016a.75.75 0 0 0-1.104 0l-3.854 4.189a2.25 2.25 0 0 0-.594 1.523v3.33c0 .69.56 1.25 1.25 1.25h1.75v-2a1.5 1.5 0 0 1 1.5-1.5h1a1.5 1.5 0 0 1 1.5 1.5v2h1.75c.69 0 1.25-.56 1.25-1.25v-3.33a2.25 2.25 0 0 0-.594-1.523l-3.854-4.19Z"></path></svg> </span> </div> <span class="Polaris-Navigation__Text"> Home </span> </a> </div> </div> </li> <li class="Polaris-Navigation__ListItem"> <div class="Polaris-Navigation__ItemWrapper"> <div class="Polaris-Navigation__ItemInnerWrapper"> <a class="Polaris-Navigation__Item" tabindex="0" href="#"> <div class="Polaris-Navigation__Icon"> <span class="Polaris-Icon"> <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M6.976 3.5a2.75 2.75 0 0 0-2.72 2.347l-.662 4.46a8.75 8.75 0 0 0-.094 1.282v1.661a3.25 3.25 0 0 0 3.25 3.25h6.5a3.25 3.25 0 0 0 3.25-3.25v-1.66c0-.43-.032-.858-.095-1.283l-.66-4.46a2.75 2.75 0 0 0-2.72-2.347h-6.05Zm-1.237 2.567a1.25 1.25 0 0 1 1.237-1.067h6.048c.62 0 1.146.454 1.237 1.067l.583 3.933h-2.484a1.25 1.25 0 0 0-1.185.855l-.159.474a.25.25 0 0 1-.237.171h-1.558a.25.25 0 0 1-.237-.17l-.159-.475a1.25 1.25 0 0 0-1.185-.855h-2.484l.583-3.933Zm-.738 5.433-.001.09v1.66c0 .966.784 1.75 1.75 1.75h6.5a1.75 1.75 0 0 0 1.75-1.75v-1.75h-2.46l-.1.303a1.75 1.75 0 0 1-1.66 1.197h-1.56a1.75 1.75 0 0 1-1.66-1.197l-.1-.303h-2.46Z"></path></svg> </span> </div> <span class="Polaris-Navigation__Text"> Orders </span> </a> </div> </div> </li> <li class="Polaris-Navigation__ListItem"> <div class="Polaris-Navigation__ItemWrapper"> <div class="Polaris-Navigation__ItemInnerWrapper"> <a class="Polaris-Navigation__Item" tabindex="0" href="#"> <div class="Polaris-Navigation__Icon"> <span class="Polaris-Icon"> <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M13 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"></path><path fill-rule="evenodd" d="M11.276 3.5a3.75 3.75 0 0 0-2.701 1.149l-4.254 4.417a2.75 2.75 0 0 0 .036 3.852l2.898 2.898a2.5 2.5 0 0 0 3.502.033l4.747-4.571a3.25 3.25 0 0 0 .996-2.341v-2.187a3.25 3.25 0 0 0-3.25-3.25h-1.974Zm-1.62 2.19a2.25 2.25 0 0 1 1.62-.69h1.974c.966 0 1.75.784 1.75 1.75v2.187c0 .475-.194.93-.536 1.26l-4.747 4.572a1 1 0 0 1-1.401-.014l-2.898-2.898a1.25 1.25 0 0 1-.016-1.75l4.253-4.418Z"></path></svg> </span> </div> <span class="Polaris-Navigation__Text"> Products </span> </a> </div> </div> </li> </ul> <ul class="Polaris-Navigation__Section Polaris-Navigation__Section--withSeparator"> <li class="Polaris-Navigation__ListItem"> <div class="Polaris-Navigation__ItemWrapper"> <div class="Polaris-Navigation__ItemInnerWrapper"> <a class="Polaris-Navigation__Item" tabindex="0" href="#"> <div class="Polaris-Navigation__Icon"> <span class="Polaris-Icon"> <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M12.278 3a2.75 2.75 0 0 1 2.162 1.051l2.087 2.656c.073.093.136.193.19.298l.079.159c.662 1.324.103 2.824-1.052 3.488a.75.75 0 0 1 .006.098v.75a2.75 2.75 0 0 1-2.75 2.75h-.5v1.25h.75a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h.75v-1.25h-.5a2.75 2.75 0 0 1-2.75-2.75v-.75c0-.033.002-.066.006-.098-1.155-.664-1.714-2.164-1.051-3.488l.079-.159a1.75 1.75 0 0 1 .189-.298l2.087-2.656a2.75 2.75 0 0 1 2.162-1.051h4.556Zm-6.528 7.994v.506c0 .69.56 1.25 1.25 1.25h6c.69 0 1.25-.56 1.25-1.25v-.506a2.651 2.651 0 0 1-1.955-1.066 2.99 2.99 0 0 1-4.59 0 2.651 2.651 0 0 1-1.955 1.066Zm2.602-3.192a.747.747 0 0 0-.855-.258.747.747 0 0 0-.418.37l-.474.95a1.15 1.15 0 1 1-2.059-1.03l.08-.158a.25.25 0 0 1 .026-.042l2.087-2.656c.237-.302.6-.478.983-.478h4.556c.383 0 .746.176.983.478l2.087 2.656c.01.013.019.027.027.042l.079.159a1.15 1.15 0 0 1-2.059 1.029l-.474-.95a.746.746 0 0 0-1.006-.335.747.747 0 0 0-.394.496l-.074.295a1.491 1.491 0 0 1-2.894 0l-.074-.295a.75.75 0 0 0-.127-.273Zm.648 6.448v1.25h2v-1.25h-2Z"></path></svg> </span> </div> <span class="Polaris-Navigation__Text"> Online Store </span> </a> </div> </div> </li> </ul> <span data-polaris-scrollable-target="bottomEdge"></span> </div></nav>
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
<%= polaris_navigation do |navigation| %> <% navigation.with_section do |section| %> <% section.with_item( url: "#", label: "Home", icon: "HomeIcon" ) %> <% section.with_item( url: "#", label: "Orders", icon: "OrderIcon" ) %> <% section.with_item( url: "#", label: "Products", icon: "ProductIcon" ) %> <% end %> <% navigation.with_section(separator: true) do |section| %> <% section.with_item( url: "#", label: "Online Store", icon: "StoreOnlineIcon" ) %> <% end %><% end %>
No notes provided.
No params configured.