Support BlockName config - allows to rename the block.

This commit is contained in:
2022-04-23 16:54:54 +03:00
parent 2a64defd56
commit 41daff5390
10 changed files with 109 additions and 25 deletions
-13
View File
@@ -1,13 +0,0 @@
<section class="template">
<header class="template__header">
<h1 class="template__header-heading">Ready!</h1>
</header>
<div class="template__content">
<p>
Review the `/data` folder with JSON data files.<br>
Don't change data JSON files - use the data as it is.
</p>
<p>Build the layout based on provided data structure.</p>
</div>
</section>
+70
View File
@@ -0,0 +1,70 @@
<section class="template">
{{!
Remove Everything Below:
}}
<style>
code {
background-color: #eee;
color: #333;
padding: 1rem 1.5rem;
border: 2px solid #d8d8d8;
display: inline-block;
border-radius: 2px;
font-size: 14px;
}
</style>
<header class="template__header">
<h1 class="template__header-heading">Ready!</h1>
</header>
<div class="template__content">
<p>
Review the `/data` folder with JSON data files.<br>
Don't change data JSON files - use the data as it is.
</p>
<p>Build the layout based on provided data structure.</p>
<br><br>
<hr>
<h2>Image Example</h2>
<div>
<img src="images/demo.jpeg" alt="">
<br>
<code>
&lt;img src=&quot;images/demo.jpeg&quot; alt=&quot;&quot;&gt;
</code>
</div>
<br><br>
<hr>
<h2>Available Buttons Styling</h2>
<div>
<a href="#" class="btn btn--primary">Primary</a>
<br>
<code>
&lt;a href=&quot;#&quot; class=&quot;btn btn--primary&quot;&gt;Primary&lt;/a&gt;
</code>
</div>
<br>
<div>
<a href="#" class="btn btn--secondary">Secondary</a>
<br>
<code>
&lt;a href=&quot;#&quot; class=&quot;btn btn--secondary&quot;&gt;Secondary&lt;/a&gt;
</code>
</div>
</div>
{{!
Remove END
}}
</section>