feat: VivesPOS landing on Winter CMS 1.2 — theme + plugin + Dockerfile
Some checks are pending
Module sub-split / Sub-split (push) Waiting to run

- Base: wintercms/winter branch 1.2 (full framework)
- Theme vivespos: Canvas 7 + Bootstrap 5 CDN, custom CSS
- Layout: deferred GTM/GA4 tracking, JSON-LD SoftwareApplication
- Partials: hero (offline-first), features, modes (offline/nube toggle),
  screenshots, pricing (3 planes), comparison, FAQ, CTA
- Plugin VivesPOS.Site with ContactForm
- Dockerfile: PHP 8.2 Apache, port 80, healthcheck
- Added winter/wn-pages, blog, sitemap, seo plugins
- Active theme set to vivespos
This commit is contained in:
2026-08-21 19:29:00 -06:00
commit 1f72193a64
3266 changed files with 531480 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
<?php
namespace Backend\Tests\Traits;
use System\Tests\Bootstrap\TestCase;
use Backend\Classes\Controller;
class ExampleTraitClass
{
use \Backend\Traits\WidgetMaker;
public function __construct()
{
$this->controller = new Controller;
}
}
class WidgetMakerTest extends TestCase
{
/**
* The object under test.
*
* @var object
*/
private $traitObject;
/**
* Sets up the fixture.
*
* This method is called before a test is executed.
*
* @return void
*/
public function setUp(): void
{
parent::setUp();
$traitName = 'Backend\Traits\WidgetMaker';
$this->traitObject = $this->getObjectForTrait($traitName);
}
public function testTraitObject()
{
$maker = $this->traitObject;
$widget = $maker->makeWidget('Backend\Widgets\Search');
$this->assertInstanceOf('Backend\Widgets\Search', $widget);
}
public function testMakeWidget()
{
$manager = new ExampleTraitClass;
$controller = new Controller;
$widget = $manager->makeWidget('Backend\Widgets\Search');
$this->assertInstanceOf('Backend\Widgets\Search', $widget);
$this->assertInstanceOf('Backend\Classes\Controller', $widget->getController());
$config = ['test' => 'config'];
$widget = $manager->makeWidget('Backend\Widgets\Search', $config);
$this->assertInstanceOf('Backend\Widgets\Search', $widget);
$this->assertEquals('config', $widget->getConfig('test'));
}
}