-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed CMS page, block nesting, content. Fixed composer nesting.
- Loading branch information
1 parent
73e5172
commit 92741fa
Showing
4 changed files
with
49 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
{ | ||
"name": "scandipwa/sample-data", | ||
"description": "Sample data for ScandiPWA", | ||
"type": "magento2-module", | ||
"require": { | ||
"magento/magento2-base": "^2.3.2" | ||
}, | ||
"autoload": { | ||
"files": [ | ||
"src/registration.php" | ||
], | ||
"psr-4": { | ||
"ScandiPWA\\SampleData\\": "src/" | ||
} | ||
}, | ||
"support": { | ||
"email": "[email protected]" | ||
}, | ||
"licence": [ | ||
"OSL-3.0" | ||
] | ||
"name": "scandipwa/sample-data", | ||
"description": "Sample data for ScandiPWA", | ||
"type": "magento2-module", | ||
"require": { | ||
"magento/magento2-base": "^2.3.2" | ||
}, | ||
"autoload": { | ||
"files": [ | ||
"src/registration.php" | ||
], | ||
"psr-4": { | ||
"ScandiPWA\\SampleData\\": "src/" | ||
} | ||
}, | ||
"support": { | ||
"email": "[email protected]" | ||
}, | ||
"licence": [ | ||
"OSL-3.0" | ||
] | ||
} |
35 changes: 24 additions & 11 deletions
35
src/files/data/html/cms-blocks/homepage-category-preview.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,26 @@ | ||
<div class="HomepageCategories"> | ||
<figure class="HomepageCategories-Figure"> | ||
<img src="{{media url=wysiwyg/homepage/two-woman-in-field.jpg}}" alt="Two woman in the field"> | ||
<figcaption class="HomepageCategories-Figcaption"><a href="/category/women" class="HomepageCategories-Button Button"> SHOP <strong>WOMEN</strong> </a></figcaption> | ||
</figure> | ||
<figure class="HomepageCategories-Figure"> | ||
<img src="{{media url=wysiwyg/homepage/man-on-the-roof.jpg}}" alt="Man on the roof"> | ||
<figcaption class="HomepageCategories-Figcaption"><a href="/category/men" class="HomepageCategories-Button Button"> SHOP <strong>MEN</strong> </a></figcaption> | ||
</figure> | ||
<figure class="HomepageCategories-Figure"> | ||
<img src="{{media url=wysiwyg/homepage/sunglasses-in-hands.jpg}}" alt="Sunglasses in hands"> | ||
</figure> | ||
<a href="/women.html"> | ||
<figure class="HomepageCategories-Figure"> | ||
<img src="{{media url=wysiwyg/homepage/two-woman-in-field.jpg}}" alt="Two woman in the field"> | ||
<figcaption class="HomepageCategories-Figcaption"> | ||
<p class="HomepageCategories-Button Button"> SHOP <strong>WOMEN</strong> </p> | ||
</figcaption> | ||
</figure> | ||
</a> | ||
<a href="/men.html"> | ||
<figure class="HomepageCategories-Figure"> | ||
<img src="{{media url=wysiwyg/homepage/man-on-the-roof.jpg}}" alt="Man on the roof"> | ||
<figcaption class="HomepageCategories-Figcaption"> | ||
<p class="HomepageCategories-Button Button"> SHOP <strong>MEN</strong> </p> | ||
</figcaption> | ||
</figure> | ||
</a> | ||
<a href="/women.html"> | ||
<figure class="HomepageCategories-Figure"> | ||
<img src="{{media url=wysiwyg/homepage/sunglasses-in-hands.jpg}}" alt="Sunglasses in hands"> | ||
<figcaption class="HomepageCategories-Figcaption"> | ||
<p class="HomepageCategories-Button Button"> SHOP <strong>WOMEN</strong> </p> | ||
</figcaption> | ||
</figure> | ||
</a> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
<p>{{widget type="Scandiweb\Slider\Block\Widget\Slider" slider_id="1"}} {{widget type="Magento\Cms\Block\Widget\Block" template="widget/static_block/default.phtml" block_id="1"}} {{widget type="Magento\Cms\Block\Widget\Block" template="widget/static_block/default.phtml" block_id="2"}} {{widget type="Magento\CatalogWidget\Block\Product\ProductsList" show_pager="0" products_count="12" template="Magento_CatalogWidget::product/widget/content/grid.phtml" cache_lifetime="2592000" conditions_encoded="^[`1`:^[`type`:`Magento||CatalogWidget||Model||Rule||Condition||Combine`,`aggregator`:`any`,`value`:`1`,`new_child`:``^],`1--1`:^[`type`:`Magento||CatalogWidget||Model||Rule||Condition||Product`,`attribute`:`category_ids`,`operator`:`==`,`value`:`3`^],`1--2`:^[`type`:`Magento||CatalogWidget||Model||Rule||Condition||Product`,`attribute`:`category_ids`,`operator`:`==`,`value`:`4`^]^]"}}</p> | ||
{{widget type="Scandiweb\Slider\Block\Widget\Slider" slider_id="1"}} | ||
{{widget type="Magento\Cms\Block\Widget\Block" template="widget/static_block/default.phtml" block_id="1"}} | ||
{{widget type="Magento\Cms\Block\Widget\Block" template="widget/static_block/default.phtml" block_id="2"}} | ||
{{widget type="Magento\CatalogWidget\Block\Product\ProductsList" show_pager="0" products_count="12" template="Magento_CatalogWidget::product/widget/content/grid.phtml" cache_lifetime="2592000" conditions_encoded="^[`1`:^[`type`:`Magento||CatalogWidget||Model||Rule||Condition||Combine`,`aggregator`:`any`,`value`:`1`,`new_child`:``^],`1--1`:^[`type`:`Magento||CatalogWidget||Model||Rule||Condition||Product`,`attribute`:`category_ids`,`operator`:`==`,`value`:`3`^],`1--2`:^[`type`:`Magento||CatalogWidget||Model||Rule||Condition||Product`,`attribute`:`category_ids`,`operator`:`==`,`value`:`4`^]^]"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
<h1 class="HomeSlider-Heading">SUMMER mood</h1> | ||
<p> | ||
<button class="Button">SEE DRESS COLLECTION</button> | ||
</p> | ||
<a href="/women.html" class="Button">SEE DRESS COLLECTION</a> |