Skip to content

Commit

Permalink
Update Otter Banner
Browse files Browse the repository at this point in the history
  • Loading branch information
HardeepAsrani committed Dec 11, 2023
1 parent 5646153 commit f43f154
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion assets/css/src/welcome-notice.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
.raft-welcome-notice {
position: relative;
padding-bottom: 0;
border-left: 1px solid #c3c4c7;

.notice-content {
display: flex;
width: 100%;
gap: 20px;
gap: 48px;

@media (--desktop) {
flex-direction: column-reverse;
Expand All @@ -31,6 +32,7 @@

.notice-title {
line-height: 1.5;
max-width: 700px;

span {
font-weight: 600;
Expand Down Expand Up @@ -83,6 +85,7 @@
display: block;
max-height: 300px;
max-width: 60%;
padding: 30px 0;

@media (--desktop) {
max-width: 80%;
Expand Down
Binary file modified assets/img/welcome-notice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions inc/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ public function render_welcome_notice() {

$notice_html .= '<h1 class="notice-title">';
/* translators: %s: Otter Blocks */
$notice_html .= sprintf( __( 'Get started with Raft in minutes, with %s', 'raft' ), '<span>Otter\'s FSE Onboarding</span>' );
$notice_html .= sprintf( __( 'Power-up your website building experience with %s: Seamless theme setup, advanced blocks and extra functionality for your site.', 'raft' ), '<strong>Otter Blocks</strong>' );

$notice_html .= '</h1>';

$notice_html .= '<p class="description">' . __( 'Change your site’s appearance, setup your templates, add new pages and much more, with Otter’s innovative Onboarding process.', 'raft' ) . '</p>';
$notice_html .= '<p class="description">' . __( 'Otter is a Gutenberg Blocks page builder plugin that adds new blocks and functionality to your theme, while optimising your page building experience. Now with Otter\'s new theme onboarding wizard, you can experience a streamlined and intuitive setup of your Raft theme in minutes.', 'raft' ) . '</p>';

$notice_html .= '<div class="actions">';

Expand Down

0 comments on commit f43f154

Please sign in to comment.