diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue
index c7c1e8cfe..f782beae2 100644
--- a/webapp/components/ContributionForm/ContributionForm.vue
+++ b/webapp/components/ContributionForm/ContributionForm.vue
@@ -8,14 +8,19 @@
>
-
-
+
+
-
+
@@ -259,45 +264,35 @@ export default {
diff --git a/webapp/components/TeaserImage/TeaserImage.vue b/webapp/components/TeaserImage/TeaserImage.vue
index 16ee78678..6c346ffc8 100644
--- a/webapp/components/TeaserImage/TeaserImage.vue
+++ b/webapp/components/TeaserImage/TeaserImage.vue
@@ -91,7 +91,7 @@ export default {
this.closeCropper()
},
setupPreview(url) {
- const previewElement = document.querySelector('.preview-image')
+ const previewElement = document.querySelector('.image-uploader .preview-image')
previewElement.src = url
this.$nextTick((this.isLoadingImage = false))
},
@@ -108,6 +108,14 @@ export default {
min-height: 200px;
cursor: pointer;
+ .image + & {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ }
+
&:only-child {
background-color: $color-neutral-85;
}
@@ -116,12 +124,14 @@ export default {
pointer-events: none;
}
- .preview-image + & {
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
+ &.--blur-image .preview-image {
+ filter: blur(22px);
+ }
+
+ .preview-image {
+ width: 100%;
+ max-height: 2000px;
+ object-fit: contain;
}
> .crop-overlay {
diff --git a/webapp/components/_new/generic/BaseCard/BaseCard.story.js b/webapp/components/_new/generic/BaseCard/BaseCard.story.js
index 3462df4d1..184144c8d 100644
--- a/webapp/components/_new/generic/BaseCard/BaseCard.story.js
+++ b/webapp/components/_new/generic/BaseCard/BaseCard.story.js
@@ -9,18 +9,53 @@ storiesOf('Generic/BaseCard', module)
components: { BaseCard },
template: `
- I am a card heading
+ I am a card heading
And I am a paragraph.
`,
}))
- .add('with image', () => ({
+ .add('with slot: hero image', () => ({
components: { BaseCard },
template: `
-
- I am a card heading
+
+
+
+ I am a card heading
+ And I am a paragraph.
+
+ `,
+ }))
+
+ .add('with slot: image column', () => ({
+ components: { BaseCard },
+ template: `
+
+
+
+
+ I am a card heading
+ And I am a paragraph.
+
+ `,
+ }))
+
+ .add('with highlight prop', () => ({
+ components: { BaseCard },
+ template: `
+
+ I am a card heading
+ And I am a paragraph.
+
+ `,
+ }))
+
+ .add('with wideContent prop', () => ({
+ components: { BaseCard },
+ template: `
+
+ I am a card heading
And I am a paragraph.
`,
diff --git a/webapp/components/_new/generic/BaseCard/BaseCard.vue b/webapp/components/_new/generic/BaseCard/BaseCard.vue
index f84c4389f..ebfe97c7c 100644
--- a/webapp/components/_new/generic/BaseCard/BaseCard.vue
+++ b/webapp/components/_new/generic/BaseCard/BaseCard.vue
@@ -1,11 +1,49 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/webapp/pages/registration.vue b/webapp/pages/registration.vue
index 856e97b72..ce03ed86e 100644
--- a/webapp/pages/registration.vue
+++ b/webapp/pages/registration.vue
@@ -1,25 +1,24 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+