-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare VAR for C24_WMDE_Desktop_EN_06
Add double progress bar to VAR Ticket: https://phabricator.wikimedia.org/T381396
- Loading branch information
Showing
9 changed files
with
99 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import CustomAmountFormEn from '@src/components/DonationForm/Forms/messages/CustomAmountForm.en'; | ||
import DynamicCampaignTextEn from '@src/utils/DynamicContent/messages/DynamicCampaignText.en'; | ||
import { TranslationMessages } from '@src/Translator'; | ||
import UpgradeToYearlyEn from '@src/components/DonationForm/Forms/messages/UpgradeToYearly.en'; | ||
import SoftCloseEn from '@src/components/SoftClose/messages/SoftClose.en'; | ||
import AddressFormEn from '@src/components/DonationForm/Forms/messages/AddressForm.en'; | ||
import FooterEn from '@src/components/Footer/messages/Footer.en'; | ||
import MainDonationFormEn from '@src/components/DonationForm/Forms/messages/MainDonationForm.en'; | ||
import AlreadyDonatedModalEn from '@src/components/AlreadyDonatedModal/translations/AlreadyDonatedModal.en'; | ||
import FallbackBanner from '@src/components/FallbackBanner/messages/FallbackBanner.en'; | ||
import DoubleProgressBarEn from '@src/components/ProgressBar/messages/DoubleProgressBar.en'; | ||
|
||
const messages: TranslationMessages = { | ||
...CustomAmountFormEn, | ||
...DynamicCampaignTextEn, | ||
...UpgradeToYearlyEn, | ||
...SoftCloseEn, | ||
...AddressFormEn, | ||
...FooterEn, | ||
...MainDonationFormEn, | ||
...AlreadyDonatedModalEn, | ||
...FallbackBanner, | ||
...DoubleProgressBarEn, | ||
'upgrade-to-yearly-copy': '<p>Every year we are dependent on the support of people like you. Yearly donations ' + | ||
'help sustainably and enable long term development.</p>' + | ||
'<p>No risks attached, you can tell us to stop at any time.</p>' | ||
}; | ||
|
||
export default messages; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
banners/english/C24_WMDE_Desktop_EN_06/styles/MainBannerVar.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
$banner-height: 357px !default; | ||
$form-width: 300px !default; | ||
|
||
.wmde-banner { | ||
&-main { | ||
min-height: $banner-height; | ||
display: flex; | ||
flex-direction: column; | ||
padding: 12px 24px 0; | ||
} | ||
|
||
&-content { | ||
display: flex; | ||
flex-direction: row; | ||
flex-grow: 1; | ||
} | ||
|
||
&-message { | ||
padding: 0 15px; | ||
border: 5px solid var( --message-border ); | ||
border-radius: 9px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
&-slider-container { | ||
border: 5px solid var( --message-border ); | ||
border-radius: 9px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
&-column-left { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
flex: 1 1 auto; | ||
overflow-y: hidden; | ||
margin-right: 30px; | ||
padding: 0 0 10px; | ||
background: var( --message-background ); | ||
} | ||
|
||
&-column-right { | ||
order: 2; | ||
flex: 0 0 $form-width; | ||
display: flex; | ||
flex-direction: column; | ||
width: $form-width; | ||
padding: 10px 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { TranslationMessages } from '@src/Translator'; | ||
|
||
const translations: TranslationMessages = { | ||
'double-progress-close': 'Time is running out!' | ||
}; | ||
|
||
export default translations; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters