+
+
-
+
@@ -37,21 +56,28 @@ export const FundingDetails = ({ status, title, raised, goal, imageUrl, imageAlt
-
{percent}% funded
+
+ {percent}% funded with {timeLabel}
+
+
+ {categories && categories.length > 0 && (
+
+ {categories.map((cat) => (
+
+ ))}
+
+ )}
-
{/* Image */}
-
-

+
+
>
diff --git a/lib/components/FundingDetails/styles.css b/lib/components/FundingDetails/styles.css
index 7910c8bb0..9a24d4bd0 100644
--- a/lib/components/FundingDetails/styles.css
+++ b/lib/components/FundingDetails/styles.css
@@ -1,30 +1,3 @@
-/* TODO GLOBAL: negative top based on primary spacing */
-.cu-main > .cu-section > .cu-fullbanner:first-of-type {
- @apply -mt-6 lg:-mt-10;
-}
-
-.cu-main > .cu-section > .cu-fullbanner:first-of-type video {
- @apply mt-0;
-}
-
-/* TODO GLOBAL: negative bottom based on primary spacing */
-.cu-main > .cu-section--primary > .cu-fullbanner:last-child {
- @apply -mb-6 lg:-mb-10;
-}
-
-.cu-fullbanner .cu-pageheader {
- @apply mb-0;
-}
-
-.cu-fullbanner img {
- @apply rounded-none m-0;
-}
-
-.cu-fullbanner h1,
-.cu-fullbanner h2,
-.cu-fullbanner h3,
-.cu-fullbanner h4,
-.cu-fullbanner h5,
-.cu-fullbanner h6 {
- @apply text-white;
+.cu-fundingdetails p + .cu-badgegroup {
+ @apply pt-5;
}
diff --git a/lib/examples/projects/futurefunder/SingleProject.stories.tsx b/lib/examples/projects/futurefunder/SingleProject.stories.tsx
index 745641c8c..4d3a70d81 100644
--- a/lib/examples/projects/futurefunder/SingleProject.stories.tsx
+++ b/lib/examples/projects/futurefunder/SingleProject.stories.tsx
@@ -4,6 +4,7 @@ import { Main } from '../../../layouts/Main/Main'
import { Section } from '../../../layouts/Section/Section'
import { FooterStandard } from '../../../components/Footer/FooterStandard/FooterStandard'
import { Nav } from '../../../components/Nav/Nav'
+import { PageHeader } from '../../../components/PageHeader/PageHeader'
import { FundingDetails } from '../../../components/FundingDetails/FundingDetails'
import { NavButtonsData, NavFutureFunder } from '../../../data/NavData'
@@ -46,20 +47,32 @@ export const SingleProject: Story = {
-
+
+
+
+
+
+
+
+
+
+
+
+ The primary donation form would be placed here.
diff --git a/lib/style.css b/lib/style.css
index 5cf5cd45d..c3489b677 100644
--- a/lib/style.css
+++ b/lib/style.css
@@ -25,6 +25,7 @@
@import './components/Form/styles.css';
@import './components/Form/AutoSuggest/styles.css';
@import './components/Form/DateTime/styles.css';
+@import './components/FundingDetails/styles.css';
@import './components/ImageGrid/styles.css';
@import './components/Listing/styles.css';
@import './components/Nav/priority-plus/priority-plus.css';