Adding episode and new support page.
This commit is contained in:
@@ -1,14 +1,15 @@
|
|||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import { BookOpenIcon, BanknotesIcon, StarIcon } from '@heroicons/react/24/outline'
|
import { BookOpenIcon, BanknotesIcon, StarIcon } from '@heroicons/react/24/outline'
|
||||||
|
|
||||||
|
// discord invite link: https://discord.gg/BneUtTSB
|
||||||
|
|
||||||
const features = [
|
const features = [
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'Patreon',
|
name: 'The Reactors Premium Subscription',
|
||||||
link: 'https://patreon.com/user?u=80900303',
|
link: 'https://thereactshow.supercast.com/',
|
||||||
description:
|
description:
|
||||||
'Like the show? This is the best way to support our work and we are super grateful! Thank you!',
|
'Your own premium podcast feed with: bonus content, early releases, AMA. The BEST way to support the show!',
|
||||||
icon: StarIcon,
|
icon: StarIcon,
|
||||||
highlight: true
|
highlight: true
|
||||||
},
|
},
|
||||||
|
|||||||
75
src/app/(extra)/the-reactors-community/page.jsx
Normal file
75
src/app/(extra)/the-reactors-community/page.jsx
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
import Link from 'next/link';
|
||||||
|
import { BookOpenIcon, BanknotesIcon, StarIcon } from '@heroicons/react/24/outline'
|
||||||
|
|
||||||
|
// discord invite link: https://discord.gg/BneUtTSB
|
||||||
|
|
||||||
|
const features = [
|
||||||
|
|
||||||
|
{
|
||||||
|
name: 'Discord Server',
|
||||||
|
link: 'https://discord.gg/BneUtTSB',
|
||||||
|
description:
|
||||||
|
'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 Premium Subscription',
|
||||||
|
link: 'https://thereactshow.supercast.com/',
|
||||||
|
description:
|
||||||
|
'Your own premium podcast feed with: bonus content, and early releases. The place to go if you want the regular show and behind-the-scenes details!',
|
||||||
|
icon: StarIcon
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
export const metadata = {
|
||||||
|
title: 'Join Our Community!',
|
||||||
|
description: 'We would love to have you join us whether you are just getting started or a programming expert!'
|
||||||
|
};
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<div className="pt-4 pb-12 sm:pb-4 lg:pt-12">
|
||||||
|
<div className="divide-y divide-slate-100 sm:mt-4 lg:mt-8 lg:border-t lg:border-slate-100">
|
||||||
|
<div className="bg-white py-24 sm:py-32">
|
||||||
|
<div className="mx-auto max-w-7xl px-6 lg:px-8">
|
||||||
|
<div className="mx-auto max-w-2xl lg:text-center">
|
||||||
|
<h2 className="text-lg font-semibold leading-8 tracking-tight text-indigo-600">Join the Community!</h2>
|
||||||
|
<p className="mt-2 text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">
|
||||||
|
We would love to have you join us whether you are just getting started or a programming expert!
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div className="mx-auto mt-16 max-w-2xl sm:mt-20 lg:mt-24 lg:max-w-4xl">
|
||||||
|
<dl className="grid max-w-xl grid-cols-1 gap-y-10 gap-x-8 lg:max-w-none lg:grid-cols-2 lg:gap-y-16">
|
||||||
|
{features.map((feature) => (
|
||||||
|
<div key={feature.name} className={`relative pl-16 p-4 rounded-lg ${feature.highlight ? 'shadow-md border-2 border-green-500' : ''}`}>
|
||||||
|
<dt className="text-base font-semibold leading-7 text-gray-900">
|
||||||
|
<div className="absolute top-4 left-4 flex h-10 w-10 items-center justify-center rounded-lg bg-indigo-600">
|
||||||
|
<Link href={feature.link}>
|
||||||
|
<feature.icon className="h-6 w-6 text-white" aria-hidden="true" />
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
<Link
|
||||||
|
href={feature.link}
|
||||||
|
className="underline font-bold leading-6 text-pink-500 hover:text-pink-700 active:text-pink-900"
|
||||||
|
>
|
||||||
|
{feature.name}
|
||||||
|
</Link>
|
||||||
|
</dt>
|
||||||
|
<dd className="mt-2 text-base leading-7 text-gray-600">{feature.description}</dd>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -81,6 +81,12 @@ export default function NavBar() {
|
|||||||
</div>
|
</div>
|
||||||
</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
|
||||||
|
href="/the-reactors-community"
|
||||||
|
className="bg-gray-200 hover:bg-gray-300 text-black rounded-md px-3 py-2 text-base font-medium mr-2"
|
||||||
|
>
|
||||||
|
The Reactors
|
||||||
|
</Link>
|
||||||
<Link
|
<Link
|
||||||
href="/support"
|
href="/support"
|
||||||
className="bg-indigo-600 hover:bg-indigo-700 text-white rounded-md px-3 py-2 text-base font-medium"
|
className="bg-indigo-600 hover:bg-indigo-700 text-white rounded-md px-3 py-2 text-base font-medium"
|
||||||
|
|||||||
@@ -9,6 +9,10 @@ import { extractFromXml } from '@extractus/feed-extractor'
|
|||||||
export const PAGE_SIZE = 15;
|
export const PAGE_SIZE = 15;
|
||||||
|
|
||||||
const episodeExtra = {
|
const episodeExtra = {
|
||||||
|
'Buzzsprout-13054901': {
|
||||||
|
slug: 'What-Actually-Happens-When-You-Call-A-Function-',
|
||||||
|
youtube: 'https://www.youtube.com/embed/-RVWS27op_k'
|
||||||
|
},
|
||||||
'Buzzsprout-12865769': {
|
'Buzzsprout-12865769': {
|
||||||
slug: 'eric-meier-on-successfully-starting-software-projects',
|
slug: 'eric-meier-on-successfully-starting-software-projects',
|
||||||
youtube: 'https://www.youtube.com/embed/0lnEpttUlUk'
|
youtube: 'https://www.youtube.com/embed/0lnEpttUlUk'
|
||||||
|
|||||||
Reference in New Issue
Block a user