feat: VivesPOS landing on Winter CMS 1.2 — theme + plugin + Dockerfile
Some checks are pending
Module sub-split / Sub-split (push) Waiting to run
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:
3
modules/cms/tests/fixtures/themes/test/pages/404.htm
vendored
Normal file
3
modules/cms/tests/fixtures/themes/test/pages/404.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
url = "404"
|
||||
==
|
||||
<p>Page not found</p>
|
||||
4
modules/cms/tests/fixtures/themes/test/pages/a/a-page.htm
vendored
Normal file
4
modules/cms/tests/fixtures/themes/test/pages/a/a-page.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
url = "/apage"
|
||||
layout = "a/a-layout"
|
||||
==
|
||||
<h1>This page is a subdirectory</h1>
|
||||
8
modules/cms/tests/fixtures/themes/test/pages/ajax-test.htm
vendored
Normal file
8
modules/cms/tests/fixtures/themes/test/pages/ajax-test.htm
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
url = "/ajax-test"
|
||||
layout = "ajax-test"
|
||||
==
|
||||
function onTest() {
|
||||
$this['var'] = 'page';
|
||||
}
|
||||
==
|
||||
{{ layoutStartVar }}{{ layoutBeforePageStartVar }}{{ pageStartVar }}{{ pageEndVar }}{{ layoutEndVar }}
|
||||
4
modules/cms/tests/fixtures/themes/test/pages/authors.htm
vendored
Normal file
4
modules/cms/tests/fixtures/themes/test/pages/authors.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
url = "/authors/:author_id?no-author|^[0-9]+$"
|
||||
==
|
||||
<h1>Authors page</h1>
|
||||
<p>This is the Authors page</p>
|
||||
3
modules/cms/tests/fixtures/themes/test/pages/b/b-page.htm
vendored
Normal file
3
modules/cms/tests/fixtures/themes/test/pages/b/b-page.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
url = "/bpage"
|
||||
==
|
||||
<h1>This page is a subdirectory</h1>
|
||||
3
modules/cms/tests/fixtures/themes/test/pages/b/c/c-page.htm
vendored
Normal file
3
modules/cms/tests/fixtures/themes/test/pages/b/c/c-page.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
url = "/cpage"
|
||||
==
|
||||
<h1>This page is a subdirectory</h1>
|
||||
4
modules/cms/tests/fixtures/themes/test/pages/blog-archive.htm
vendored
Normal file
4
modules/cms/tests/fixtures/themes/test/pages/blog-archive.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
url = "/blog/archive-page/:page?1"
|
||||
==
|
||||
<h1>Blog Archive</h1>
|
||||
<p>Hi there!</p>
|
||||
4
modules/cms/tests/fixtures/themes/test/pages/blog-category.htm
vendored
Normal file
4
modules/cms/tests/fixtures/themes/test/pages/blog-category.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
url = "/blog/category-page/:category_name?*"
|
||||
==
|
||||
<h1>Blog category</h1>
|
||||
<p>This is a blog category page</p>
|
||||
4
modules/cms/tests/fixtures/themes/test/pages/blog-post.htm
vendored
Normal file
4
modules/cms/tests/fixtures/themes/test/pages/blog-post.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
url = "/blog/post/:url_title"
|
||||
==
|
||||
<h1>Blog post</h1>
|
||||
<p>This is a blog post page</p>
|
||||
13
modules/cms/tests/fixtures/themes/test/pages/code-namespaces-aliases.htm
vendored
Normal file
13
modules/cms/tests/fixtures/themes/test/pages/code-namespaces-aliases.htm
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
url = "/code-namespaces"
|
||||
==
|
||||
<?php
|
||||
|
||||
use Cms\Classes\Theme as MyTheme;
|
||||
use Cms\Classes\Router as MyRouter;
|
||||
|
||||
function onStart() {
|
||||
$this['pageStartVar'] = 3;
|
||||
}
|
||||
?>
|
||||
==
|
||||
<p>Page</p>
|
||||
13
modules/cms/tests/fixtures/themes/test/pages/code-namespaces.htm
vendored
Normal file
13
modules/cms/tests/fixtures/themes/test/pages/code-namespaces.htm
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
url = "/code-namespaces"
|
||||
==
|
||||
<?php
|
||||
|
||||
use Cms\Classes\Theme;
|
||||
use Cms\Classes\Router;
|
||||
|
||||
function onStart() {
|
||||
$this['pageStartVar'] = 3;
|
||||
}
|
||||
?>
|
||||
==
|
||||
<p>Page</p>
|
||||
10
modules/cms/tests/fixtures/themes/test/pages/component-custom-render.htm
vendored
Normal file
10
modules/cms/tests/fixtures/themes/test/pages/component-custom-render.htm
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
url = "/component-custom-render"
|
||||
|
||||
[Winter\Tester\Components\ContentBlock theblock]
|
||||
==
|
||||
|
||||
{% component 'theblock' %}
|
||||
|
||||
{% component 'theblock' output="Would you look over Picasso's shoulder" %}
|
||||
|
||||
{% component 'theblock' output='And tell him about his brush strokes?' %}
|
||||
5
modules/cms/tests/fixtures/themes/test/pages/component-partial-alias-override.htm
vendored
Normal file
5
modules/cms/tests/fixtures/themes/test/pages/component-partial-alias-override.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
url = "/component-partial-alias-override"
|
||||
|
||||
[Winter\Tester\Components\Post overRide1]
|
||||
==
|
||||
{% component 'overRide1' %}
|
||||
3
modules/cms/tests/fixtures/themes/test/pages/component-partial-nesting.htm
vendored
Normal file
3
modules/cms/tests/fixtures/themes/test/pages/component-partial-nesting.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
url = "/component-partial-nesting"
|
||||
==
|
||||
{% partial 'nesting/level1' %}
|
||||
5
modules/cms/tests/fixtures/themes/test/pages/component-partial-override.htm
vendored
Normal file
5
modules/cms/tests/fixtures/themes/test/pages/component-partial-override.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
url = "/component-partial-override"
|
||||
|
||||
[testPost]
|
||||
==
|
||||
{% component 'testPost' %}
|
||||
5
modules/cms/tests/fixtures/themes/test/pages/component-partial.htm
vendored
Normal file
5
modules/cms/tests/fixtures/themes/test/pages/component-partial.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
url = "/component-partial"
|
||||
|
||||
[Winter\Tester\Components\Post post]
|
||||
==
|
||||
{% component 'post' %}
|
||||
12
modules/cms/tests/fixtures/themes/test/pages/cycle-test.htm
vendored
Normal file
12
modules/cms/tests/fixtures/themes/test/pages/cycle-test.htm
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
url = "/cycle-test"
|
||||
layout = "cycle-test"
|
||||
==
|
||||
function onStart() {
|
||||
$this['pageStartVar'] = 3;
|
||||
}
|
||||
|
||||
function onEnd() {
|
||||
$this['pageEndVar'] = 4;
|
||||
}
|
||||
==
|
||||
{{ layoutStartVar }}{{ layoutBeforePageStartVar }}{{ pageStartVar }}{{ pageEndVar }}{{ layoutEndVar }}
|
||||
13
modules/cms/tests/fixtures/themes/test/pages/filters-test.htm
vendored
Normal file
13
modules/cms/tests/fixtures/themes/test/pages/filters-test.htm
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
url = "/filters-test/:url_title?"
|
||||
==
|
||||
{# Check pageUrl for current page #}
|
||||
{{ '' | page }} -> {{ '/filters-test/current-slug' | app }}
|
||||
{# Check pageUrl for persistent URL parameters #}
|
||||
{{ 'blog-post' | page }} -> {{ '/blog/post/current-slug' | app }}
|
||||
{# Check pageUrl for providing values for URL parameters #}
|
||||
{{ 'blog-post' | page({url_title: 'test-slug'}) }} -> {{ '/blog/post/test-slug' | app }}
|
||||
{# Check pageUrl for disabling persistent URL parameters #}
|
||||
{{ 'blog-post' | page({}, false) }} -> {{ '/blog/post/default' | app }}
|
||||
{# Check pageUrl for disabling persistent URL parameters with the second argument being routePersistence #}
|
||||
{{ 'blog-post' | page(false) }} -> {{ '/blog/post/default' | app }}
|
||||
|
||||
3
modules/cms/tests/fixtures/themes/test/pages/index.htm
vendored
Normal file
3
modules/cms/tests/fixtures/themes/test/pages/index.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
url = "/"
|
||||
==
|
||||
<h1>My Webpage</h1>
|
||||
5
modules/cms/tests/fixtures/themes/test/pages/no-component-class.htm
vendored
Normal file
5
modules/cms/tests/fixtures/themes/test/pages/no-component-class.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
url = "/no-component-class"
|
||||
|
||||
[PeterPan\Nevernever\Land noComponentExist]
|
||||
==
|
||||
<p>Hey</p>
|
||||
3
modules/cms/tests/fixtures/themes/test/pages/no-component.htm
vendored
Normal file
3
modules/cms/tests/fixtures/themes/test/pages/no-component.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
url = "/no-component"
|
||||
==
|
||||
<p>Hey</p>{% component 'noComponentExist' %}
|
||||
4
modules/cms/tests/fixtures/themes/test/pages/no-layout.htm
vendored
Normal file
4
modules/cms/tests/fixtures/themes/test/pages/no-layout.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
url = "/no-layout"
|
||||
layout = "caramba"
|
||||
==
|
||||
<p>Hey</p>
|
||||
4
modules/cms/tests/fixtures/themes/test/pages/no-partial.htm
vendored
Normal file
4
modules/cms/tests/fixtures/themes/test/pages/no-partial.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
url = "/no-partial"
|
||||
==
|
||||
<p>Hey</p>
|
||||
{% partial 'caramba' %}
|
||||
5
modules/cms/tests/fixtures/themes/test/pages/no-soft-component-class.htm
vendored
Normal file
5
modules/cms/tests/fixtures/themes/test/pages/no-soft-component-class.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
url = "/no-soft-component-class"
|
||||
|
||||
[@PeterPan\Nevernever\Land noComponentExist]
|
||||
==
|
||||
<p>Hey</p>
|
||||
14
modules/cms/tests/fixtures/themes/test/pages/optional-full-php-tags.htm
vendored
Normal file
14
modules/cms/tests/fixtures/themes/test/pages/optional-full-php-tags.htm
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
url = "/cycle-test"
|
||||
layout = "cycle-test"
|
||||
==
|
||||
<?php
|
||||
function onStart() {
|
||||
$this['pageStartVar'] = 3;
|
||||
}
|
||||
|
||||
function onEnd() {
|
||||
$this['pageEndVar'] = 4;
|
||||
}
|
||||
?>
|
||||
==
|
||||
{{ layoutStartVar }}{{ layoutBeforePageStartVar }}{{ pageStartVar }}{{ pageEndVar }}{{ layoutEndVar }}
|
||||
14
modules/cms/tests/fixtures/themes/test/pages/optional-short-php-tags.htm
vendored
Normal file
14
modules/cms/tests/fixtures/themes/test/pages/optional-short-php-tags.htm
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
url = "/cycle-test"
|
||||
layout = "cycle-test"
|
||||
==
|
||||
<?
|
||||
function onStart() {
|
||||
$this['pageStartVar'] = 3;
|
||||
}
|
||||
|
||||
function onEnd() {
|
||||
$this['pageEndVar'] = 4;
|
||||
}
|
||||
?>
|
||||
==
|
||||
{{ layoutStartVar }}{{ layoutBeforePageStartVar }}{{ pageStartVar }}{{ pageEndVar }}{{ layoutEndVar }}
|
||||
10
modules/cms/tests/fixtures/themes/test/pages/shared-variable-override.htm
vendored
Normal file
10
modules/cms/tests/fixtures/themes/test/pages/shared-variable-override.htm
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
url = '/shared-variable-override'
|
||||
==
|
||||
<?php
|
||||
function onStart() {
|
||||
$this['winterStatus'] = 'Is Coming';
|
||||
}
|
||||
==
|
||||
<p>Winter {{ winterStatus }}</p>
|
||||
|
||||
<p>{{ this.page.url }}</p>
|
||||
5
modules/cms/tests/fixtures/themes/test/pages/shared-variable.htm
vendored
Normal file
5
modules/cms/tests/fixtures/themes/test/pages/shared-variable.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
url = '/shared-variable'
|
||||
==
|
||||
<p>Winter {{ winterStatus }}</p>
|
||||
|
||||
<p>{{ this.page.url }}</p>
|
||||
7
modules/cms/tests/fixtures/themes/test/pages/throw-php.htm
vendored
Normal file
7
modules/cms/tests/fixtures/themes/test/pages/throw-php.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
url = "/throw-php"
|
||||
==
|
||||
function onStart() {
|
||||
test();
|
||||
}
|
||||
==
|
||||
<h1>This page will throw an exception</h1>
|
||||
11
modules/cms/tests/fixtures/themes/test/pages/with-component.htm
vendored
Normal file
11
modules/cms/tests/fixtures/themes/test/pages/with-component.htm
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
url = "/with-component"
|
||||
layout = "content"
|
||||
|
||||
[testArchive]
|
||||
posts-per-page = "69"
|
||||
==
|
||||
<p>This page uses components.</p>
|
||||
{% for post in testArchive.posts %}
|
||||
<h3>{{ post.title }}</h3>
|
||||
<p>{{ post.content }}</p>
|
||||
{% endfor %}
|
||||
14
modules/cms/tests/fixtures/themes/test/pages/with-components.htm
vendored
Normal file
14
modules/cms/tests/fixtures/themes/test/pages/with-components.htm
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
url = "/with-components"
|
||||
layout = "content"
|
||||
|
||||
[testArchive firstAlias]
|
||||
posts-per-page = "6"
|
||||
|
||||
[Winter\Tester\Components\Archive secondAlias]
|
||||
posts-per-page = "9"
|
||||
==
|
||||
<p>This page uses components.</p>
|
||||
{% for post in secondAlias.posts %}
|
||||
<h3>{{ post.title }}</h3>
|
||||
<p>{{ post.content }}</p>
|
||||
{% endfor %}
|
||||
4
modules/cms/tests/fixtures/themes/test/pages/with-content.htm
vendored
Normal file
4
modules/cms/tests/fixtures/themes/test/pages/with-content.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
url = "/with-content"
|
||||
layout = "content"
|
||||
==
|
||||
<p>Hey {% content "page-content.htm" %} {% content "a/a-content.htm" %}</p>
|
||||
4
modules/cms/tests/fixtures/themes/test/pages/with-layout.htm
vendored
Normal file
4
modules/cms/tests/fixtures/themes/test/pages/with-layout.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
url = "/with-layout"
|
||||
layout = "sidebar"
|
||||
==
|
||||
<p>Hey</p>
|
||||
6
modules/cms/tests/fixtures/themes/test/pages/with-macro.htm
vendored
Normal file
6
modules/cms/tests/fixtures/themes/test/pages/with-macro.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
url = "/with-macro"
|
||||
==
|
||||
{% macro pageTest(_context) -%}
|
||||
<a href="{{ 'index' | page }}">{{ this.page.fileName }}</a>
|
||||
{%- endmacro pageTest %}
|
||||
<p>{{ _self.pageTest() }}<strong>{{ this.page.fileName }}</strong></p>
|
||||
4
modules/cms/tests/fixtures/themes/test/pages/with-partials.htm
vendored
Normal file
4
modules/cms/tests/fixtures/themes/test/pages/with-partials.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
url = "/with-partials"
|
||||
layout = "partials"
|
||||
==
|
||||
<p>Hey {% partial "page-partial" firstName="Homer" lastName="Simpson" %} {% partial "a/a-partial" %}</p>
|
||||
11
modules/cms/tests/fixtures/themes/test/pages/with-placeholder.htm
vendored
Normal file
11
modules/cms/tests/fixtures/themes/test/pages/with-placeholder.htm
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
url = "/with-placeholder"
|
||||
layout = "placeholder"
|
||||
==
|
||||
{% put test %}
|
||||
BLOCK
|
||||
{% default %}
|
||||
{% endput %}
|
||||
{% put second %}
|
||||
SECOND BLOCK
|
||||
{% endput %}
|
||||
<p>Hey PAGE CONTENT</p>
|
||||
11
modules/cms/tests/fixtures/themes/test/pages/with-soft-component-class-alias.htm
vendored
Normal file
11
modules/cms/tests/fixtures/themes/test/pages/with-soft-component-class-alias.htm
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
url = "/with-soft-component-class-alias"
|
||||
layout = "content"
|
||||
|
||||
[@testArchive someAlias]
|
||||
posts-per-page = "69"
|
||||
==
|
||||
<p>This page uses components.</p>
|
||||
{% for post in someAlias.posts %}
|
||||
<h3>{{ post.title }}</h3>
|
||||
<p>{{ post.content }}</p>
|
||||
{% endfor %}
|
||||
11
modules/cms/tests/fixtures/themes/test/pages/with-soft-component-class.htm
vendored
Normal file
11
modules/cms/tests/fixtures/themes/test/pages/with-soft-component-class.htm
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
url = "/with-soft-component-class"
|
||||
layout = "content"
|
||||
|
||||
[@testArchive]
|
||||
posts-per-page = "69"
|
||||
==
|
||||
<p>This page uses components.</p>
|
||||
{% for post in testArchive.posts %}
|
||||
<h3>{{ post.title }}</h3>
|
||||
<p>{{ post.content }}</p>
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user