From a78ace547632fc04366d87dbb7ae153f6fa75fb2 Mon Sep 17 00:00:00 2001 From: Justin Foell <630830+jrfoell@users.noreply.github.com> Date: Fri, 31 Jan 2020 11:47:39 -0600 Subject: [PATCH] Cleaned up route skeleton --- src/blocks/route/editor.css | 9 ----- src/blocks/route/{src => }/index.js | 0 src/blocks/route/index.php | 56 ----------------------------- src/blocks/route/style.css | 11 ------ 4 files changed, 76 deletions(-) delete mode 100644 src/blocks/route/editor.css rename src/blocks/route/{src => }/index.js (100%) delete mode 100644 src/blocks/route/index.php delete mode 100644 src/blocks/route/style.css diff --git a/src/blocks/route/editor.css b/src/blocks/route/editor.css deleted file mode 100644 index 683f6b8..0000000 --- a/src/blocks/route/editor.css +++ /dev/null @@ -1,9 +0,0 @@ -/** - * The following styles get applied inside the editor only. - * - * Replace them with your own styles or remove the file completely. - */ - -.wp-block-wp-strava-route { - border: 1px dotted #f00; -} diff --git a/src/blocks/route/src/index.js b/src/blocks/route/index.js similarity index 100% rename from src/blocks/route/src/index.js rename to src/blocks/route/index.js diff --git a/src/blocks/route/index.php b/src/blocks/route/index.php deleted file mode 100644 index f649e64..0000000 --- a/src/blocks/route/index.php +++ /dev/null @@ -1,56 +0,0 @@ - 'route-block-editor', - 'editor_style' => 'route-block-editor', - 'style' => 'route-block', - ) ); -} -add_action( 'init', 'route_block_init' ); diff --git a/src/blocks/route/style.css b/src/blocks/route/style.css deleted file mode 100644 index 7d3fb35..0000000 --- a/src/blocks/route/style.css +++ /dev/null @@ -1,11 +0,0 @@ -/** - * The following styles get applied both on the front of your site and in the editor. - * - * Replace them with your own styles or remove the file completely. - */ - -.wp-block-wp-strava-route { - background-color: #000; - color: #fff; - padding: 2px; -}