Compare commits
2 Commits
6b1afe4bfe
...
4511b04b8f
| Author | SHA1 | Date | |
|---|---|---|---|
| 4511b04b8f | |||
| 3241feb54d |
@@ -5,11 +5,11 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"EtailWestTheme\\": "src/"
|
"EtailConferenceTheme\\": "src/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"shopware-plugin-class": "EtailWestTheme\\EtailWestTheme",
|
"shopware-plugin-class": "EtailConferenceTheme\\EtailConferenceTheme",
|
||||||
"label": {
|
"label": {
|
||||||
"en-GB": "eTail West theme plugin for presentation"
|
"en-GB": "eTail West theme plugin for presentation"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,19 +1,20 @@
|
|||||||
<?php declare(strict_types=1);
|
<?php declare(strict_types=1);
|
||||||
|
|
||||||
namespace EtailWestTheme;
|
namespace EtailConferenceTheme;
|
||||||
|
|
||||||
use Shopware\Core\Framework\Plugin;
|
use Shopware\Core\Framework\Plugin;
|
||||||
|
use Shopware\Storefront\Framework\ThemeInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class EtailWestTheme
|
* Class EtailConferenceTheme
|
||||||
*
|
*
|
||||||
* @package EtailWestTheme
|
* @package EtailConferenceTheme
|
||||||
* @author Lang <https://www.splendidbear.org>
|
* @author Lang <https://www.splendidbear.org>
|
||||||
* @category Class
|
* @category Class
|
||||||
* @license https://www.gnu.org/licenses/lgpl-3.0.en.html GNU Lesser General Public License
|
* @license https://www.gnu.org/licenses/lgpl-3.0.en.html GNU Lesser General Public License
|
||||||
* @link www.splendidbear.org
|
* @link www.splendidbear.org
|
||||||
* @since 2023. 02. 15.
|
* @since 2023. 02. 15.
|
||||||
*/
|
*/
|
||||||
class EtailWestTheme extends Plugin
|
class EtailConferenceTheme extends Plugin implements ThemeInterface
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
0
src/Resources/app/storefront/dist/storefront/js/etail-conference-theme.js
vendored
Normal file
0
src/Resources/app/storefront/dist/storefront/js/etail-conference-theme.js
vendored
Normal file
0
src/Resources/app/storefront/src/assets/.gitkeep
Normal file
0
src/Resources/app/storefront/src/assets/.gitkeep
Normal file
0
src/Resources/app/storefront/src/main.js
Normal file
0
src/Resources/app/storefront/src/main.js
Normal file
0
src/Resources/app/storefront/src/scss/base.scss
Normal file
0
src/Resources/app/storefront/src/scss/base.scss
Normal file
8
src/Resources/app/storefront/src/scss/overrides.scss
Normal file
8
src/Resources/app/storefront/src/scss/overrides.scss
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/*
|
||||||
|
Override variable defaults
|
||||||
|
==================================================
|
||||||
|
This file is used to override default SCSS variables from the Shopware Storefront or Bootstrap.
|
||||||
|
|
||||||
|
Because of the !default flags, theme variable overrides have to be declared beforehand.
|
||||||
|
https://getbootstrap.com/docs/4.0/getting-started/theming/#variable-defaults
|
||||||
|
*/
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
<?xml version="1.0" ?>
|
|
||||||
|
|
||||||
<container xmlns="http://symfony.com/schema/dic/services"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
|
||||||
|
|
||||||
<services>
|
|
||||||
|
|
||||||
</services>
|
|
||||||
</container>
|
|
||||||
22
src/Resources/theme.json
Normal file
22
src/Resources/theme.json
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"name": "EtailConferenceTheme",
|
||||||
|
"author": "Shopware AG",
|
||||||
|
"views": [
|
||||||
|
"@Storefront",
|
||||||
|
"@Plugins",
|
||||||
|
"@EtailConferenceTheme"
|
||||||
|
],
|
||||||
|
"style": [
|
||||||
|
"app/storefront/src/scss/overrides.scss",
|
||||||
|
"@Storefront",
|
||||||
|
"app/storefront/src/scss/base.scss"
|
||||||
|
],
|
||||||
|
"script": [
|
||||||
|
"@Storefront",
|
||||||
|
"app/storefront/dist/storefront/js/etail-conference-theme.js"
|
||||||
|
],
|
||||||
|
"asset": [
|
||||||
|
"@Storefront",
|
||||||
|
"app/storefront/src/assets"
|
||||||
|
]
|
||||||
|
}
|
||||||
2
src/Resources/views/storefront/base.html.twig
Normal file
2
src/Resources/views/storefront/base.html.twig
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
{% sw_extends '@Storefront/storefront/base.html.twig' %}
|
||||||
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{% sw_extends "@Storefront/storefront/layout/footer/footer.html.twig" %}
|
||||||
|
|
||||||
|
{% block layout_footer_payment_shipping_logos %}{% endblock %}
|
||||||
|
|
||||||
|
{% block layout_footer_navigation %}{% endblock %}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{% sw_extends "@Storefront/storefront/layout/header/header.html.twig" %}
|
||||||
|
|
||||||
|
{% block layout_header_search %}
|
||||||
|
<div class="col"></div>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block layout_header_actions_wishlist %}{% endblock %}
|
||||||
|
|
||||||
|
{% block layout_header_actions_account %}{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{% sw_extends "@Storefront/storefront/layout/navigation/navigation.html.twig" %}
|
||||||
|
|
||||||
|
{% block layout_main_navigation %}{% endblock %}
|
||||||
Reference in New Issue
Block a user