Updating links.

This commit is contained in:
2023-07-18 09:35:05 -07:00
parent ecc000875e
commit d91547740d
4 changed files with 24 additions and 17 deletions

View File

@@ -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.', 'Foundations of High-Performance React is my take on breaking down how React works internally to help you build better React applications.',
icon: BookOpenIcon, 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!', name: 'Tip!',
link: 'https://buy.stripe.com/cN25nl5x2fZO4M0cMN', link: 'https://buy.stripe.com/cN25nl5x2fZO4M0cMN',

View File

@@ -12,13 +12,13 @@ const features = [
'Connect with the community for free on our Discord Server! Ask questions or just hang out!', 'Connect with the community for free on our Discord Server! Ask questions or just hang out!',
icon: StarIcon icon: StarIcon
}, },
{ /* {
name: 'The Reactors Sub-Reddit', * name: 'The Reactors Sub-Reddit',
link: 'https://www.reddit.com/r/TheReactShow/', * link: 'https://www.reddit.com/r/TheReactShow/',
description: * description:
'Discuss recent episodes, the show itself, or ask React questions on our sub-reddit!', * 'Discuss recent episodes, the show itself, or ask React questions on our sub-reddit!',
icon: StarIcon * icon: StarIcon
}, * }, */
{ {
name: 'The Reactors Premium Subscription', name: 'The Reactors Premium Subscription',
link: 'https://thereactshow.supercast.com/', link: 'https://thereactshow.supercast.com/',

View File

@@ -164,14 +164,14 @@ function AboutSection(props) {
<p <p
className="mt-2 text-base leading-7 text-slate-700" className="mt-2 text-base leading-7 text-slate-700"
> >
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, <Link href="https://thomashintz.org">Thomas</Link> 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.
</p> </p>
</section> </section>
) )
} }
function Layout({ children }) { function Layout({ children }) {
let hosts = ['Thomas Hintz'] let hosts = [{ name: 'Thomas Hintz', href: 'https://thomashintz.org' }]
return ( return (
<> <>
@@ -180,14 +180,14 @@ function Layout({ children }) {
<div className="hidden lg:sticky lg:top-0 lg:flex lg:w-16 lg:flex-none lg:items-center lg:whitespace-nowrap lg:py-12 lg:text-sm lg:leading-7 lg:[writing-mode:vertical-rl]"> <div className="hidden lg:sticky lg:top-0 lg:flex lg:w-16 lg:flex-none lg:items-center lg:whitespace-nowrap lg:py-12 lg:text-sm lg:leading-7 lg:[writing-mode:vertical-rl]">
<span className="font-mono text-slate-500">Hosted by</span> <span className="font-mono text-slate-500">Hosted by</span>
<span className="mt-6 flex gap-6 font-bold text-slate-900"> <span className="mt-6 flex gap-6 font-bold text-slate-900">
{hosts.map((host, hostIndex) => ( {hosts.map(({ name, href }, hostIndex) => (
<Fragment key={host}> <Fragment key={name}>
{hostIndex !== 0 && ( {hostIndex !== 0 && (
<span aria-hidden="true" className="text-slate-400"> <span aria-hidden="true" className="text-slate-400">
/ /
</span> </span>
)} )}
{host} <Link href={href}>{name}</Link>
</Fragment> </Fragment>
))} ))}
</span> </span>
@@ -266,14 +266,14 @@ function Layout({ children }) {
<span className="ml-2.5">Hosted by</span> <span className="ml-2.5">Hosted by</span>
</h2> </h2>
<div className="mt-2 flex gap-6 text-sm font-bold leading-7 text-slate-900"> <div className="mt-2 flex gap-6 text-sm font-bold leading-7 text-slate-900">
{hosts.map((host, hostIndex) => ( {hosts.map(({ name, href }, hostIndex) => (
<Fragment key={host}> <Fragment key={name}>
{hostIndex !== 0 && ( {hostIndex !== 0 && (
<span aria-hidden="true" className="text-slate-400"> <span aria-hidden="true" className="text-slate-400">
/ /
</span> </span>
)} )}
{host} <Link href={href}>{name}</Link>
</Fragment> </Fragment>
))} ))}
</div> </div>

View File

@@ -82,10 +82,10 @@ export default function NavBar() {
</div> </div>
<div className="absolute inset-y-0 right-0 flex items-center pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0"> <div className="absolute inset-y-0 right-0 flex items-center pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0">
<Link <Link
href="/the-reactors-community" href="https://thomashintz.org"
className="bg-gray-200 hover:bg-gray-300 text-black rounded-md px-3 py-2 text-base font-medium mr-2" className="bg-gray-200 hover:bg-gray-300 text-black rounded-md px-3 py-2 text-base font-medium mr-2"
> >
The Reactors Consulting
</Link> </Link>
<Link <Link
href="/support" href="/support"