Fix QC Ayu
Fix: - modified: app/(application)/(user)/event/[id]/publish.tsx - modified: app/(application)/(user)/event/create.tsx - modified: app/(application)/(user)/portofolio/[id]/create.tsx - modified: app/(application)/(user)/portofolio/[id]/edit.tsx - modified: app/(application)/admin/collaboration/[id]/group.tsx - modified: app/(application)/admin/collaboration/group.tsx - modified: app/(application)/admin/collaboration/publish.tsx - modified: app/(application)/admin/forum/[id]/list-report-comment.tsx - modified: app/(application)/admin/forum/[id]/list-report-posting.tsx - modified: app/(application)/admin/forum/posting.tsx - modified: app/(application)/admin/forum/report-comment.tsx - modified: app/(application)/admin/forum/report-posting.tsx - modified: app/(application)/admin/voting/[status]/status.tsx - modified: app/(application)/admin/voting/history.tsx - modified: components/Select/SelectCustom.tsx - modified: components/_ShareComponent/GridSpan_4_8.tsx - modified: screens/Authentication/LoginView.tsx - modified: screens/Collaboration/BoxPublishSection.tsx - modified: screens/Event/BoxDetailPublishSection.tsx - modified: screens/Home/topFeatureSection.tsx - modified: screens/Portofolio/ButtonCreatePortofolio.tsx Add: - components/_ShareComponent/GridSpan_NewComponent.tsx ### No Issue
This commit is contained in:
@@ -87,7 +87,7 @@ const SelectCustom: React.FC<SelectProps> = ({
|
||||
borderRadius,
|
||||
flexDirection: "row",
|
||||
alignItems: "center",
|
||||
paddingHorizontal: 10,
|
||||
// paddingHorizontal: 0,
|
||||
height: 50,
|
||||
},
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Grid } from "@/components";
|
||||
|
||||
export const GridSpan_4_8 = ({
|
||||
label,
|
||||
value,
|
||||
label: text1,
|
||||
value: text2,
|
||||
}: {
|
||||
label: React.ReactNode;
|
||||
value: React.ReactNode;
|
||||
@@ -17,10 +17,10 @@ export const GridSpan_4_8 = ({
|
||||
paddingLeft: 8,
|
||||
}}
|
||||
>
|
||||
{label}
|
||||
{text1}
|
||||
</Grid.Col>
|
||||
<Grid.Col span={8} style={{ justifyContent: "center", paddingRight: 8 }}>
|
||||
{value}
|
||||
{text2}
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
);
|
||||
|
||||
54
components/_ShareComponent/GridSpan_NewComponent.tsx
Normal file
54
components/_ShareComponent/GridSpan_NewComponent.tsx
Normal file
@@ -0,0 +1,54 @@
|
||||
import { Grid } from "@/components";
|
||||
|
||||
export const GridSpan_NewComponent = ({
|
||||
text1,
|
||||
text2,
|
||||
text3,
|
||||
text4,
|
||||
span1,
|
||||
span2,
|
||||
}: {
|
||||
text1: React.ReactNode;
|
||||
text2: React.ReactNode;
|
||||
text3?: React.ReactNode;
|
||||
text4?: React.ReactNode;
|
||||
span1?: number;
|
||||
span2?: number;
|
||||
}) => {
|
||||
return (
|
||||
<Grid>
|
||||
<Grid.Col
|
||||
span={span1 ? span1 : text4 ? 3 : 4}
|
||||
style={{
|
||||
justifyContent: "flex-start",
|
||||
paddingRight: 5,
|
||||
paddingLeft: 5,
|
||||
}}
|
||||
>
|
||||
{text1}
|
||||
</Grid.Col>
|
||||
<Grid.Col
|
||||
span={span2 ? span2 : text4 ? 3 : text3 ? 4 : 8}
|
||||
style={{ justifyContent: "flex-start", paddingRight: 5 }}
|
||||
>
|
||||
{text2}
|
||||
</Grid.Col>
|
||||
{text3 && (
|
||||
<Grid.Col
|
||||
span={text4 ? 3 : 4}
|
||||
style={{ justifyContent: "flex-start", paddingRight: 5 }}
|
||||
>
|
||||
{text3}
|
||||
</Grid.Col>
|
||||
)}
|
||||
{text4 && (
|
||||
<Grid.Col
|
||||
span={3}
|
||||
style={{ justifyContent: "flex-start", paddingRight: 5 }}
|
||||
>
|
||||
{text4}
|
||||
</Grid.Col>
|
||||
)}
|
||||
</Grid>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user