Settings tweaks

This commit is contained in:
Gavin McDonald
2025-07-03 14:31:32 -04:00
parent ed6fef5ef1
commit 97b6b66bad
5 changed files with 27 additions and 21 deletions

View File

@@ -1,14 +1,11 @@
'use client';
import { useAppContext } from '@/app/AppContext';
import BuyMeACoffee from '@/components/BuyMeACoffee';
import GitHubButton from '@/components/GitHubButton';
export default function CardStyle() {
const { isDM } = useAppContext();
export default function CardStyle({ className }: { className?: string }) {
return (
<span className={`w-full flex flex-row ${isDM ? 'justify-evenly' : 'justify-between'}`}>
<span className={`w-full flex flex-row justify-between ${className}`}>
<GitHubButton className="h-[35px] w-[125px]" />
<BuyMeACoffee className="h-[35px] w-[125px]" />
</span>