Skip to content

Commit 0dd0453

Browse files
committed
half done
1 parent d801f27 commit 0dd0453

3 files changed

Lines changed: 159 additions & 10 deletions

File tree

‎frontend/main/src/components/PurrfectDevPodcatchers.tsx‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ export default function PurrfectDevPodcatchers(): JSX.Element {
77
<>
88
<section className="my-20 text-center">
99
<div className="flex flex-col">
10-
<p className="mb-8 text-3xl leading-snug tracking-wide lg:text-6xl">
11-
Subscribe on your podcatcher of choice.
12-
</p>
1310
<div className="flex flex-wrap justify-center mb-8">
1411
<a
1512
href="https://podcasts.apple.com/us/podcast/purrfect-dev/id1491655542"

‎frontend/main/src/pages/sponsorship/index.tsx‎

Lines changed: 158 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import { Site } from '@/models/site.model';
77
import { useEffect, useRef } from 'react';
88
import { useScroll } from '@/hooks/useScroll';
99
import { GetStaticProps, InferGetStaticPropsType } from 'next';
10+
import AJHeadphones from '@/components/global/icons/AJHeadphones';
11+
import PurrfectDevPodcatchers from '@/components/PurrfectDevPodcatchers';
1012

1113
interface StaticParams {
1214
site: Site;
@@ -56,6 +58,19 @@ export default function Sponsorship({
5658
}
5759
}, [scroll]);
5860

61+
const arrow = () => (
62+
<svg
63+
xmlns="http://www.w3.org/2000/svg"
64+
viewBox="0 0 24 24"
65+
fill="currentColor"
66+
>
67+
<path
68+
xmlns="http://www.w3.org/2000/svg"
69+
d="M17.92 11.62a1 1 0 0 0-.21-.33l-5-5a1 1 0 0 0-1.42 1.42l3.3 3.29H7a1 1 0 0 0 0 2h7.59l-3.3 3.29a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l5-5a1 1 0 0 0 .21-.33 1 1 0 0 0 0-.76z"
70+
></path>
71+
</svg>
72+
);
73+
5974
return (
6075
<>
6176
<NextSeo
@@ -86,11 +101,145 @@ export default function Sponsorship({
86101
Apply To Sponsor -{'>'}
87102
</button>
88103
</div>
89-
<section className="grid grid-cols-1 gap-2 mx-2">
90-
{Array.apply(0, Array(12)).map((x, i) => (
91-
<div className="w-full" key={i}>
104+
<section className="grid grid-cols-1 gap-2 mx-2 md:mx-8 md:gap-8">
105+
<div className="flex flex-col items-center sm:hidden">
106+
<AJHeadphones className="w-48 h-48" />
107+
</div>
108+
<div className="flex justify-center m-4">
109+
<div className="flex flex-col items-center justify-center">
110+
<p className="text-4xl">Sponsorship for</p>
111+
<p className="text-6xl font-extrabold md:text-8xl">
112+
Purrfect.dev
113+
</p>
114+
<p className="text-2xl">a CodingCat.dev Production</p>
115+
</div>
116+
<div className="flex-col items-center hidden sm:flex">
117+
<AJHeadphones className="w-48 h-48" />
118+
</div>
119+
</div>
120+
<div className="flex justify-center dark:bg-basics-600 bg-primary-500 text-primary-50 rounded-xl">
121+
<div className="flex flex-col max-w-xl gap-4 p-8 font-extrabold">
122+
<p className="text-4xl">
123+
Are you interested in reaching other web designers and
124+
developers?
125+
</p>
126+
<p className="text-6xl dark:text-secondary-400 text-secondary-300">
127+
We&lsquo;d love to help!
128+
</p>
129+
<p className="text-2xl">
130+
Purrfect.dev is a weekly podcast that focuses on
131+
developer&lsquo;s backgrounds, tools and tiips.
132+
</p>
133+
<p className="text-2xl">
134+
We aim to keep listeners up to date on teh latest technology and
135+
best practices, along with guiding developers on their journey
136+
and helping them use tools in their everyday workflow.
137+
</p>
138+
</div>
139+
</div>
140+
<div className="flex flex-wrap justify-center dark:bg-basics-600 bg-primary-500 text-primary-50 rounded-xl">
141+
<div className="flex justify-center w-full gap-4 p-8 font-extrabold">
142+
<p className="text-4xl">
143+
<span className="text-8xl dark:text-secondary-400 text-secondary-300">
144+
Why
145+
</span>
146+
<span className="font-bold">do we make the podcast?</span>
147+
</p>
148+
</div>
149+
<div className="flex flex-col w-full max-w-xl gap-4 p-8 font-extrabold">
150+
<p className="text-2xl">
151+
Alex and Brittney both have a passion for teaching and the
152+
<span className="dark:text-secondary-400 text-secondary-300">
153+
{' '}
154+
Purrfect.dev{' '}
155+
</span>
156+
podcast is an extension of that passion!
157+
</p>
158+
</div>
159+
<div className="flex flex-wrap justify-center sm:flex-nowrap">
160+
<div className="flex flex-col gap-4 p-8 font-extrabold">
161+
<p className="text-2xl">
162+
<span className="dark:text-secondary-400 text-secondary-300">
163+
Alex{' '}
164+
</span>
165+
created CodingCat.dev so that everyone has access to a great
166+
learning platform and a safe learning community. He has a
167+
primary background in web development and architecture.
168+
</p>
169+
</div>
170+
<div className="flex flex-col gap-4 p-8 font-extrabold">
171+
<p className="text-2xl">
172+
<span className="dark:text-secondary-400 text-secondary-300">
173+
Brittney{' '}
174+
</span>
175+
joined Alex to complete the design of CodingCat.dev and then
176+
joined Purrfect.dev to give a designer turned
177+
developer&lsquo;s perspective to the discussion.
178+
</p>
179+
</div>
180+
</div>
181+
</div>
182+
<div className="flex flex-wrap justify-center dark:bg-basics-600 bg-primary-500 text-primary-50 rounded-xl">
183+
<div className="flex justify-center w-full gap-4 p-8 font-extrabold">
184+
<p className="text-4xl">
185+
<span className="text-8xl dark:text-secondary-400 text-secondary-300">
186+
Where
187+
</span>
188+
<span className="font-bold">
189+
{' '}
190+
do we distribute the podcast?
191+
</span>
192+
</p>
193+
</div>
194+
<div className="flex flex-col w-full max-w-xl gap-4 p-8 font-extrabold">
195+
<p className="text-2xl">
196+
Our podcast is very visual and interactive, so we first
197+
livestream to{' '}
198+
<a
199+
href="https://twitch.tv/codingcatdev"
200+
rel="noreferrer"
201+
target="_blank"
202+
className="dark:text-secondary-400 text-secondary-300"
203+
>
204+
Twitch
205+
</a>{' '}
206+
then the episodes receive a number for release and are released
207+
to all the below syndication platforms.
208+
</p>
209+
</div>
210+
<div className="flex flex-wrap justify-center mb-8 sm:flex-nowrap">
211+
<PurrfectDevPodcatchers />
212+
</div>
213+
</div>
214+
<div className="flex flex-wrap justify-center py-8 dark:bg-basics-600 bg-primary-500 text-primary-50 rounded-xl">
215+
<p className="flex justify-center w-full text-6xl font-bold">
216+
Sponsoring is Purrfect for:
217+
</p>
218+
<div className="flex flex-col max-w-xl gap-4 p-8 font-extrabold">
219+
<div className="grid grid-cols-[3rem_1fr] items-center text-2xl">
220+
<div className="w-12">{arrow()}</div>
221+
<div>
222+
Web design and development tools, software and services
223+
</div>
224+
225+
<div className="w-12">{arrow()}</div>
226+
<div>Teams looking to hire</div>
227+
228+
<div className="w-12">{arrow()}</div>
229+
<div>Technical training material and courses</div>
230+
231+
<div className="w-12">{arrow()}</div>
232+
<div>Technical software</div>
233+
234+
<div className="w-12">{arrow()}</div>
235+
<div>Hardware products</div>
236+
</div>
237+
</div>
238+
</div>
239+
{[6, 7, 8, 9, 10, 11].map((x, i) => (
240+
<div className="w-full" key={x}>
92241
<Image
93-
src={`/main-codingcatdev-photo/2022_-_Sponsorship_${i + 1}.png`}
242+
src={`/main-codingcatdev-photo/2022_-_Sponsorship_${x + 1}.png`}
94243
alt="Purrfect.dev Sponsorship Image show logo."
95244
layout="responsive"
96245
width="1920"
@@ -100,9 +249,12 @@ export default function Sponsorship({
100249
</div>
101250
))}
102251

103-
<div ref={form} className="bg-white rounded">
252+
<div
253+
ref={form}
254+
className="flex flex-wrap justify-center py-8 bg-white text-primary-50 rounded-xl"
255+
>
104256
<iframe
105-
className="w-full border-none"
257+
className="w-full border-none rounded-xl"
106258
height="720px"
107259
src="https://notionforms.io/forms/sponsor-submissions"
108260
></iframe>

‎frontend/main/src/styles/globals.css‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)