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:
29
modules/backend/facades/Backend.php
Normal file
29
modules/backend/facades/Backend.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php namespace Backend\Facades;
|
||||
|
||||
use Winter\Storm\Support\Facade;
|
||||
|
||||
/**
|
||||
* @method static string uri()
|
||||
* @method static string url(?string $path = null, array $parameters = [], ?bool $secure = null)
|
||||
* @method static string baseUrl(?string $path = null)
|
||||
* @method static string skinAsset(?string $path = null)
|
||||
* @method static \Illuminate\Http\RedirectResponse redirect(string $path, int $status = 302, array $headers = [], ?bool $secure = null)
|
||||
* @method static \Illuminate\Http\RedirectResponse redirectGuest(string $path, int $status = 302, array $headers = [], ?bool $secure = null)
|
||||
* @method static \Illuminate\Http\RedirectResponse redirectIntended(string $path, int $status = 302, array $headers = [], ?bool $secure = null)
|
||||
* @method static string date($dateTime, array $options = [])
|
||||
* @method static string dateTime($dateTime, array $options = [])
|
||||
*
|
||||
* @see \Backend\Helpers\Backend
|
||||
*/
|
||||
class Backend extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'backend.helper';
|
||||
}
|
||||
}
|
||||
27
modules/backend/facades/BackendAuth.php
Normal file
27
modules/backend/facades/BackendAuth.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php namespace Backend\Facades;
|
||||
|
||||
use Winter\Storm\Support\Facade;
|
||||
|
||||
/**
|
||||
* @method static void registerCallback(callable $callback)
|
||||
* @method static void registerPermissions(string $owner, array $definitions)
|
||||
* @method static void removePermission(string $owner, string $code)
|
||||
* @method static array listPermissions()
|
||||
* @method static array listTabbedPermissions()
|
||||
* @method static array listPermissionsForRole(string $role, bool $includeOrphans = true)
|
||||
* @method static boolean hasPermissionsForRole(string $role)
|
||||
*
|
||||
* @see \Backend\Classes\AuthManager
|
||||
*/
|
||||
class BackendAuth extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'backend.auth';
|
||||
}
|
||||
}
|
||||
41
modules/backend/facades/BackendMenu.php
Normal file
41
modules/backend/facades/BackendMenu.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php namespace Backend\Facades;
|
||||
|
||||
use Winter\Storm\Support\Facade;
|
||||
|
||||
/**
|
||||
* @method static void registerCallback(callable $callback)
|
||||
* @method static void registerMenuItems(string $owner, array $definitions)
|
||||
* @method static void addMainMenuItems(string $owner, array $definitions)
|
||||
* @method static void addMainMenuItem(string $owner, $code, array $definition)
|
||||
* @method static \Backend\Classes\MainMenuItem getMainMenuItem(string $owner, string $code)
|
||||
* @method static void removeMainMenuItem(string $owner, string $code)
|
||||
* @method static void addSideMenuItems(string $owner, string $code, array $definitions)
|
||||
* @method static bool addSideMenuItem(string $owner, string $code, string $sideCode, array $definition)
|
||||
* @method static bool removeSideMenuItem(string $owner, string $code, string $sideCode)
|
||||
* @method static \Backend\Classes\MainMenuItem[] listMainMenuItems()
|
||||
* @method static \Backend\Classes\SideMenuItem[] listSideMenuItems(string|null $owner = null, string|null $code = null)
|
||||
* @method static void setContext(string $owner, string $mainMenuItemCode, string|null $sideMenuItemCode = null)
|
||||
* @method static void setContextOwner(string $owner)
|
||||
* @method static void setContextMainMenu(string $mainMenuItemCode)
|
||||
* @method static object getContext()
|
||||
* @method static void setContextSideMenu(string $sideMenuItemCode)
|
||||
* @method static bool isMainMenuItemActive(\Backend\Classes\MainMenuItem $item)
|
||||
* @method static \Backend\Classes\MainMenuItem|null getActiveMainMenuItem()
|
||||
* @method static bool isSideMenuItemActive(\Backend\Classes\SideMenuItem $item)
|
||||
* @method static void registerContextSidenavPartial(string $owner, string $mainMenuItemCode, string $partial)
|
||||
* @method static mixed getContextSidenavPartial(string $owner, string $mainMenuItemCode)
|
||||
*
|
||||
* @see \Backend\Classes\NavigationManager
|
||||
*/
|
||||
class BackendMenu extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'backend.menu';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user