From 963b4c2703317cdc5cbcdb27929c1e887815a7b6 Mon Sep 17 00:00:00 2001 From: Thomas Hintz Date: Sat, 18 Feb 2023 10:01:33 -0800 Subject: [PATCH] Adding support page. --- src/app/(main)/support/page.jsx | 72 +++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 src/app/(main)/support/page.jsx diff --git a/src/app/(main)/support/page.jsx b/src/app/(main)/support/page.jsx new file mode 100644 index 0000000..1ee7fed --- /dev/null +++ b/src/app/(main)/support/page.jsx @@ -0,0 +1,72 @@ +import Link from 'next/link'; +import { BookOpenIcon, BanknotesIcon } from '@heroicons/react/24/outline' + +import { Container } from '@/components/Container'; + +const features = [ + + + { + name: 'Buy My Book!', + link: '/book', + description: + 'If you want to learn more in-depth how React work then this is definitely the best way to support the show!', + icon: BookOpenIcon, + }, + { + name: 'Tip!', + link: 'https://buy.stripe.com/cN25nl5x2fZO4M0cMN', + description: + 'Another great way to directly support the show is to send us a one-time tip! Thank you so much!', + icon: BanknotesIcon, + } +]; + +export const metadata = { + title: 'Support the Show!', + description: 'Show your support for the show with these options!' +}; + +export default async function Page() { + return ( +
+ +

+ Support +

+
+
+
+
+
+

Support the Show!

+

+ Like The React Show? These are the best ways to support us! +

+
+
+
+ {features.map((feature) => ( +
+
+
+
+ + {feature.name} + +
+
{feature.description}
+
+ ))} +
+
+
+
+
+
+ ); +}