Deskripsi

Event:
Add  app/(application)/(user)/event/[id]/history

# No Issue"
This commit is contained in:
2025-07-22 15:20:53 +08:00
parent 814f261881
commit 81d86885f4
6 changed files with 58 additions and 40 deletions

View File

@@ -1,28 +1,25 @@
import {
AvatarCustom,
AvatarUsernameAndOtherComponent,
BaseBox,
BoxWithHeaderSection,
Grid,
StackCustom,
TextCustom,
ViewWrapper,
ViewWrapper
} from "@/components";
import React from "react";
export default function EventContribution() {
return (
<ViewWrapper hideFooter>
{Array.from({ length: 10 }).map((_, index) => (
<BaseBox key={index} href={`/event/${index}/contribution`}>
<BoxWithHeaderSection key={index} href={`/event/${index}/contribution`}>
<StackCustom>
<AvatarUsernameAndOtherComponent
avatarHref={`/profile/${index}`}
rightComponent={
<TextCustom truncate>
{new Date().toDateString().split(" ")[2] +
", " +
new Date().toDateString().split(" ")[1] +
" " +
new Date().toDateString().split(" ")[3]}
{new Date().toLocaleDateString()}
</TextCustom>
}
/>
@@ -39,7 +36,7 @@ export default function EventContribution() {
))}
</Grid>
</StackCustom>
</BaseBox>
</BoxWithHeaderSection>
))}
</ViewWrapper>
);

View File

@@ -1,9 +1,9 @@
import {
BaseBox,
BoxWithHeaderSection,
Grid,
ScrollableCustom,
StackCustom,
TextCustom,
TextCustom
} from "@/components";
import ViewWrapper from "@/components/_ShareComponent/ViewWrapper";
import { masterStatus } from "@/lib/dummy-data/_master/status";
@@ -35,7 +35,7 @@ export default function EventStatus() {
return (
<ViewWrapper headerComponent={scrollComponent}>
<BaseBox href={`/event/${id}/${activeCategory}/detail-event`}>
<BoxWithHeaderSection href={`/event/${id}/${activeCategory}/detail-event`}>
<StackCustom gap={"xs"}>
<Grid>
<Grid.Col span={8}>
@@ -57,7 +57,7 @@ export default function EventStatus() {
dolore optio porro!
</TextCustom>
</StackCustom>
</BaseBox>
</BoxWithHeaderSection>
</ViewWrapper>
);
}