Merge pull request #224 from bipproduction/fix/bug/colab

Fix/bug/colab
This commit is contained in:
Bagasbanuna02
2025-01-02 17:50:22 +08:00
committed by GitHub
28 changed files with 984 additions and 460 deletions

View File

@@ -63,7 +63,7 @@ export function ComponentGlobal_AvatarAndUsername({
<Text
c={MainColor.white}
fw={"bold"}
fz={fontSize ? fontSize : "sm"}
fz={fontSize ? fontSize : "md"}
lineClamp={1}
onClick={() => onCheckProfile()}
>

View File

@@ -2,6 +2,20 @@ import { AccentColor, MainColor } from "@/app_modules/_global/color";
import { Card } from "@mantine/core";
import React from "react";
/**
* ComponentGlobal_CardStyles
*
* A React component that renders a customizable card element.
*
* Props:
* - children (React.ReactNode): Content to be displayed inside the card.
* - backgroundColor (string, optional): Background color of the card. Defaults to AccentColor.darkblue.
* - border (string, optional): Border color of the card. Defaults to AccentColor.blue.
* - marginBottom (string | number, optional): Margin below the card. Defaults to "15px".
* - height (string | number, optional): Height of the card. Defaults to "auto".
* - color (string, optional): Text color inside the card. Defaults to MainColor.white.
* - onClickHandler (React.MouseEventHandler<HTMLDivElement>, optional): Function to handle click events on the card.
*/
export function ComponentGlobal_CardStyles({
children,
backgroundColor,