build test

This commit is contained in:
2024-12-05 08:00:41 -08:00
parent 3df726ddf7
commit 23a9c365e8
7 changed files with 55 additions and 18 deletions

View File

@@ -12117,8 +12117,15 @@ button[type=submit].single_add_to_cart_button,
}
}
.consumer-brand .top-menu {
background: linear-gradient(to right, #000066, #3399FF);
padding: 3.5px;
}
.consumer-brand .top-menu a {
color: #FFFFFF;
}
.consumer-brand .main-header {
background: #000066;
background: #FFFFFF;
}
.consumer-brand #menu-consumer .dropdown-menu {
background: #000066;

View File

@@ -1,4 +1,4 @@
{
"/app.js": "/app.js?id=def087bfee86b3ced20472c4fd21ee05",
"/app.css": "/app.css?id=5cddfa7b15796e50a20e60f390ee1b62"
"/app.css": "/app.css?id=a50d195945336a7989a494964e8ab470"
}

View File

@@ -38,7 +38,7 @@
?>
<header class="w-100 sticky-top main-header <?php echo $stylesheet; ?>">
<div class="bg-light top-menu">
<div class="top-menu">
<div class="container">
<div class="row justify-content-end align-items-center d-none d-md-flex top-bar">
<div class="nav-btn col col-lg-2 d-flex justify-content-end">

View File

@@ -1,16 +1,23 @@
<?php
/** Salesforce Api Url */
define("SALESFORCE_API_URL","https://connectamerica--full.sandbox.my.salesforce-sites.com/RestServices/services/apexrest");
if (!defined("SALESFORCE_API_URL")) {
define("SALESFORCE_API_URL","https://connectamerica--full.sandbox.my.salesforce-sites.com/RestServices/services/apexrest");
}
/** Salesforce Brand ID */
define("SALESFORCE_BRAND","MedicalAlert");
if (!defined("SALESFORCE_BRAND")) {
define("SALESFORCE_BRAND","MedicalAlert");
}
/** Encryption key */
define("ENCRYPTION_KEY","potEgc8+5f32y+jpXSz/NqFEPuVWoT95V7aYiyRNjpQ=");
if (!defined("ENCRYPTION_KEY")) {
define("ENCRYPTION_KEY","potEgc8+5f32y+jpXSz/NqFEPuVWoT95V7aYiyRNjpQ=");
}
/** Signature */
define("SIGNATURE_KEY","-----BEGIN PRIVATE KEY-----
if (!defined("SIGNATURE_KEY")) {
define("SIGNATURE_KEY","-----BEGIN PRIVATE KEY-----
MIICcgIBADANBgkqhkiG9w0BAQEFAASCAlwwggJYAgEAAoGAwCSPvGdoZsC1Q4btJETb9fnkM/ne
zBA4F4f0bX3JymVZ83H9F1CTykhQWjZ8WiAuPFGHNaUESGtfr0pWF113KrY5ei910WcvcBKd1w6w
JrpUdhWC5bAgoXfLoS0itbX7TvIKrvoXcHbtAPMEDyMNv/Dy/RstNTqUBzF2fLKTwTkCAwEAAQKB
@@ -24,3 +31,4 @@ F0iyEOmbjieJ1cgSluByPjKDqMXhlxEr9c/SMLG1TlRxyyVGKSZ3NP765sEXSBq0EBSdAkCX8h79
z9mezZxyRcdod2Sk4t1hWUf0AnLhkzfAgdQoNwY692uBYXsyKXGufLNkb+RznASmn5Lr6NanIL4c
6S9P
-----END PRIVATE KEY-----");
}

View File

@@ -13,6 +13,10 @@ $consumer-highlight: rgba(255, 202, 211, 0.15);
$business-primary: #00447C;
$light-blue: #EAEFF3;
$orange: #CC0033;
$ma-navy: #000066;
$ma-sky: #3399FF;
.consumer-primary {
color: $consumer-primary;
}

View File

@@ -2,54 +2,60 @@
h1 {
color: $white;
}
.top-bar-mobile {
color: $light-gray;
.top-bar-mobile-phone {
.fa-phone-volume {
position: relative;
top: 3px;
right: 5px;
}
p {
margin: auto 0;
}
}
}
.top-nav-mobile {
list-style: none;
text-align: center;
padding: 0;
li {
a {
color: $white;
}
}
}
.top-bar-items li {
position: relative;
align-self: center;
margin-right: 20px;
}
// .top-bar-items li:first-child::after {
// content: "|";
// color: #505050;
// padding-left: 14px
// }
.main-nav {
.navbar-nav li.dropdown:hover>ul.dropdown-menu {
display: block;
}
.dropdown-menu {
li {
text-align: left;
}
}
.dropdown-toggle::after {
content: none;
}
.main-logo img {
max-width: 296px;
}
@include media-breakpoint-up(lg) {
.menu-item-has-children::after {
content: "";
@@ -65,6 +71,7 @@
content: unset;
}
}
.menu-item {
white-space: nowrap;
@include media-breakpoint-up(lg) {
@@ -109,9 +116,18 @@
}
.consumer-brand {
.main-header {
background: $consumer-primary;
.top-menu {
background: linear-gradient(to right, $ma-navy, $ma-sky);
padding: 3.5px;
a {
color: $white;
}
}
.main-header {
background: $white;
}
#menu-consumer {
.dropdown-menu {
background: $consumer-primary;

View File

@@ -210,7 +210,8 @@ class Site
$items = json_decode(file_get_contents($manifestFile), true);
foreach ($items as $file => $version) {
$extension = end(explode(".", $file));
$parts = explode(".", $file);
$extension = end($parts);
$tag = $this->stringify($file);
if ($extension === "js") {
add_action('wp_enqueue_scripts', function () use ($file, $version, $tag) {
@@ -313,8 +314,9 @@ class Site
return;
}
if (!function_exists("acf_add_options_page")) {
if (!function_exists("acf_add_options_page") && isset($this->config["options-pages"])) {
$this->adminError("You can't register options pages without the Pro version of Advanced Custom Fields.");
return;
}
$i = 100;