diff --git a/src/Components/Profile/Subcomponents/CrowdfundingView.tsx b/src/Components/Profile/Subcomponents/CrowdfundingView.tsx new file mode 100644 index 00000000..59e6cd22 --- /dev/null +++ b/src/Components/Profile/Subcomponents/CrowdfundingView.tsx @@ -0,0 +1,23 @@ +import type { Item } from '#types/Item' + +export const CrowdfundingView = ({ item }: { item: Item }) => { + return ( +
+
+
+
+
Received
+
$89,400
+
from 12 patrons
+
+ +
+ +
+
+
+
+ ) +} diff --git a/src/Components/Profile/Templates/FlexView.tsx b/src/Components/Profile/Templates/FlexView.tsx index 2d98ec74..7958600e 100644 --- a/src/Components/Profile/Templates/FlexView.tsx +++ b/src/Components/Profile/Templates/FlexView.tsx @@ -1,6 +1,7 @@ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ import { ContactInfoView } from '#components/Profile/Subcomponents/ContactInfoView' +import { CrowdfundingView } from '#components/Profile/Subcomponents/CrowdfundingView' import { GalleryView } from '#components/Profile/Subcomponents/GalleryView' import { GroupSubHeaderView } from '#components/Profile/Subcomponents/GroupSubHeaderView' import { ProfileStartEndView } from '#components/Profile/Subcomponents/ProfileStartEndView' @@ -15,6 +16,7 @@ const componentMap = { contactInfos: ContactInfoView, startEnd: ProfileStartEndView, gallery: GalleryView, + crowdfundings: CrowdfundingView, // weitere Komponenten hier }