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 { .consumer-brand .main-header {
background: #000066; background: #FFFFFF;
} }
.consumer-brand #menu-consumer .dropdown-menu { .consumer-brand #menu-consumer .dropdown-menu {
background: #000066; background: #000066;

View File

@@ -1,4 +1,4 @@
{ {
"/app.js": "/app.js?id=def087bfee86b3ced20472c4fd21ee05", "/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; ?>"> <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="container">
<div class="row justify-content-end align-items-center d-none d-md-flex top-bar"> <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"> <div class="nav-btn col col-lg-2 d-flex justify-content-end">

View File

@@ -1,16 +1,23 @@
<?php <?php
/** Salesforce Api Url */ /** 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 */ /** Salesforce Brand ID */
define("SALESFORCE_BRAND","MedicalAlert"); if (!defined("SALESFORCE_BRAND")) {
define("SALESFORCE_BRAND","MedicalAlert");
}
/** Encryption key */ /** Encryption key */
define("ENCRYPTION_KEY","potEgc8+5f32y+jpXSz/NqFEPuVWoT95V7aYiyRNjpQ="); if (!defined("ENCRYPTION_KEY")) {
define("ENCRYPTION_KEY","potEgc8+5f32y+jpXSz/NqFEPuVWoT95V7aYiyRNjpQ=");
}
/** Signature */ /** Signature */
define("SIGNATURE_KEY","-----BEGIN PRIVATE KEY----- if (!defined("SIGNATURE_KEY")) {
define("SIGNATURE_KEY","-----BEGIN PRIVATE KEY-----
MIICcgIBADANBgkqhkiG9w0BAQEFAASCAlwwggJYAgEAAoGAwCSPvGdoZsC1Q4btJETb9fnkM/ne MIICcgIBADANBgkqhkiG9w0BAQEFAASCAlwwggJYAgEAAoGAwCSPvGdoZsC1Q4btJETb9fnkM/ne
zBA4F4f0bX3JymVZ83H9F1CTykhQWjZ8WiAuPFGHNaUESGtfr0pWF113KrY5ei910WcvcBKd1w6w zBA4F4f0bX3JymVZ83H9F1CTykhQWjZ8WiAuPFGHNaUESGtfr0pWF113KrY5ei910WcvcBKd1w6w
JrpUdhWC5bAgoXfLoS0itbX7TvIKrvoXcHbtAPMEDyMNv/Dy/RstNTqUBzF2fLKTwTkCAwEAAQKB JrpUdhWC5bAgoXfLoS0itbX7TvIKrvoXcHbtAPMEDyMNv/Dy/RstNTqUBzF2fLKTwTkCAwEAAQKB
@@ -24,3 +31,4 @@ F0iyEOmbjieJ1cgSluByPjKDqMXhlxEr9c/SMLG1TlRxyyVGKSZ3NP765sEXSBq0EBSdAkCX8h79
z9mezZxyRcdod2Sk4t1hWUf0AnLhkzfAgdQoNwY692uBYXsyKXGufLNkb+RznASmn5Lr6NanIL4c z9mezZxyRcdod2Sk4t1hWUf0AnLhkzfAgdQoNwY692uBYXsyKXGufLNkb+RznASmn5Lr6NanIL4c
6S9P 6S9P
-----END PRIVATE KEY-----"); -----END PRIVATE KEY-----");
}

View File

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

View File

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

View File

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