Comment out links w/o href
This commit is contained in:
parent
6e7939b250
commit
4fed8511e5
|
@ -64,6 +64,9 @@ var Footer = function Footer() {
|
|||
};
|
||||
|
||||
var renderNav = function renderNav() {
|
||||
var links = [
|
||||
{
|
||||
text: "Made with ❤️ by Ian Ramzy",
|
||||
return React.createElement(
|
||||
"nav",
|
||||
{ className: "footer-nav" },
|
||||
|
@ -71,34 +74,15 @@ var Footer = function Footer() {
|
|||
"ul",
|
||||
{ className: "list-reset" },
|
||||
React.createElement(
|
||||
"li",
|
||||
null,
|
||||
React.createElement(
|
||||
"a",
|
||||
{ target: "_blank", href: "https://ianramzy.com" },
|
||||
"Made with \u2764\uFE0F by Ian Ramzy"
|
||||
)
|
||||
),
|
||||
React.createElement(
|
||||
"li",
|
||||
null,
|
||||
React.createElement("a", { href: "#" }, "Contact")
|
||||
),
|
||||
React.createElement(
|
||||
"li",
|
||||
null,
|
||||
React.createElement("a", { href: "#" }, "About us")
|
||||
),
|
||||
React.createElement(
|
||||
"li",
|
||||
null,
|
||||
React.createElement("a", { href: "#" }, "FAQ's")
|
||||
),
|
||||
React.createElement(
|
||||
"li",
|
||||
null,
|
||||
React.createElement("a", { href: "#" }, "Support")
|
||||
)
|
||||
links.map(function (_ref) {
|
||||
var href = _ref.href,
|
||||
text = _ref.text;
|
||||
return React.createElement(
|
||||
"li",
|
||||
null,
|
||||
React.createElement("a", { target: "_blank", href: href }, text)
|
||||
);
|
||||
})
|
||||
)
|
||||
);
|
||||
};
|
||||
|
|
|
@ -41,29 +41,44 @@ const Footer = () => {
|
|||
</div>
|
||||
);
|
||||
|
||||
const renderNav = () => (
|
||||
<nav className="footer-nav">
|
||||
<ul className="list-reset">
|
||||
<li>
|
||||
<a target="_blank" href="https://ianramzy.com">
|
||||
Made with ❤️ by Ian Ramzy
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">Contact</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">About us</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">FAQ's</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">Support</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
);
|
||||
const renderNav = () => {
|
||||
const links = [
|
||||
{
|
||||
text: "Made with ❤️ by Ian Ramzy",
|
||||
href: "https://ianramzy.com",
|
||||
},
|
||||
// {
|
||||
// text: 'Contact',
|
||||
// href: '#'
|
||||
// },
|
||||
// {
|
||||
// text: 'About Us',
|
||||
// href: '#'
|
||||
// },
|
||||
// {
|
||||
// text: "FAQ's",
|
||||
// href: '#'
|
||||
// },
|
||||
// {
|
||||
// text: 'Support',
|
||||
// href: '#'
|
||||
// },
|
||||
];
|
||||
|
||||
return (
|
||||
<nav className="footer-nav">
|
||||
<ul className="list-reset">
|
||||
{links.map(({ href, text }) => (
|
||||
<li>
|
||||
<a target="_blank" href={href}>
|
||||
{text}
|
||||
</a>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</nav>
|
||||
);
|
||||
};
|
||||
|
||||
return (
|
||||
<footer className="site-footer center-content-mobile">
|
||||
|
|
Loading…
Reference in New Issue