### What problem does this PR solve? Fix: Home and team page style adjustment, and some bug fixes #10703 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
24 lines
699 B
TypeScript
24 lines
699 B
TypeScript
import { Card, CardContent, CardHeader } from '@/components/ui/card';
|
|
import { PropsWithChildren } from 'react';
|
|
|
|
export function Title({ children }: PropsWithChildren) {
|
|
return <span className="font-bold text-xl">{children}</span>;
|
|
}
|
|
|
|
type ProfileSettingWrapperCardProps = {
|
|
header: React.ReactNode;
|
|
} & PropsWithChildren;
|
|
|
|
export function ProfileSettingWrapperCard({
|
|
header,
|
|
children,
|
|
}: ProfileSettingWrapperCardProps) {
|
|
return (
|
|
<Card className="w-full border-border-button bg-transparent relative">
|
|
<CardHeader className="border-b border-border-button p-5">
|
|
{header}
|
|
</CardHeader>
|
|
<CardContent className="p-5">{children}</CardContent>
|
|
</Card>
|
|
);
|
|
}
|