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:
@@ -0,0 +1,11 @@
|
||||
{% if this.theme.googleanalytics_id is not empty %}
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ this.theme.googleanalytics_id }}"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', '{{ this.theme.googleanalytics_id }}');
|
||||
</script>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,12 @@
|
||||
==
|
||||
{{ vite(['assets/src/css/theme-{{code}}.css'], 'theme-{{code}}') }}
|
||||
|
||||
<style>
|
||||
:root {
|
||||
--primary: {{ this.theme.color_primary }};
|
||||
--secondary: {{ this.theme.color_secondary }};
|
||||
}
|
||||
</style>
|
||||
|
||||
{% styles %}
|
||||
{% placeholder head %}
|
||||
@@ -0,0 +1,21 @@
|
||||
<!-- Scripts -->
|
||||
|
||||
{# jQuery AJAX Framework #}
|
||||
<script src="{{ [
|
||||
'@jquery',
|
||||
'@framework',
|
||||
'@framework.extras',
|
||||
] | theme }}"></script>
|
||||
|
||||
{# Vite extracted assets #}
|
||||
{{ vite(['assets/src/js/theme-{{code}}.js'], 'theme-{{code}}') }}
|
||||
|
||||
{% scripts %}
|
||||
|
||||
{% flash %}
|
||||
<p data-control="flash-message" data-interval="7" class="flashmessage {{ type }}">
|
||||
{{ message }}
|
||||
</p>
|
||||
{% endflash %}
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{% placeholder page_title default %}{{ this.page.title }}{% endplaceholder %}</title>
|
||||
{% partial "meta/styles" %}
|
||||
{% partial "meta/seo" %}
|
||||
<meta name="generator" content="Winter CMS">
|
||||
</head>
|
||||
{% set pageId = this.page.id %}
|
||||
{% set pageTitle = this.page.title %}
|
||||
{% if pageId is empty %}
|
||||
{% set pageId = page.id %}
|
||||
{% endif %}
|
||||
{% if pageTitle is empty %}
|
||||
{% set pageTitle = page.title %}
|
||||
{% endif %}
|
||||
<body class="page-{{ pageId }} layout-{{ this.layout.id }}">
|
||||
Reference in New Issue
Block a user