-
})
+
+
+ close
+
+
+
+
-
- cloudFirst Link With Icon
+
+
- Second Link
+ {!isAuthenticated ? : }
+
+
+
+
-
-
-
-
-
-
-
- Third Link With Waves
-
+ Navigation
+ {links.map((link, i) => (
+
+ ))}
+
{isAuthenticated && }
>
);
diff --git a/src/pages/App.jsx b/src/pages/App.jsx
index f9fbb97..f6f1dc4 100644
--- a/src/pages/App.jsx
+++ b/src/pages/App.jsx
@@ -127,6 +127,8 @@ export const App = () => {
}
};
+ const links = ["categories", "contact"];
+
return loading ? (
@@ -139,6 +141,7 @@ export const App = () => {
handleClick={getRandomMeal}
buttonUrl={buttonUrl}
openNavClick={openNavClick}
+ links={links}
/>
{
handleChange={handleChange}
onSubmit={getSearchResults}
/>
-
+