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
<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"> <a class="Polaris-Navigation__Item" tabindex="0" href="#"> <div class="Polaris-Navigation__Icon"> <span class="Polaris-Icon"> <svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M18 7.261V17.5c0 .841-.672 1.5-1.5 1.5h-2c-.828 0-1.5-.659-1.5-1.5V13H7v4.477C7 18.318 6.328 19 5.5 19h-2c-.828 0-1.5-.682-1.5-1.523V7.261a1.5 1.5 0 0 1 .615-1.21l6.59-4.82a1.481 1.481 0 0 1 1.59 0l6.59 4.82A1.5 1.5 0 0 1 18 7.26z"></path></svg> </span> </div> <span class="Polaris-Navigation__Text"> Home </span> </a> </div> </li> <li class="Polaris-Navigation__ListItem"> <div class="Polaris-Navigation__ItemWrapper"> <a class="Polaris-Navigation__Item" tabindex="0" href="#"> <div class="Polaris-Navigation__Icon"> <span class="Polaris-Icon"> <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 1a1 1 0 1 0-2 0v7.586L7.707 7.293a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.414 0l3-3a1 1 0 0 0-1.414-1.414L11 8.586V1z"></path><path d="M3 14V3h4V1H2.5A1.5 1.5 0 0 0 1 2.5v15A1.5 1.5 0 0 0 2.5 19h15a1.5 1.5 0 0 0 1.5-1.5v-15A1.5 1.5 0 0 0 17.5 1H13v2h4v11h-3.5c-.775 0-1.388.662-1.926 1.244l-.11.12A1.994 1.994 0 0 1 10 16a1.994 1.994 0 0 1-1.463-.637l-.111-.12C7.888 14.664 7.275 14 6.5 14H3z"></path></svg> </span> </div> <span class="Polaris-Navigation__Text"> Orders </span> </a> </div> </li> <li class="Polaris-Navigation__ListItem"> <div class="Polaris-Navigation__ItemWrapper"> <a class="Polaris-Navigation__Item" tabindex="0" href="#"> <div class="Polaris-Navigation__Icon"> <span class="Polaris-Icon"> <svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M10.293 1.293A1 1 0 0 1 11 1h7a1 1 0 0 1 1 1v7a1 1 0 0 1-.293.707l-9 9a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 0-1.414l9-9zM15.5 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"></path></svg> </span> </div> <span class="Polaris-Navigation__Text"> Products </span> </a> </div> </li> </ul> <ul class="Polaris-Navigation__Section Polaris-Navigation__Section--withSeparator"> <li class="Polaris-Navigation__ListItem"> <div class="Polaris-Navigation__ItemWrapper"> <a class="Polaris-Navigation__Item" tabindex="0" href="#"> <div class="Polaris-Navigation__Icon"> <span class="Polaris-Icon"> <svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="m1.791 2.253-.597 3.583A1 1 0 0 0 2.18 7h.893a1.5 1.5 0 0 0 1.342-.83L5 5l.585 1.17A1.5 1.5 0 0 0 6.927 7h1.146a1.5 1.5 0 0 0 1.342-.83L10 5l.585 1.17a1.5 1.5 0 0 0 1.342.83h1.146a1.5 1.5 0 0 0 1.342-.83L15 5l.585 1.17a1.5 1.5 0 0 0 1.342.83h.893a1 1 0 0 0 .986-1.164l-.597-3.583A1.5 1.5 0 0 0 16.729 1H3.271a1.5 1.5 0 0 0-1.48 1.253zM4 18.5A1.5 1.5 0 0 1 5.5 17H8v-3h4v3h2.5a1.5 1.5 0 0 1 1.5 1.5v.5H4v-.5z"></path><path d="M2 9h2v4h12V9h2v4.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 2 13.5V9z"></path></svg> </span> </div> <span class="Polaris-Navigation__Text"> Online Store </span> </a> </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.section do |section| %> <% section.item( url: "#", label: "Home", icon: "HomeMajor" ) %> <% section.item( url: "#", label: "Orders", icon: "OrdersMajor" ) %> <% section.item( url: "#", label: "Products", icon: "ProductsMajor" ) %> <% end %> <% navigation.section(separator: true) do |section| %> <% section.item( url: "#", label: "Online Store", icon: "OnlineStoreMajor" ) %> <% end %><% end %>
No notes provided.
No params configured.