From cfd6d82fa8a7cba38ba465e2ee653c9cc0cd7d27 Mon Sep 17 00:00:00 2001 From: Brad Parbs Date: Tue, 28 Nov 2023 10:35:10 -0600 Subject: [PATCH 1/2] Update console ascii art --- src/index.js | 46 ++++++++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 20 deletions(-) diff --git a/src/index.js b/src/index.js index 728ede72c..df7577997 100644 --- a/src/index.js +++ b/src/index.js @@ -6,27 +6,33 @@ import { createRoot, render } from '@wordpress/element'; import App from './app'; const WP_ADM_PAGE_ROOT_ELEMENT = 'wppbh-app'; -const W_ASCI = ` - Welcome to Bluehost! -@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ -@@@(((((((((@@((((((((((@@(((((((((@@@ -@@@(((((((((@@((((((((((@@(((((((((@@@ -@@@(((((((((@@((((((((((@@(((((((((@@@ -@@@(((((((((@@((((((((((@@(((((((((@@@ -@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ -@@@(((((((((@@((((((((((@@(((((((((@@@ -@@@(((((((((@@((((((((((@@(((((((((@@@ -@@@(((((((((@@((((((((((@@(((((((((@@@ -@@@(((((((((@@((((((((((@@(((((((((@@@ -@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ -@@@(((((((((@@((((((((((@@(((((((((@@@ -@@@(((((((((@@((((((((((@@(((((((((@@@ -@@@(((((((((@@((((((((((@@(((((((((@@@ -@@@(((((((((@@((((((((((@@(((((((((@@@ -@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ -`; + // eslint-disable-next-line no-console -console.log( W_ASCI ); +console.log(` +%cWelcome to Bluehost! + +%c +██████████████████████████████████████ +███ ██ ██ ███ +███ ██ ██ ███ +███ ██ ██ ███ +███ ██ ██ ███ +██████████████████████████████████████ +███ ██ ██ ███ +███ ██ ██ ███ +███ ██ ██ ███ +███ ██ ██ ███ +██████████████████████████████████████ +███ ██ ██ ███ +███ ██ ██ ███ +███ ██ ██ ███ +███ ██ ██ ███ +██████████████████████████████████████ +`, + 'color: #196bde; font-size: 2em; font-weight: 900;', + 'background: #fff; color: #196bde; font-weight: 400;' +); + const WPPBHRender = () => { const DOM_ELEMENT = document.getElementById( WP_ADM_PAGE_ROOT_ELEMENT ); From 944cb60aee106a3d47419bb879316ff0581fad52 Mon Sep 17 00:00:00 2001 From: Brad Parbs Date: Tue, 28 Nov 2023 10:45:10 -0600 Subject: [PATCH 2/2] Fix linting --- src/index.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/index.js b/src/index.js index df7577997..41eee7b34 100644 --- a/src/index.js +++ b/src/index.js @@ -8,8 +8,7 @@ import App from './app'; const WP_ADM_PAGE_ROOT_ELEMENT = 'wppbh-app'; // eslint-disable-next-line no-console -console.log(` -%cWelcome to Bluehost! +console.log(`%cWelcome to Bluehost! %c ██████████████████████████████████████ @@ -28,10 +27,7 @@ console.log(` ███ ██ ██ ███ ███ ██ ██ ███ ██████████████████████████████████████ -`, - 'color: #196bde; font-size: 2em; font-weight: 900;', - 'background: #fff; color: #196bde; font-weight: 400;' -); +`, 'color: #196bde; font-size: 2em; font-weight: 900;', 'background: #fff; color: #196bde; font-weight: 400;'); const WPPBHRender = () => {