Skip to content

Commit

Permalink
remove kofi on profile card for now (round one doesnt work well)
Browse files Browse the repository at this point in the history
  • Loading branch information
GraemeFulton committed Aug 19, 2024
1 parent c922487 commit 899e1a4
Show file tree
Hide file tree
Showing 3 changed files with 392 additions and 393 deletions.
7 changes: 3 additions & 4 deletions components/people/ProfileCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,16 @@ export default function ProfileCard({
) : (
<div className="w-[54px] h-[54px] mb-3 rounded-full bg-gray-100" />
)}
{kofi && (
{/* {kofi && (
<div className="absolute z-10 bottom-0 right-0 -mb-[8px] -mr-[8px]">
{/* <h2 className="font-medium text-sm mb-2 text-gray-700">Support {author?.firstName?author?.firstName:''}</h2> */}
<KoFiButton
size=" w-7 h-7"
color="#53b1e6"
// label={"Buy me a coffee"}
label={false}
id={kofi}
/>
</div>
)}
)} */}
</div>
</div>
<div className="flex flex-col h-full justify-between">
Expand Down
6 changes: 3 additions & 3 deletions lib/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export const NAV_OFFSET = 'pt-[84px]'
export const SIDEBAR_STICKY_OFFSET = 'pt-24'


export const TOTAL_STATIC_POSTS = process.env.NODE_ENV === 'production'?2:2;
export const TOTAL_STATIC_NEWSLETTERS = process.env.NODE_ENV === 'production'?2:2;
export const TOTAL_STATIC_NEWS = process.env.NODE_ENV === 'production'?2:2;
export const TOTAL_STATIC_POSTS = process.env.NODE_ENV === 'production'?5000:2;
export const TOTAL_STATIC_NEWSLETTERS = process.env.NODE_ENV === 'production'?1000:2;
export const TOTAL_STATIC_NEWS = process.env.NODE_ENV === 'production'?50:2;

export const jobTypes = [
{
Expand Down
Loading

0 comments on commit 899e1a4

Please sign in to comment.