umwd-components 0.1.79 → 0.1.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/components/NavBar.js
CHANGED
|
@@ -105,15 +105,7 @@ function NavBar({
|
|
|
105
105
|
alignItems: "center",
|
|
106
106
|
}}
|
|
107
107
|
>
|
|
108
|
-
{/*
|
|
109
|
-
<img
|
|
110
|
-
src={logo.url}
|
|
111
|
-
width={logo.width || "32px"}
|
|
112
|
-
height={logo.height || "32px"}
|
|
113
|
-
alt="site logo"
|
|
114
|
-
style={{ maxWidth: "60px", maxHeight: "60px" }}
|
|
115
|
-
/>
|
|
116
|
-
</Box> */}
|
|
108
|
+
{/* TODO: UseStrapiImages */}
|
|
117
109
|
<Image
|
|
118
110
|
src={logo.url}
|
|
119
111
|
width={
|
|
@@ -143,6 +135,8 @@ function NavBar({
|
|
|
143
135
|
|
|
144
136
|
<Box sx={{ display: "block", width: "30px" }}></Box>
|
|
145
137
|
|
|
138
|
+
{/* TODO: Having Tabs and Pages is just weird, fix this */}
|
|
139
|
+
|
|
146
140
|
{/* Large screen menu */}
|
|
147
141
|
{pages.length > 0 && (
|
|
148
142
|
<Box
|
|
@@ -198,6 +192,7 @@ function NavBar({
|
|
|
198
192
|
onClick={() => {
|
|
199
193
|
router.push(tab.url);
|
|
200
194
|
}}
|
|
195
|
+
sx={{ p: 1 }}
|
|
201
196
|
/>
|
|
202
197
|
);
|
|
203
198
|
})}
|
package/src/components/Page.js
CHANGED
|
@@ -80,14 +80,19 @@ AMH.args = {
|
|
|
80
80
|
},
|
|
81
81
|
tabs: [
|
|
82
82
|
{
|
|
83
|
-
name: "
|
|
83
|
+
name: "Home",
|
|
84
|
+
link: "/home",
|
|
85
|
+
action: () => console.log("Home"),
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: "Services",
|
|
84
89
|
link: "/resources",
|
|
85
90
|
action: () => console.log("Services"),
|
|
86
91
|
},
|
|
87
92
|
{
|
|
88
|
-
name: "
|
|
93
|
+
name: "About Us",
|
|
89
94
|
link: "/shop",
|
|
90
|
-
action: () => console.log("About"),
|
|
95
|
+
action: () => console.log("About Us"),
|
|
91
96
|
},
|
|
92
97
|
{
|
|
93
98
|
name: "Contact",
|