Skip to content

Commit ec18ec2

Browse files
authored
Merge pull request CodingCatDev#392 from CodingCatDev/dev
Prod release
2 parents c86429f + 6319251 commit ec18ec2

File tree

2 files changed

+10
-22
lines changed

2 files changed

+10
-22
lines changed

frontend/main/src/components/user/Profile.tsx

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -48,31 +48,16 @@ export default function Profile({
4848
</span>{' '}
4949
and join CodingCat.dev
5050
</h1>
51-
<h2 className="mt-4 font-sans text-lg lg:text-lg text-basics-600">
52-
Get access to all of the exclusive content and up your coding
53-
skills.
54-
</h2>
5551
</div>
5652
{products && <MembershipCards products={products} />}
5753
</section>
5854

59-
{/* Feels Misleading, removing for now */}
60-
{/* <section>
61-
<div className="w-full py-4 text-center bg-primary-900 dark:bg-primary-900 text-basics-50 dark:text-basics-50 lg:px-4">
62-
<div
63-
className="flex items-center p-2 leading-none lg:rounded-full lg:inline-flex"
64-
role="alert"
65-
>
66-
<span className="flex-auto mr-2 font-semibold text-left">
67-
Pro Features
68-
</span>
69-
</div>
70-
</div>
71-
<div className="w-full p-8 text-2xl font-bold tracking-wide text-center uppercase border-b text-primary-900 border-primary-900">
72-
Why Go Pro?
73-
</div>
55+
<section className="mt-2 md:mt-8">
7456
<div className="flex justify-center m-3">
7557
<ul>
58+
<div className="w-full p-8 mb-2 text-2xl font-bold tracking-wide text-center uppercase border-b text-primary-900 border-primary-900">
59+
Why Go Pro?
60+
</div>
7661
<li className="flex items-center">
7762
<div className="p-3 rounded-full fill-current bg-primary-100 text-primary-900">
7863
<svg
@@ -115,6 +100,9 @@ export default function Profile({
115100
</span>
116101
</div>
117102
</li>
103+
<div className="w-full p-8 mb-2 text-2xl font-bold tracking-wide text-center uppercase border-b text-primary-900 border-primary-900">
104+
Future Features
105+
</div>
118106
<li className="flex items-center mt-3">
119107
<div className="p-3 rounded-full fill-current bg-primary-100 text-primary-900">
120108
<svg
@@ -176,7 +164,7 @@ export default function Profile({
176164
</li>
177165
</ul>
178166
</div>
179-
</section> */}
167+
</section>
180168
</>
181169
)}
182170
</>

frontend/main/src/pages/404.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ export async function getStaticProps({
2727

2828
return {
2929
props: {
30-
header: header || null,
31-
footer: footer || null,
30+
header: header?.[0] ? header[0] : null,
31+
footer: footer?.[0] ? footer[0] : null,
3232
},
3333
revalidate: 5,
3434
};

0 commit comments

Comments
 (0)