1
0

Compare commits

..

2 Commits

13 changed files with 59 additions and 17 deletions

View File

@@ -5,11 +5,11 @@
"license": "MIT",
"autoload": {
"psr-4": {
"EtailWestTheme\\": "src/"
"EtailConferenceTheme\\": "src/"
}
},
"extra": {
"shopware-plugin-class": "EtailWestTheme\\EtailWestTheme",
"shopware-plugin-class": "EtailConferenceTheme\\EtailConferenceTheme",
"label": {
"en-GB": "eTail West theme plugin for presentation"
}

View File

@@ -1,19 +1,20 @@
<?php declare(strict_types=1);
namespace EtailWestTheme;
namespace EtailConferenceTheme;
use Shopware\Core\Framework\Plugin;
use Shopware\Storefront\Framework\ThemeInterface;
/**
* Class EtailWestTheme
* Class EtailConferenceTheme
*
* @package EtailWestTheme
* @package EtailConferenceTheme
* @author Lang <https://www.splendidbear.org>
* @category Class
* @license https://www.gnu.org/licenses/lgpl-3.0.en.html GNU Lesser General Public License
* @link www.splendidbear.org
* @since 2023. 02. 15.
*/
class EtailWestTheme extends Plugin
class EtailConferenceTheme extends Plugin implements ThemeInterface
{
}

View File

View 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
*/

View File

@@ -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
View 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"
]
}

View File

@@ -0,0 +1,2 @@
{% sw_extends '@Storefront/storefront/base.html.twig' %}

View File

@@ -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 %}

View File

@@ -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 %}

View File

@@ -0,0 +1,3 @@
{% sw_extends "@Storefront/storefront/layout/navigation/navigation.html.twig" %}
{% block layout_main_navigation %}{% endblock %}