base styles now buildable
This commit is contained in:
@@ -23,7 +23,7 @@ export default async (app) => {
|
|||||||
*
|
*
|
||||||
* @see {@link https://bud.js.org/reference/bud.setPublicPath}
|
* @see {@link https://bud.js.org/reference/bud.setPublicPath}
|
||||||
*/
|
*/
|
||||||
app.setPublicPath('/app/themes/sage/public/');
|
app.setPublicPath('/app/themes/badegg/public/');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Development server settings
|
* Development server settings
|
||||||
|
|||||||
@@ -20,10 +20,10 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@roots/bud": "6.20.0",
|
"@roots/bud": "6.20.0",
|
||||||
|
"@roots/bud-sass": "6.20.0",
|
||||||
"@roots/sage": "6.20.0"
|
"@roots/sage": "6.20.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^7.0.1",
|
"@fortawesome/fontawesome-free": "^7.0.1"
|
||||||
"@roots/bud-sass": "^6.24.0"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
@@ -15,27 +15,6 @@ h6 {
|
|||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.has-flourish {
|
|
||||||
position: relative;
|
|
||||||
|
|
||||||
&::before {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
content: '';
|
|
||||||
display: block;
|
|
||||||
width: 1em;
|
|
||||||
height: 1em;
|
|
||||||
mask-image: url("~/images/flourish-flipped.svg");
|
|
||||||
mask-repeat: no-repeat;
|
|
||||||
mask-size: contain;
|
|
||||||
background: $secondary;
|
|
||||||
transform: translate(-55%, -40%) rotate(270deg);
|
|
||||||
pointer-events: none;
|
|
||||||
font-size: 2em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen {
|
@media screen {
|
||||||
.knockout & {
|
.knockout & {
|
||||||
color: $white;
|
color: $white;
|
||||||
|
|||||||
@@ -2,20 +2,10 @@
|
|||||||
container-type: inline-size;
|
container-type: inline-size;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrapper,
|
.wrapper {
|
||||||
.wrapper.section-has-angle {
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.badegg-blocks {
|
|
||||||
.badegg-block {
|
|
||||||
&:last-of-type {
|
|
||||||
@extend .section-has-angle;
|
|
||||||
@extend .section-has-angle-bottom;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.brand {
|
.brand {
|
||||||
display: block;
|
display: block;
|
||||||
width: $brandWidth;
|
width: $brandWidth;
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
export default function WYSIWYG()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
@@ -1,9 +1,13 @@
|
|||||||
export default function Footer() {
|
export default function Footer() {
|
||||||
const body = document.querySelector("body");
|
const body = document.querySelector("body");
|
||||||
const footer = document.querySelector(".js-footer");
|
const footer = document.querySelector(".js-footer");
|
||||||
|
|
||||||
|
if(!footer) return;
|
||||||
|
|
||||||
const links = footer.querySelectorAll("a");
|
const links = footer.querySelectorAll("a");
|
||||||
const currentURL = location.protocol + '//' + location.host + location.pathname;
|
const currentURL = location.protocol + '//' + location.host + location.pathname;
|
||||||
|
|
||||||
|
|
||||||
links.forEach(link => {
|
links.forEach(link => {
|
||||||
const hash = link.hash;
|
const hash = link.hash;
|
||||||
const href = link.href;
|
const href = link.href;
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ export default function Header() {
|
|||||||
const menuToggle = document.querySelector(".js-menu-toggle");
|
const menuToggle = document.querySelector(".js-menu-toggle");
|
||||||
const menuClose = document.querySelector(".js-menu-close");
|
const menuClose = document.querySelector(".js-menu-close");
|
||||||
|
|
||||||
|
if(!menuToggle) return;
|
||||||
|
|
||||||
menuToggle.addEventListener("click", (e) => {
|
menuToggle.addEventListener("click", (e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
body.classList.toggle("menu-open");
|
body.classList.toggle("menu-open");
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user