Deskripsi:
Event:
Add app/(application)/(user)/event/(tabs)/contribution.tsx
app/(application)/(user)/event/(tabs)/history.tsx
Fix modified: app/(application)/(user)/event/(tabs)/_layout.tsx
deleted: app/(application)/(user)/event/(tabs)/kontribusi.tsx
deleted: app/(application)/(user)/event/(tabs)/riwayat.tsx
modified: app/(application)/(user)/event/[id]/publish.tsx
# No Issue
This commit is contained in:
46
app/(application)/(user)/event/(tabs)/contribution.tsx
Normal file
46
app/(application)/(user)/event/(tabs)/contribution.tsx
Normal file
@@ -0,0 +1,46 @@
|
||||
import {
|
||||
AvatarCustom,
|
||||
AvatarUsernameAndOtherComponent,
|
||||
BaseBox,
|
||||
Grid,
|
||||
StackCustom,
|
||||
TextCustom,
|
||||
ViewWrapper,
|
||||
} from "@/components";
|
||||
|
||||
export default function Kontribusi() {
|
||||
return (
|
||||
<ViewWrapper hideFooter>
|
||||
{Array.from({ length: 10 }).map((_, index) => (
|
||||
<BaseBox 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]}
|
||||
</TextCustom>
|
||||
}
|
||||
/>
|
||||
|
||||
<TextCustom bold align="center" size="xlarge">
|
||||
Judul Event Disini
|
||||
</TextCustom>
|
||||
|
||||
<Grid>
|
||||
{Array.from({ length: 4 }).map((_, index2) => (
|
||||
<Grid.Col span={3} key={index2}>
|
||||
<AvatarCustom size="sm" href={`/profile/${index2}`} />
|
||||
</Grid.Col>
|
||||
))}
|
||||
</Grid>
|
||||
</StackCustom>
|
||||
</BaseBox>
|
||||
))}
|
||||
</ViewWrapper>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user