From d91547740dc466526cceca8a48ae862e4c8d104b Mon Sep 17 00:00:00 2001 From: Thomas Hintz Date: Tue, 18 Jul 2023 09:35:05 -0700 Subject: [PATCH] Updating links. --- src/app/(extra)/support/page.jsx | 7 +++++++ src/app/(extra)/the-reactors-community/page.jsx | 14 +++++++------- src/app/(main)/layout.jsx | 16 ++++++++-------- src/components/NavBar.jsx | 4 ++-- 4 files changed, 24 insertions(+), 17 deletions(-) diff --git a/src/app/(extra)/support/page.jsx b/src/app/(extra)/support/page.jsx index 96fbe2c..437ee20 100644 --- a/src/app/(extra)/support/page.jsx +++ b/src/app/(extra)/support/page.jsx @@ -20,6 +20,13 @@ const features = [ 'Foundations of High-Performance React is my take on breaking down how React works internally to help you build better React applications.', icon: BookOpenIcon, }, + { + name: 'Discord Server', + link: 'https://discord.gg/zXYggKUBC2', + description: + 'Connect with the community for free on our Discord Server! Ask questions or just hang out!', + icon: StarIcon + }, { name: 'Tip!', link: 'https://buy.stripe.com/cN25nl5x2fZO4M0cMN', diff --git a/src/app/(extra)/the-reactors-community/page.jsx b/src/app/(extra)/the-reactors-community/page.jsx index 2575b93..f61d7ec 100644 --- a/src/app/(extra)/the-reactors-community/page.jsx +++ b/src/app/(extra)/the-reactors-community/page.jsx @@ -12,13 +12,13 @@ const features = [ 'Connect with the community for free on our Discord Server! Ask questions or just hang out!', icon: StarIcon }, - { - name: 'The Reactors Sub-Reddit', - link: 'https://www.reddit.com/r/TheReactShow/', - description: - 'Discuss recent episodes, the show itself, or ask React questions on our sub-reddit!', - icon: StarIcon - }, + /* { + * name: 'The Reactors Sub-Reddit', + * link: 'https://www.reddit.com/r/TheReactShow/', + * description: + * 'Discuss recent episodes, the show itself, or ask React questions on our sub-reddit!', + * icon: StarIcon + * }, */ { name: 'The Reactors Premium Subscription', link: 'https://thereactshow.supercast.com/', diff --git a/src/app/(main)/layout.jsx b/src/app/(main)/layout.jsx index abecf15..ebfc97f 100644 --- a/src/app/(main)/layout.jsx +++ b/src/app/(main)/layout.jsx @@ -164,14 +164,14 @@ function AboutSection(props) {

- In this show, Thomas digs deep to understand React and how best to utilize it while discussing real world experiences with: React, programming, and software engineering. Tune in every Friday (usually) to hear the latest in the React community. + In this show, Thomas digs deep to understand React and how best to utilize it while discussing real world experiences with: React, programming, and software engineering. Tune in every Friday (usually) to hear the latest in the React community.

) } function Layout({ children }) { - let hosts = ['Thomas Hintz'] + let hosts = [{ name: 'Thomas Hintz', href: 'https://thomashintz.org' }] return ( <> @@ -180,14 +180,14 @@ function Layout({ children }) {
Hosted by - {hosts.map((host, hostIndex) => ( - + {hosts.map(({ name, href }, hostIndex) => ( + {hostIndex !== 0 && ( )} - {host} + {name} ))} @@ -266,14 +266,14 @@ function Layout({ children }) { Hosted by
- {hosts.map((host, hostIndex) => ( - + {hosts.map(({ name, href }, hostIndex) => ( + {hostIndex !== 0 && ( )} - {host} + {name} ))}
diff --git a/src/components/NavBar.jsx b/src/components/NavBar.jsx index af2e8d3..ebd7942 100644 --- a/src/components/NavBar.jsx +++ b/src/components/NavBar.jsx @@ -82,10 +82,10 @@ export default function NavBar() {
- The Reactors + Consulting