Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Commit

Permalink
refactor: update welcome banner content
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Waldstein committed May 4, 2023
1 parent 23724db commit dbe9aa2
Showing 1 changed file with 36 additions and 19 deletions.
55 changes: 36 additions & 19 deletions src/NextGen/WelcomeBanner/resources/views/welcome-banner.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<style>
give_forms_page_give-forms #givewpNextGenWelcomeBanner,
.give_forms_page_give-forms #givewpNextGenWelcomeBanner,
.post-type-give_forms #givewpNextGenWelcomeBanner {
margin-left: 20px;
}

@media screen and (max-width: 1200px) {
section {
flex-basis: 100% !important;
Expand Down Expand Up @@ -68,10 +69,12 @@
font-weight: bold;
line-height: 1.33;
"><?php
_e('Welcome aboard! Help us test the new Visual Donation Form Builder', 'give'); ?></h2>
_e('Welcome to the GiveWP Visual Donation Form Builder Beta!', 'give'); ?></h2>
<div style="font-size: 16px;"><?php
_e('Create the donation form of your dreams using an easy-to-use visual donation form builder',
'give'); ?></div>
_e(
'It\'s the future of GiveWP: building forms using a block-based visual editor. This is the BIG feature of GiveWP 3.0, and represents a monumental shift toward empowering you to create donation forms like never before.',
'give'
); ?></div>
</header>


Expand Down Expand Up @@ -109,9 +112,9 @@
<!-- Create your new donation form -->
<div>
<h3 style="font-size: 16px;margin: 12px 0;"><?php
_e('Create your new donation form', 'give'); ?></h3>
_e('Create a New Donation Form', 'give'); ?></h3>
<p><?php
_e('The Visual donation form building experience is one click away', 'give'); ?></p>
_e('Go directly to the new form builder and get started exploring!', 'give'); ?></p>
<a
href="<?php
echo admin_url('edit.php?post_type=give_forms&page=form-builder-next-gen'); ?>"
Expand All @@ -132,10 +135,10 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none"
xmlns="http://www.w3.org/2000/svg">
<path d="M10 4.166v11.667M4.165 9.999h11.667" stroke="#2D802F" stroke-width="1.667"
stroke-linecap="round" stroke-linejoin="round" />
stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<?php
_e('Create a form using the new visual builder', 'give'); ?>
_e('Create a donation form using the new visual builder.', 'give'); ?>
</a>
<div style="
display: flex;
Expand All @@ -153,12 +156,18 @@
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M8 .666a7.333 7.333 0 1 0 0 14.667A7.333 7.333 0 0 0 8 .666zm0 4a.667.667 0 1 0 0 1.333h.006a.667.667 0 0 0 0-1.333h-.007zm.666 3.333a.667.667 0 0 0-1.333 0v2.667a.667.667 0 1 0 1.333 0V7.999z"
fill="#2D802F" />
fill="#2D802F"/>
</svg>
<div style="flex:1;">
<?php
printf(__('The Next Gen plugin is intended only for testing and feedback purposes.
Please do %s for live donations.', 'give'), '<strong>not use</strong>'); ?>
printf(
__(
'The Beta plugin is intended only for testing and feedback purposes.
Please do %s for live donations.',
'give'
),
'<strong>not use</strong>'
); ?>
</div>
</div>
</div>
Expand Down Expand Up @@ -192,13 +201,17 @@
background-color: var(--givewp-blue-25);
">
<img style="width: 100%;" src="<?php
echo esc_attr(GIVE_NEXT_GEN_URL . '/src/NextGen/WelcomeBanner/resources/design-mode.min.png'); ?>"
echo esc_attr(
GIVE_NEXT_GEN_URL . '/src/NextGen/WelcomeBanner/resources/design-mode.min.png'
); ?>"
alt="">
<h3><?php
_e('Design mode', 'give'); ?></h3>
_e('Design Mode', 'give'); ?></h3>
<div><?php
_e('Toggle the “Design” tab and customize the colors and features of your form based on the Form Design you choose.',
'give'); ?></div>
_e(
'See exactly what your form looks like for potential donors using the "Design" tab of the builder. Changes are visible immediately.',
'give'
); ?></div>
</div>

<!-- Custom fields -->
Expand All @@ -211,13 +224,17 @@
background-color: var(--givewp-blue-25);
">
<img style="width: 100%;" src="<?php
esc_attr_e(GIVE_NEXT_GEN_URL . '/src/NextGen/WelcomeBanner/resources/custom-fields.min.png'); ?>"
esc_attr_e(
GIVE_NEXT_GEN_URL . '/src/NextGen/WelcomeBanner/resources/custom-fields.min.png'
); ?>"
alt="">
<h3><?php
_e('Custom field support', 'give'); ?></h3>
_e('Custom Fields and Sections', 'give'); ?></h3>
<div><?php
_e('Add custom fields to your form. Drag and drop them where you need, to any section. Even add new drag-and-droppable sections!',
'give'); ?></div>
_e(
'Add custom input fields, custom paragraphs/content, and even entire sections to forms. No code required!',
'give'
); ?></div>
</div>
</div>
</section>
Expand Down

0 comments on commit dbe9aa2

Please sign in to comment.