Skip to content

Commit

Permalink
Release v1
Browse files Browse the repository at this point in the history
  • Loading branch information
allrude committed Mar 16, 2024
1 parent e7a70b2 commit dfad6fe
Show file tree
Hide file tree
Showing 20 changed files with 131 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Block/Adminhtml/Form/Field/Usps.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* @author Siteation (https://siteation.dev/)
* @copyright Copyright 2021 Siteation (https://siteation.dev/)
* @copyright Copyright 2023 Siteation (https://siteation.dev/)
* @license MIT
*/

Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

[Unreleased]: https://github.com/Siteation/magento2-storeinfo/compare/1.0.0...main

## 1.0.0 - 2024-03-16

Initial release 🎉
6 changes: 6 additions & 0 deletions Observer/RegisterModuleForHyvaConfig.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php declare(strict_types=1);

/**
* @author Siteation (https://siteation.dev/)
* @copyright Copyright 2023 Siteation (https://siteation.dev/)
* @license MIT
*/

namespace Siteation\StoreInfoUsps\Observer;

use Magento\Framework\Component\ComponentRegistrar;
Expand Down
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Siteation - Magento 2 Store Usps
# Siteation Magento2 Storeinfo Usps

[![Packagist Version](https://img.shields.io/packagist/v/siteation/magento2-storeinfo-usps?style=for-the-badge)](https://packagist.org/packages/siteation/magento2-storeinfo-usps)
![Supported Magento Versions](https://img.shields.io/badge/magento-%202.3_|_2.4-brightgreen.svg?logo=magento&longCache=true&style=for-the-badge)
[![Hyvä Themes Supported](https://img.shields.io/badge/Hyva_Themes-Supported-3df0af.svg?longCache=true&style=for-the-badge)](https://hyva.io/)
![License](https://img.shields.io/github/license/Siteation/magento2-storeinfo-usps?color=%23234&style=for-the-badge)

<!-- INTRO -->
Create responsive USPS banners with multiple items. The module includes a slider for a seamless mobile experience.

## Installation

Expand All @@ -21,4 +21,13 @@ bin/magento setup:upgrade
## How to use

<!-- TODO -->
Go to `Stores > Configration > Siteation > Store Usps` and add you usp items

| Admin | Storefront |
| ------------ | ------------ |
| ![preview-1] | ![preview-2] |
| | ![preview-3] |

[preview-1]: ./assets/preview-admin.webp "Preview of the Magento2 admin Siteation StoreInfo Usps"
[preview-2]: ./assets/preview.webp "Preview of the Siteation StoreInfo Usps"
[preview-3]: ./assets/preview-mobile.webp "Preview of the Siteation StoreInfo Usps"
6 changes: 6 additions & 0 deletions ViewModel/StoreInfoUsps.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php declare(strict_types=1);

/**
* @author Siteation (https://siteation.dev/)
* @copyright Copyright 2023 Siteation (https://siteation.dev/)
* @license MIT
*/

namespace Siteation\StoreInfoUsps\ViewModel;

use Magento\Framework\App\Config\ScopeConfigInterface;
Expand Down
Binary file added assets/preview-admin.webp
Binary file not shown.
Binary file added assets/preview-mobile.webp
Binary file not shown.
Binary file added assets/preview.webp
Binary file not shown.
11 changes: 11 additions & 0 deletions i18n/de_DE.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"Add","Hinzufügen"
"Content","Inhalt"
"Custom 1","Benutzerdefiniert 1"
"Custom 2","Benutzerdefiniert 2"
"Footer","Fußzeile"
"Header","Kopfzeile"
"Our Unique Selling Points","Unsere Alleinstellungsmerkmale"
"Product Page","Produktseite"
"Siteation","Siteation"
"Store Usps","Geschäft Usps"
"Usps","Usps"
11 changes: 11 additions & 0 deletions i18n/en_GB.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"Add","Add"
"Content","Content"
"Custom 1","Custom 1"
"Custom 2","Custom 2"
"Footer","Footer"
"Header","Header"
"Our Unique Selling Points","Our Unique Selling Points"
"Product Page","Product Page"
"Siteation","Siteation"
"Store Usps","Store Usps"
"Usps","Usps"
11 changes: 11 additions & 0 deletions i18n/en_US.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"Add","Add"
"Content","Content"
"Custom 1","Custom 1"
"Custom 2","Custom 2"
"Footer","Footer"
"Header","Header"
"Our Unique Selling Points","Our Unique Selling Points"
"Product Page","Product Page"
"Siteation","Siteation"
"Store Usps","Store Usps"
"Usps","Usps"
11 changes: 11 additions & 0 deletions i18n/nl_BE.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"Add","Toevoegen"
"Content","Inhoud"
"Custom 1","Aangepast 1"
"Custom 2","Aangepast 2"
"Footer","Voettekst"
"Header","Koptekst"
"Our Unique Selling Points","Onze Unieke Verkooppunten"
"Product Page","Productpagina"
"Siteation","Siteation"
"Store Usps","Winkel Usps"
"Usps","Usps"
11 changes: 11 additions & 0 deletions i18n/nl_NL.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"Add","Toevoegen"
"Content","Inhoud"
"Custom 1","Aangepast 1"
"Custom 2","Aangepast 2"
"Footer","Voettekst"
"Header","Koptekst"
"Our Unique Selling Points","Onze Unieke Verkooppunten"
"Product Page","Productpagina"
"Siteation","Siteation"
"Store Usps","Winkel Usps"
"Usps","Usps"
8 changes: 8 additions & 0 deletions registration.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
<?php declare(strict_types=1);

/**
* StoreInfo Usps module for Magento
*
* @author Siteation (https://siteation.dev/)
* @copyright Copyright 2023 Siteation (https://siteation.dev/)
* @license MIT
*/

use Magento\Framework\Component\ComponentRegistrar;

ComponentRegistrar::register(
Expand Down
6 changes: 6 additions & 0 deletions view/frontend/templates/hyva/footer/usps.phtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php declare(strict_types=1);

/**
* @author Siteation (https://siteation.dev/)
* @copyright Copyright 2023 Siteation (https://siteation.dev/)
* @license MIT
*/

use Hyva\Theme\Model\ViewModelRegistry;
use Hyva\Theme\ViewModel\HeroiconsOutline;
use Magento\Framework\View\Element\Template;
Expand Down
6 changes: 6 additions & 0 deletions view/frontend/templates/hyva/header/usps.phtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php declare(strict_types=1);

/**
* @author Siteation (https://siteation.dev/)
* @copyright Copyright 2023 Siteation (https://siteation.dev/)
* @license MIT
*/

use Hyva\Theme\Model\ViewModelRegistry;
use Hyva\Theme\ViewModel\HeroiconsOutline;
use Magento\Framework\View\Element\Template;
Expand Down
6 changes: 6 additions & 0 deletions view/frontend/templates/hyva/product/usps.phtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php declare(strict_types=1);

/**
* @author Siteation (https://siteation.dev/)
* @copyright Copyright 2023 Siteation (https://siteation.dev/)
* @license MIT
*/

use Hyva\Theme\Model\ViewModelRegistry;
use Hyva\Theme\ViewModel\HeroiconsOutline;
use Magento\Framework\View\Element\Template;
Expand Down
6 changes: 6 additions & 0 deletions view/frontend/templates/luma/footer/usps.phtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php declare(strict_types=1);

/**
* @author Siteation (https://siteation.dev/)
* @copyright Copyright 2023 Siteation (https://siteation.dev/)
* @license MIT
*/

use Magento\Framework\View\Element\Template;
use Magento\Framework\Escaper;
use Siteation\StoreInfoUsps\ViewModel\StoreInfoUsps;
Expand Down
6 changes: 6 additions & 0 deletions view/frontend/templates/luma/header/usps.phtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php declare(strict_types=1);

/**
* @author Siteation (https://siteation.dev/)
* @copyright Copyright 2023 Siteation (https://siteation.dev/)
* @license MIT
*/

use Magento\Framework\View\Element\Template;
use Magento\Framework\Escaper;
use Siteation\StoreInfoUsps\ViewModel\StoreInfoUsps;
Expand Down
6 changes: 6 additions & 0 deletions view/frontend/templates/luma/product/usps.phtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php declare(strict_types=1);

/**
* @author Siteation (https://siteation.dev/)
* @copyright Copyright 2023 Siteation (https://siteation.dev/)
* @license MIT
*/

use Magento\Framework\View\Element\Template;
use Magento\Framework\Escaper;
use Siteation\StoreInfoUsps\ViewModel\StoreInfoUsps;
Expand Down

0 comments on commit dfad6fe

Please sign in to comment.