Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Sander Merks committed Dec 7, 2020
0 parents commit fa6da79
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 0 deletions.
24 changes: 24 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "weprovide/magento2-core",
"description": "",
"type": "magento2-module",
"version": "1.0",
"authors": [
{
"email": "[email protected]",
"name": "Sander Merks"
}
],
"require": {
"php": "~7.1.3||~7.2.0||~7.3.0",
"magento/framework": ">=102.0"
},
"autoload": {
"psr-4": {
"WeProvide\\Core\\": ""
},
"files": [
"registration.php"
]
}
}
8 changes: 8 additions & 0 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<system>
<tab id="weprovide" translate="label" sortOrder="500" class="weprovide-tab">
<label>We Provide</label>
</tab>
</system>
</config>
8 changes: 8 additions & 0 deletions etc/module.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="WeProvide_Core">
<sequence>
<module name="Magento_Admin"/>
</sequence>
</module>
</config>
8 changes: 8 additions & 0 deletions registration.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php
use \Magento\Framework\Component\ComponentRegistrar;

ComponentRegistrar::register(
ComponentRegistrar::MODULE,
'WeProvide_Core',
__DIR__
);
6 changes: 6 additions & 0 deletions view/adminhtml/layout/default.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<css src="WeProvide_Core::css/main.css"/>
</head>
</page>
11 changes: 11 additions & 0 deletions view/adminhtml/web/css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.config-nav-block.weprovide-tab strong:before {
background: url(../images/logo.png) no-repeat;
background-size: 24px;
background-position: 0 -3px;
width: 24px;
height: 16px;
content: '';
display: inline-block;
margin-right: 12px;
vertical-align: bottom;
}
Binary file added view/adminhtml/web/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fa6da79

Please sign in to comment.