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,23 @@
<?php
use Winter\Storm\Database\Schema\Blueprint;
use Winter\Storm\Database\Updates\Migration;
class DbCmsThemeData extends Migration
{
public function up()
{
Schema::create('cms_theme_data', function (Blueprint $table) {
$table->engine = 'InnoDB';
$table->increments('id');
$table->string('theme')->nullable()->index();
$table->mediumtext('data')->nullable();
$table->timestamps();
});
}
public function down()
{
Schema::dropIfExists('cms_theme_data');
}
}

View File

@@ -0,0 +1,24 @@
<?php
use Winter\Storm\Database\Updates\Migration;
/**
* This migration addresses a MySQL specific issue around STRICT MODE.
* In past versions, Laravel would give timestamps a bad default value
* of "0" considered invalid by MySQL. Strict mode is disabled and the
* the timestamps are patched up. Credit for this work: Dave Shoreman.
*/
class DbCmsTimestampFix extends Migration
{
public function up()
{
DbDongle::disableStrictMode();
DbDongle::convertTimestamps('cms_theme_data');
}
public function down()
{
// ...
}
}

View File

@@ -0,0 +1,28 @@
<?php
use Winter\Storm\Database\Schema\Blueprint;
use Winter\Storm\Database\Updates\Migration;
class DbCmsThemeLogs extends Migration
{
public function up()
{
Schema::create('cms_theme_logs', function (Blueprint $table) {
$table->engine = 'InnoDB';
$table->increments('id');
$table->string('type', 20)->index();
$table->string('theme')->nullable()->index();
$table->string('template')->nullable();
$table->string('old_template')->nullable();
$table->longText('content')->nullable();
$table->longText('old_content')->nullable();
$table->integer('user_id')->index()->nullable();
$table->timestamps();
});
}
public function down()
{
Schema::dropIfExists('cms_theme_logs');
}
}

View File

@@ -0,0 +1,26 @@
<?php
use Winter\Storm\Database\Schema\Blueprint;
use Winter\Storm\Database\Updates\Migration;
class DbCmsThemeTemplates extends Migration
{
public function up()
{
Schema::create('cms_theme_templates', function (Blueprint $table) {
$table->engine = 'InnoDB';
$table->increments('id');
$table->string('source')->index();
$table->string('path')->index();
$table->longText('content');
$table->integer('file_size')->unsigned();
$table->dateTime('updated_at')->nullable();
$table->dateTime('deleted_at')->nullable();
});
}
public function down()
{
Schema::dropIfExists('cms_theme_templates');
}
}

View File

@@ -0,0 +1,22 @@
<?php
return new class extends \Winter\Storm\Database\Updates\Migration
{
public function up()
{
Schema::table('cms_theme_templates', function ($table) {
// Every datasource query filters on source and path together, so a composite
// index serves them all. This makes the standalone source index redundant.
$table->index(['source', 'path', 'deleted_at']);
$table->dropIndex(['source']);
});
}
public function down()
{
Schema::table('cms_theme_templates', function ($table) {
$table->index(['source']);
$table->dropIndex(['source', 'path', 'deleted_at']);
});
}
};