init commit

This commit is contained in:
2025-02-27 10:23:21 +00:00
commit 50ac909260
43 changed files with 44192 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 28.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="AIRA_logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 106 24" style="enable-background:new 0 0 106 24;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
</style>
<rect id="Rectangle_1100" x="34.4" y="0" class="st0" width="6.7" height="24"/>
<g id="Group_346">
<g>
<g id="Group_345">
<path id="Path_242" class="st0" d="M17.1,0.5c-0.2-0.3-0.5-0.3-0.8-0.2c-0.1,0-0.1,0.1-0.2,0.2L0,24h7.3l9.3-13.5L25.9,24h7.3
L17.1,0.5"/>
<path id="Path_243" class="st0" d="M89.9,0.5c-0.2-0.3-0.5-0.3-0.8-0.2c-0.1,0-0.1,0.1-0.2,0.2L72.8,24h7.3l9.3-13.5L98.7,24h7.3
L89.9,0.5"/>
<path id="Path_244" class="st0" d="M55.1,14.3c-0.2-0.2-0.2-0.6,0-0.8c0.1-0.1,0.2-0.1,0.3-0.1l7.1-1.3c1.6-0.1,2.9-1.5,3.1-3.1
c-0.1-1.8-1.7-3.2-3.4-3.1H50.8V24h-6.7V0l19,0C68,0,72,4,71.9,8.9c0,4-2.7,7.5-6.5,8.6l6.1,6.5h-7.3L55.1,14.3z"/>
<path id="Path_245" class="st0" d="M103.3,0.4c-1.2,0-2.2,1-2.2,2.2s1,2.2,2.2,2.2c1.2,0,2.2-1,2.2-2.2c0,0,0,0,0,0
C105.5,1.4,104.5,0.4,103.3,0.4 M103.3,5c-1.3,0-2.4-1.1-2.4-2.4s1.1-2.4,2.4-2.4c1.3,0,2.4,1.1,2.4,2.4
C105.7,3.9,104.6,5,103.3,5 M104,3l0.6-1.3h0.2v2h-0.3V2.2l-0.5,1.1h-0.2l-0.5-1v1.5h-0.3v-2h0.2L104,3z M102.9,1.7v0.2h-0.6v1.8
h-0.3V1.9h-0.6V1.7H102.9z"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="30"
height="30.000999"
viewBox="0 0 7.9374991 7.9377635"
version="1.1"
id="svg1323"
inkscape:version="1.3.1 (91b66b0, 2023-11-16)"
sodipodi:docname="logo-theme-dark.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs1317" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.7429584"
inkscape:cx="-59.971745"
inkscape:cy="6.3799729"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1424"
inkscape:window-height="926"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="0"
inkscape:document-rotation="0"
inkscape:pagecheckerboard="0"
inkscape:showpageshadow="2"
inkscape:deskcolor="#d1d1d1" />
<metadata
id="metadata1320">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-289.85624)">
<g
id="g5"
transform="matrix(0.14829411,0,0,0.14829411,0.72135017,233.84599)"
style="fill:#ffffff;fill-opacity:1;stroke-width:6.74336" />
<path
id="path180"
style="color:#000000;fill:#f8f9fa;fill-opacity:1;stroke-width:1;stroke-linecap:round;-inkscape-stroke:none;paint-order:stroke fill markers"
d="M 1.1328203,289.85624 C 0.51181,289.85624 0,290.36805 0,290.98907 v 5.67185 c 0,0.62102 0.51181,1.13282 1.1328203,1.13282 H 6.80468 c 0.62101,0 1.13281,-0.5118 1.13281,-1.13282 v -5.67185 c 0,-0.62102 -0.5118,-1.13283 -1.13281,-1.13283 z m 1.13518,1.51184 H 3.11874 v 1.4e-4 c 0.5058,0 0.97448,0.27069 1.2274,0.7087 0.2439,0.42245 0.25187,0.94075 0.0253,1.37002 h 0.6371 v -7e-5 c 0.5058,0 0.97449,0.27067 1.22739,0.7087 0.12647,0.21903 0.18967,0.46391 0.18966,0.70878 v 0.28348 H 5.66993 v -0.28348 c 0,-0.11407 -0.0296,-0.22808 -0.0888,-0.33066 -0.11847,-0.20517 -0.33585,-0.33065 -0.5728,-0.33065 H 3.12289 3.11889 2.64611 2.2681403 v 0.94494 h -0.75595 v -0.94494 -0.75595 -1.32292 -0.37798 a 0.37798089,0.37798089 0 0 1 0.37798,-0.37797 z m -1.5e-4,0.7561 v 1.32291 H 3.1186 v -7e-5 c 0.23695,0 0.45434,-0.12541 0.5728,-0.33058 0.11847,-0.20519 0.11847,-0.45644 0,-0.66161 -0.11846,-0.20517 -0.33585,-0.33058 -0.5728,-0.33058 v -7e-5 z m -0.75595,3.40178 h 0.75595 v 0.75595 h -0.37797 a 0.37798089,0.37798089 0 0 1 -0.37798,-0.37797 z m 1.1339197,0 H 5.66994 6.4256 v 0.37798 a 0.37798089,0.37798089 0 0 1 -0.37799,0.37797 H 5.66978 2.64582 Z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

67
assets/img/logo/logo.svg Normal file
View File

@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="30"
height="30.000999"
viewBox="0 0 7.9374991 7.9377635"
version="1.1"
id="svg1323"
inkscape:version="1.3.1 (91b66b0, 2023-11-16)"
sodipodi:docname="logo.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs1317" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.6703575"
inkscape:cx="-12.919618"
inkscape:cy="-28.273368"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1424"
inkscape:window-height="926"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="0"
inkscape:document-rotation="0"
inkscape:pagecheckerboard="0"
inkscape:showpageshadow="2"
inkscape:deskcolor="#d1d1d1" />
<metadata
id="metadata1320">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-289.85624)">
<g
id="g5"
transform="matrix(0.14829411,0,0,0.14829411,0.72135017,233.84599)"
style="fill:#ffffff;fill-opacity:1;stroke-width:6.74336" />
<path
id="path180"
style="color:#000000;fill:#212529;fill-opacity:1;stroke-width:1;stroke-linecap:round;-inkscape-stroke:none;paint-order:stroke fill markers"
d="M 1.13282,289.85624 C 0.51181,289.85624 0,290.36805 0,290.98907 v 5.67185 c 0,0.62102 0.51181,1.13282 1.13282,1.13282 h 5.6718599 c 0.62101,0 1.13281,-0.5118 1.13281,-1.13282 v -5.67185 c 0,-0.62102 -0.5118,-1.13283 -1.13281,-1.13283 z m 1.1351802,1.51184 h 0.8507397 v 1.4e-4 c 0.5058,0 0.97448,0.27069 1.2274,0.7087 0.2439,0.42245 0.25187,0.94075 0.0253,1.37002 h 0.6371 v -7e-5 c 0.5058,0 0.97449,0.27067 1.22739,0.7087 0.12647,0.21903 0.18967,0.46391 0.18966,0.70878 v 0.28348 h -0.75566 v -0.28348 c 0,-0.11407 -0.0296,-0.22808 -0.0888,-0.33066 -0.11847,-0.20517 -0.33585,-0.33065 -0.5728,-0.33065 h -1.88544 -0.004 -0.47278 -0.3779697 v 0.94494 H 1.51219 v -0.94494 -0.75595 -1.32292 -0.37798 a 0.37798089,0.37798089 0 0 1 0.3779802,-0.37797 z m -1.5e-4,0.7561 v 1.32291 h 0.8507497 v -7e-5 c 0.23695,0 0.45434,-0.12541 0.5728,-0.33058 0.11847,-0.20519 0.11847,-0.45644 0,-0.66161 -0.11846,-0.20517 -0.33585,-0.33058 -0.5728,-0.33058 v -7e-5 z M 1.5119,295.52596 h 0.7559502 v 0.75595 h -0.37797 A 0.37798089,0.37798089 0 0 1 1.5119,295.90394 Z m 1.1339199,0 h 3.02412 0.75566 v 0.37798 a 0.37798089,0.37798089 0 0 1 -0.37799,0.37797 h -0.37783 -3.02396 z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

38
assets/js/custom.js Normal file
View File

@@ -0,0 +1,38 @@
jQuery(function ($) {
// Getting links from a page and turning them into a scroll-spy bespoke menu
// FIXME when page loads with #... in url, the scroll spy gets messed up.
let links;
links = document.querySelectorAll("#one, #two, #three")
let url = window.location.href;
let innerContent = "";
links.forEach(link => {
let fullUrl = url + "#" + link.id;
innerContent += "<li><a href=\"" + fullUrl + " \" class=''>" + link.attributes.name.value + "</a></li>"
});
console.log(innerContent)
let menu;
menu = document.getElementById("menu-test-scroll-spy");
menu.innerHTML = innerContent
// Activate Scrollspy
$('.entry-content').scrollspy({
target: '#nav_menu-4'
});
// Refresh Scrollspy
$('[data-spy="scroll"]').each(function () {
$(this).scrollspy("refresh");
});
});

4
assets/js/editor.js Normal file
View File

@@ -0,0 +1,4 @@
wp.domReady ( function() {
wp.blocks.unregisterBlockStyle( 'core/button', 'outline');
wp.blocks.unregisterBlockStyle( 'core/button', 'fill');
});

View File

@@ -0,0 +1,155 @@
/*!
* Bootscore custom styles
*/
// Add your own code here!
// Because this file is compiled after Bootstrap, you're also able to use Bootstrap mixins for better code.
// Some examples can be found here: https://bootscore.me/documentation/bootstrap-css-sass
/* NAVIGATION */
#nav-main {
height: 70px;
.container {
width: 1320px;
}
.nav-link {
text-transform: uppercase;
font-size: 13px;
}
}
/* Is required to show the svg logo */
.navbar-brand {
width: 150px;
}
/* CUSTOM BLOCK MOBILE SUPPORT */
@include media-breakpoint-up(md) {
body:not(.wp-admin) .wp-block-create-block-featured-image-block {
.call-to-action {
width: 350px;
margin-right: 100px;
}
}
}
/* DEFAULT BLOCK OVERRIDES */
:root :where(p.has-background) {
padding:.5em;
}
.wp-block-cover, .wp-block-cover-image {
min-height: auto;
}
/* COVER control the spacing on the left and right */
.wp-block-cover.is-light {
.has-text-align-left {
margin-left: 0 !important;
}
.has-text-align-right {
margin-right: 0 !important;
}
}
@include media-breakpoint-up(md) {
:root :where(p.has-background) {
padding:1.25em 2.375em;
}
}
/* HOMEPAGE SPECIFIC STYLING PER BLOCK */
/* Crane block */
.homepage-crane {
.wp-block-cover__image-background {
background-position: right 35% top 20% !important;
}
}
.home {
#content {
padding-top: 0 !important;
}
.entry-header {
display: none;
}
}
.footer-crane {
.wp-block-cover__image-background {
background-position: 760% 20% !important;
background-attachment: initial;
background-repeat: no-repeat;
background-size: auto;
}
}
/* Footer */
#footer {
.bootscore-footer-columns {
// background-color: black;
color: white;
a {
color: white;
}
}
}
/* Custom Style for core/cover block */
.is-style-fixed-height-272 {
height: 272px;
}
.is-style-fixed-height-300 {
height: 300px;
}
.is-style-fixed-height-400 {
height: 400px;
}
// /* FIXME: merge buttons to be bootstrap by amending the classes here in core/button. Then update theme.json */
// .wp-block-button__link {
// transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
// &:hover {
// color: #fff;
// background-color: #c20512;
// border-color: #b70511;
// }
// }
.is-style-bootstrap-primary > a,
.is-style-bootstrap-primary > div {
@extend .btn;
@extend .btn-primary;
@extend .btn-lg;
}
.is-style-bootstrap-dark > a,
.is-style-bootstrap-dark > div {
@extend .btn;
@extend .btn-dark;
@extend .btn-lg;
}
/* Page */
.featured-full-width-img {
height: 400px;
}
#secondary {
height: 100%;
}
#sidebar {
position: sticky;
a:not(.active) {
color: black;
}
li {
padding: 0.25rem 0;
}
}

View File

View File

@@ -0,0 +1,4 @@
/*
Use this file to add your own custom utility classes.
https://getbootstrap.com/docs/5.3/utilities/api/
*/

View File

@@ -0,0 +1,23 @@
// In this file you can override the default variables of Bootstrap
// Do you want primary to be green? Just add "$primary: #00FF00;" to this file and the theme will automatically compile the scss for you.
$primary: #e30613;
$secondary: #cccccc;
$tertiary: #f5f5f5;
$navbar-light-color: white;
$navbar-light-hover-color: darken(white, 10%);
$navbar-light-active-color: white;
$btn-border-radius: 0;
$btn-border-radius-sm: 0;
$btn-border-radius-lg: 0;
$container-max-widths: (
sm: 540px,
md: 720px,
lg: 960px,
xl: 1140px,
xxl: 1400px
);

14
assets/scss/editor.scss Normal file
View File

@@ -0,0 +1,14 @@
/*!
* editor.scss
* This file compiles Bootstrap colors, which are used in theme.json as variables,
* and adds the compiled colors to the color picker in the sidebar.
*/
@import "bootstrap/functions";
@import "bootscore-variables";
@import "bootstrap/variables";
@import "bootstrap/variables-dark";
@import "bootstrap/maps";
@import "bootstrap/mixins";
@import "bootstrap/root";

58
assets/scss/main.scss Normal file
View File

@@ -0,0 +1,58 @@
@import "bootstrap/mixins/banner";
@include bsBanner("");
@import "bootstrap/functions";
@import "bootscore-variables";
@import "bootstrap/variables";
@import "bootstrap/variables-dark";
@import "bootscore-maps";
@import "bootstrap/maps";
@import "bootstrap/mixins";
@import "bootstrap/utilities";
@import "bootscore-utilities";
@import "bootstrap/root";
@import "bootstrap/reboot";
@import "bootstrap/type";
@import "bootstrap/images";
@import "bootstrap/containers";
@import "bootstrap/grid";
@import "bootstrap/tables";
@import "bootstrap/forms";
@import "bootstrap/buttons";
@import "bootstrap/transitions";
@import "bootstrap/dropdown";
@import "bootstrap/button-group";
@import "bootstrap/nav";
@import "bootstrap/navbar";
@import "bootstrap/card";
@import "bootstrap/accordion";
@import "bootstrap/breadcrumb";
@import "bootstrap/pagination";
@import "bootstrap/badge";
@import "bootstrap/alert";
@import "bootstrap/progress";
@import "bootstrap/list-group";
@import "bootstrap/close";
@import "bootstrap/toasts";
@import "bootstrap/modal";
@import "bootstrap/tooltip";
@import "bootstrap/popover";
@import "bootstrap/carousel";
@import "bootstrap/spinners";
@import "bootstrap/offcanvas";
@import "bootstrap/placeholders";
@import "bootstrap/helpers";
@import "bootstrap/utilities/api";
@import "bootscore-style";
@import "bootscore-woocommerce"; // Comment or delete this line if WooCommerce styles are not needed
@import "bootscore-custom";