diff --git a/site/components/Layout.js b/site/components/Layout.js index 723c408..312dc1a 100644 --- a/site/components/Layout.js +++ b/site/components/Layout.js @@ -31,7 +31,7 @@ export default function Layout({ children }) { ))}
- {siteConfig.social.map((item) => ( + {siteConfig.social.map((item) => !["Life Itself"].includes(item.name) && ( {item.name}
{/* Current: "border-indigo-500 text-gray-900", Default: "border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700" */} - {navLinks.map((item,i) => ( + {navLinks.map((item, i) => ( {item.name} - - ))} + + ))} +
+
+ {siteConfig.social.map( + ({ name, href, icon: Icon }) => + ["YouTube", "GitHub", "Life Itself"].includes(name) && ( +
+ + + {name} + +
+ ) + )}
@@ -59,25 +81,26 @@ export default function Nav() {
{/* Current: "bg-indigo-50 border-indigo-500 text-indigo-700", Default: "border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700" */} - {navLinks.map((item,i) => ( + {navLinks.map((item, i) => ( {item.name} - - ))} + + ))}
)} - ) + ); } diff --git a/site/config/siteConfig.js b/site/config/siteConfig.js index 3c899e8..52dcba9 100644 --- a/site/config/siteConfig.js +++ b/site/config/siteConfig.js @@ -1,38 +1,41 @@ +import Logo from "../public/img/life-itself-logo.svg" + const siteConfig = { - title: 'Making Sense of Crypto and Web3', - tagline: '', - description: 'Introductions to key concepts and ideas in crypto and web3. Plus in-depth evaluation of its potential impact.', - author: 'Life Itself and collaborators', + title: "Making Sense of Crypto and Web3", + tagline: "", + description: + "Introductions to key concepts and ideas in crypto and web3. Plus in-depth evaluation of its potential impact.", + author: "Life Itself and collaborators", // logo image - authorLogo: '/img//life-itself-logo.svg', + authorLogo: "/img//life-itself-logo.svg", // url to author - authorUrl: 'https://lifeitself.us/', + authorUrl: "https://lifeitself.us/", // Google analytics key e.g. G-XXXX - analytics: 'G-9DL50W4DN9', + analytics: "G-9DL50W4DN9", // optional additional nextSeo content set on each page // see https://github.com/garmeeh/next-seo nextSeo: { openGraph: { images: [ { - url: 'https://res.cloudinary.com/ds7qslkd0/image/upload/w_1200,c_scale/v1647434394/Web3/NbzC4V4_o7g3j5.jpg', - alt: 'Making Sense of Crypto & Web3 by Life Itself', + url: "https://res.cloudinary.com/ds7qslkd0/image/upload/w_1200,c_scale/v1647434394/Web3/NbzC4V4_o7g3j5.jpg", + alt: "Making Sense of Crypto & Web3 by Life Itself", width: 1200, height: 627, - type: 'image/jpg', - } - ] + type: "image/jpg", + }, + ], }, twitter: { - handle: '@forlifeitself', - site: 'web3.lifeitself.us', - cardType: 'summary_large_image', - } + handle: "@forlifeitself", + site: "web3.lifeitself.us", + cardType: "summary_large_image", + }, }, social: [ { - name: 'Facebook', - href: 'https://www.facebook.com/forlifeitself', + name: "Facebook", + href: "https://www.facebook.com/forlifeitself", icon: (props) => ( ( ( @@ -66,19 +69,42 @@ const siteConfig = { ), }, { - name: 'GitHub', - href: 'https://github.com/life-itself/web3', + name: "GitHub", + href: "https://github.com/life-itself/web3", icon: (props) => ( - + + + ), + }, + { + name: "YouTube", + href: "https://www.youtube.com/channel/UCmBq3VO9w_MLTKD_CHsYN-Q", + icon: (props) => ( + + + + ), + }, + { + name: "Podcast", + href: "https://anchor.fm/life-itself", + icon: (props) => ( + + + + ), + }, + { + name: "Life Itself", + href: "https://lifeitself.us/labs", + icon: (props) => ( + + ), }, ], -} +}; module.exports = siteConfig \ No newline at end of file