Feat: Facebook and LinkedIn links added to core Layout.

This commit is contained in:
2025-08-03 18:58:19 +01:00
parent 3894f2d691
commit d3813e987f
68 changed files with 351 additions and 230 deletions

View File

@@ -392,7 +392,10 @@ h5 {
border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
}
#overlayHamburger > :hover {
color: var(--colour-page-background);
background-color: var(--colour-primary);
}
#overlayHamburger .container {
background-color: var(--colour-page-background);
display: flex;
@@ -408,20 +411,26 @@ h5 {
cursor: pointer;
padding-top: 5vh;
}
#overlayHamburger > :hover {
#overlayHamburger .container:hover {
color: var(--colour-page-background);
background-color: var(--colour-primary);
}
#overlayHamburger > .container {
padding-top: 4.5px;
padding-bottom: 4.5px;
}
#overlayHamburger .container a {
width: 100%;
/*
margin-top: 4.5px;
margin-bottom: 4.5px;
*/
color: var(--colour-text);
text-decoration: none;
}
#overlayHamburger > .container {
padding-top: 4.5px;
padding-bottom: 4.5px;
#overlayHamburger .container a:hover {
color: var(--colour-page-background);
background-color: var(--colour-primary);
}
@media screen and (max-width: 400px) {
@@ -538,7 +547,6 @@ table div {
height: 7vh;
align-items: flex-start;
background: var(--colour-text-background);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
justify-content: center; /* space-between */
align-items: center;
}
@@ -589,16 +597,16 @@ table div {
}
.nav-links {
display: flex;
gap: 1vh 2rem;
gap: 0 2rem;
display: flex;
flex-wrap: wrap;
max-width: calc(1vw * 100 - 1vh * 35);
align-items: center;
margin: 0.5vh 0.5vw;
margin: 0 0.5vw;
}
.nav-links a {
text-decoration: none;
color: var(--text);
color: var(--colour-text);
font-weight: normal;
align-content: center;
font-size: 1.2rem;

File diff suppressed because one or more lines are too long

View File

@@ -1071,61 +1071,28 @@ var BasePage = /*#__PURE__*/function () {
overlayHamburger.classList.add(flagIsCollapsed);
}
});
this.hookupButtonsNavHome();
this.hookupButtonsNavContact();
// this.hookupButtonsNavAdminHome();
this.hookupButtonsNavUserAccount();
this.hookupButtonsNavUserLogout();
this.hookupButtonsNavUserLogin();
// this.hookupButtonsNavStoreHome();
// this.hookupButtonsNavStoreManufacturingPurchaseOrders();
this.hookupButtonsNavDogHome();
this.hookupButtonsNavDogCommandCategories();
this.hookupButtonsNavDogCommands();
this.hookupButtonsNavDogDogCommandLinks();
this.hookupButtonsNavDogDogs();
this.hookupButtonsNavDogLocations();
this.hookupButtonsNavDogButtonIcons();
this.hookupButtonsNavDogCommandButtonLinks();
this.hookupButtonsNavDogAssessments();
this.hookupButtonsNavDogCalendarEntries();
}
}, {
key: "hookupButtonsNavHome",
value: function hookupButtonsNavHome() {
this.hookupButtonsNav('.' + flagNavHome, hashPageHome);
}
}, {
key: "hookupButtonsNav",
value: function hookupButtonsNav(buttonSelector, hashPageNav) {
value: function hookupButtonsNav(buttonSelector) {
var _this2 = this;
Events.hookupEventHandler("click", buttonSelector, function (event, button) {
_this2.router.navigateToHash(hashPageNav);
var pageHash = buttonSelector.getAttribute('href');
_this2.router.navigateToHash(pageHash);
});
}
}, {
key: "hookupButtonsNavContact",
value: function hookupButtonsNavContact() {
this.hookupButtonsNav('.' + flagNavContact, hashPageContact);
}
/*
hookupButtonsNavAdminHome() {
this.hookupButtonsNav('.' + flagNavAdminHome, hashPageAdminHome);
}
hookupButtonsNavServices() {
this.hookupButtonsNav('.' + flagNavServices, hashPageServices);
}
*/
}, {
key: "hookupButtonsNavUserAccount",
value: function hookupButtonsNavUserAccount() {
this.hookupButtonsNav('.' + flagNavUserAccount, hashPageUserAccount);
// this.hookupButtonsNav('.' + flagNavUserAccount);
}
}, {
key: "hookupButtonsNavUserLogout",
value: function hookupButtonsNavUserLogout() {
this.hookupButtonsNav('.' + flagNavUserLogout, hashPageUserLogout);
// this.hookupButtonsNav('.' + flagNavUserLogout);
}
}, {
key: "hookupButtonsNavUserLogin",
@@ -1143,56 +1110,6 @@ var BasePage = /*#__PURE__*/function () {
});
});
}
}, {
key: "hookupButtonsNavDogHome",
value: function hookupButtonsNavDogHome() {
this.hookupButtonsNav('.' + flagNavDogHome, hashPageDogHome);
}
}, {
key: "hookupButtonsNavDogCommandCategories",
value: function hookupButtonsNavDogCommandCategories() {
this.hookupButtonsNav('.' + flagNavDogCommandCategories, hashPageDogCommandCategories);
}
}, {
key: "hookupButtonsNavDogCommands",
value: function hookupButtonsNavDogCommands() {
this.hookupButtonsNav('.' + flagNavDogCommands, hashPageDogCommands);
}
}, {
key: "hookupButtonsNavDogDogCommandLinks",
value: function hookupButtonsNavDogDogCommandLinks() {
this.hookupButtonsNav('.' + flagNavDogDogCommandLinks, hashPageDogDogCommandLinks);
}
}, {
key: "hookupButtonsNavDogDogs",
value: function hookupButtonsNavDogDogs() {
this.hookupButtonsNav('.' + flagNavDogDogs, hashPageDogDogs);
}
}, {
key: "hookupButtonsNavDogLocations",
value: function hookupButtonsNavDogLocations() {
this.hookupButtonsNav('.' + flagNavDogLocations, hashPageDogLocations);
}
}, {
key: "hookupButtonsNavDogButtonIcons",
value: function hookupButtonsNavDogButtonIcons() {
this.hookupButtonsNav('.' + flagNavDogButtonIcons, hashPageDogButtonIcons);
}
}, {
key: "hookupButtonsNavDogCommandButtonLinks",
value: function hookupButtonsNavDogCommandButtonLinks() {
this.hookupButtonsNav('.' + flagNavDogCommandButtonLinks, hashPageDogCommandButtonLinks);
}
}, {
key: "hookupButtonsNavDogAssessments",
value: function hookupButtonsNavDogAssessments() {
this.hookupButtonsNav('.' + flagNavDogAssessments, hashPageDogAssessments);
}
}, {
key: "hookupButtonsNavDogCalendarEntries",
value: function hookupButtonsNavDogCalendarEntries() {
this.hookupButtonsNav('.' + flagNavDogCalendarEntries, hashPageDogCalendarEntries);
}
}, {
key: "hookupOverlays",
value: function hookupOverlays() {

File diff suppressed because one or more lines are too long