Added WP-Theme
This commit is contained in:
28
as-coaching-theme/404.php
Normal file
28
as-coaching-theme/404.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* 404 template.
|
||||
*
|
||||
* @package AS_Coaching
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<main id="content" class="site-main">
|
||||
<section class="as-empty-state">
|
||||
<div class="container">
|
||||
<div class="as-empty-state__card">
|
||||
<h1 class="entry-title"><?php esc_html_e( 'Seite nicht gefunden', 'as-coaching' ); ?></h1>
|
||||
<p><?php esc_html_e( 'Die angeforderte Seite existiert nicht oder wurde verschoben.', 'as-coaching' ); ?></p>
|
||||
<a class="btn btn--primary" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php esc_html_e( 'Zur Startseite', 'as-coaching' ); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
27
as-coaching-theme/assets/css/editor.css
Normal file
27
as-coaching-theme/assets/css/editor.css
Normal file
@@ -0,0 +1,27 @@
|
||||
.editor-styles-wrapper {
|
||||
background: var(--canvas);
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .is-root-container {
|
||||
padding-bottom: 6rem;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > * {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block[data-align="full"] {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-group.as-hero,
|
||||
.editor-styles-wrapper .wp-block-group.as-section {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .as-empty-state {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
BIN
as-coaching-theme/assets/fonts/gilroy/Gilroy-Bold.ttf
Normal file
BIN
as-coaching-theme/assets/fonts/gilroy/Gilroy-Bold.ttf
Normal file
Binary file not shown.
BIN
as-coaching-theme/assets/fonts/gilroy/Gilroy-Medium.ttf
Normal file
BIN
as-coaching-theme/assets/fonts/gilroy/Gilroy-Medium.ttf
Normal file
Binary file not shown.
BIN
as-coaching-theme/assets/fonts/gilroy/Gilroy-Regular.ttf
Normal file
BIN
as-coaching-theme/assets/fonts/gilroy/Gilroy-Regular.ttf
Normal file
Binary file not shown.
BIN
as-coaching-theme/assets/fonts/gilroy/Gilroy-SemiBold.ttf
Normal file
BIN
as-coaching-theme/assets/fonts/gilroy/Gilroy-SemiBold.ttf
Normal file
Binary file not shown.
BIN
as-coaching-theme/assets/fonts/gilroy/Gilroy-SemiBoldItalic.ttf
Normal file
BIN
as-coaching-theme/assets/fonts/gilroy/Gilroy-SemiBoldItalic.ttf
Normal file
Binary file not shown.
BIN
as-coaching-theme/assets/img/person-an-tafel.webp
Normal file
BIN
as-coaching-theme/assets/img/person-an-tafel.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 135 KiB |
33
as-coaching-theme/assets/js/theme.js
Normal file
33
as-coaching-theme/assets/js/theme.js
Normal file
@@ -0,0 +1,33 @@
|
||||
(() => {
|
||||
const navToggle = document.querySelector("[data-nav-toggle]");
|
||||
const nav = document.querySelector("[data-nav]");
|
||||
|
||||
if (!navToggle || !nav) {
|
||||
return;
|
||||
}
|
||||
|
||||
navToggle.addEventListener("click", () => {
|
||||
const isOpen = nav.classList.toggle("is-open");
|
||||
navToggle.setAttribute("aria-expanded", String(isOpen));
|
||||
});
|
||||
|
||||
nav.addEventListener("click", (event) => {
|
||||
const link = event.target.closest("a");
|
||||
|
||||
if (!link) {
|
||||
return;
|
||||
}
|
||||
|
||||
nav.classList.remove("is-open");
|
||||
navToggle.setAttribute("aria-expanded", "false");
|
||||
});
|
||||
|
||||
document.addEventListener("keydown", (event) => {
|
||||
if (event.key !== "Escape") {
|
||||
return;
|
||||
}
|
||||
|
||||
nav.classList.remove("is-open");
|
||||
navToggle.setAttribute("aria-expanded", "false");
|
||||
});
|
||||
})();
|
||||
16
as-coaching-theme/assets/svg/favicon.svg
Normal file
16
as-coaching-theme/assets/svg/favicon.svg
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 105.15 130.27">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #c44717;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
fill: #1a1c23;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<path class="cls-2" d="M96.41,2.75v33.44c-4.99-10.98-12.56-19.75-22.71-26.33C63.55,3.29,52.15,0,39.51,0,24.48,0,11.31,4.41,0,13.21,9.87,6.65,21.71,2.83,34.44,2.83c34.41,0,62.31,27.9,62.31,62.31s-27.9,62.31-62.31,62.31c-12.73,0-24.57-3.83-34.44-10.39,11.31,8.8,24.47,13.21,39.51,13.21,12.64,0,24.04-3.28,34.19-9.86,10.15-6.57,17.72-15.35,22.71-26.33v33.44h8.73V2.75h-8.73Z"/>
|
||||
<path class="cls-1" d="M45.85,63.21c-9.52-1.25-25.92,9.18-30.7,17.18-4.83,8.43-.3,15.48,8.95,15.99,8.11.41,16.72-1.95,23.66-6.17,6.13-3.78,12.75-10.47,13.09-17.56-.28-9.12-16.13-14.51-23.85-16.26-11.44-2.22-10.97-14.18-4.06-21.09,5.75-5.89,18.1-12.31,25.72-6.51,5.47,5.56-1.8,13.3-6.33,16.75-.29.28-.69-.18-.41-.44,4-3.55,11.47-14.09,2.2-15.7-6.89-.59-13.6,3.61-18.14,8.5-2.64,3.13-5.38,8.61-1.95,12.05,1.23,1.16,2.95,1.51,4.61,1.77,2.91.53,5.76,1.32,8.56,2.27,11.35,3.83,23.97,12.1,17.95,25.76-4.84,11.04-16.13,18.02-27.49,20.81-6.87,1.48-14.47,2.25-21.04-.8-10.14-4.74-9.73-17.17-2.41-24.33,6.64-6.71,15.5-11.21,24.74-12.97,2.32-.35,4.77-.6,7.12.2.38.14.17.7-.21.56h0Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
53
as-coaching-theme/assets/svg/logo.svg
Normal file
53
as-coaching-theme/assets/svg/logo.svg
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 680.68 130.27">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #c44717;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
fill: #1a1c23;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<g>
|
||||
<path class="cls-2" d="M158.97,60.87l-5.38-14.26h-27.55l-5.38,14.26h-6.14L136.83,2.83h5.97l22.3,58.04h-6.14ZM128.11,41.13h23.42l-11.71-31.03-11.71,31.03Z"/>
|
||||
<path class="cls-2" d="M170.5,60.87V.34h5.47v60.53h-5.47Z"/>
|
||||
<path class="cls-2" d="M191.89,9.46c-.77.77-1.71,1.16-2.82,1.16s-2.05-.39-2.82-1.16c-.77-.77-1.16-1.71-1.16-2.82s.39-2.04,1.16-2.82c.77-.77,1.71-1.16,2.82-1.16s2.04.39,2.82,1.16c.77.77,1.16,1.71,1.16,2.82s-.39,2.05-1.16,2.82ZM186.33,60.87V19.41h5.47v41.46h-5.47Z"/>
|
||||
<path class="cls-2" d="M221.57,18.42c5.03,0,9,1.53,11.9,4.6,2.9,3.07,4.35,7.2,4.35,12.4v25.46h-5.47v-25.46c0-3.7-.98-6.58-2.94-8.62-1.96-2.04-4.74-3.07-8.33-3.07-3.98,0-7.21,1.26-9.7,3.77-2.49,2.52-3.73,6.4-3.73,11.65v21.72h-5.47V19.41h5.47v6.47c3.1-4.98,7.74-7.46,13.93-7.46Z"/>
|
||||
<path class="cls-2" d="M282.85,19.41h5.47v41.46h-5.47v-8.13c-3.81,6.08-9.4,9.12-16.75,9.12-5.92,0-10.96-2.1-15.13-6.3-4.17-4.2-6.26-9.34-6.26-15.42s2.09-11.22,6.26-15.42c4.17-4.2,9.22-6.3,15.13-6.3,7.35,0,12.94,3.04,16.75,9.12v-8.13ZM254.91,51.79c3.15,3.18,7.02,4.77,11.61,4.77s8.46-1.59,11.61-4.77,4.73-7.06,4.73-11.65-1.58-8.47-4.73-11.65c-3.15-3.18-7.02-4.77-11.61-4.77s-8.46,1.59-11.61,4.77c-3.15,3.18-4.73,7.06-4.73,11.65s1.58,8.47,4.73,11.65Z"/>
|
||||
<path class="cls-2" d="M337.24,61.86c-5.31,0-9.85-1.26-13.64-3.77-3.79-2.52-6.43-5.98-7.92-10.41l4.98-2.9c1.05,3.59,2.98,6.4,5.8,8.42,2.82,2.02,6.44,3.03,10.86,3.03s7.67-.95,10.07-2.86,3.61-4.44,3.61-7.59-1.11-5.33-3.32-6.88c-2.21-1.55-5.86-3.15-10.95-4.81-6.03-1.99-10.01-3.59-11.94-4.81-4.42-2.65-6.63-6.49-6.63-11.53s1.71-8.8,5.14-11.65c3.43-2.85,7.66-4.27,12.69-4.27,4.53,0,8.46,1.17,11.77,3.52,3.32,2.35,5.78,5.35,7.38,9l-4.89,2.74c-2.65-6.41-7.41-9.62-14.26-9.62-3.59,0-6.5.89-8.71,2.65-2.21,1.77-3.32,4.23-3.32,7.38,0,2.88,1,5.03,2.99,6.47,1.99,1.44,5.28,2.9,9.87,4.39,2.1.72,3.61,1.23,4.52,1.53.91.3,2.24.8,3.98,1.49,1.74.69,3.03,1.3,3.86,1.82.83.53,1.84,1.24,3.03,2.16,1.19.91,2.04,1.82,2.57,2.74s1,2.02,1.41,3.32c.41,1.3.62,2.7.62,4.19,0,4.92-1.8,8.86-5.39,11.82-3.59,2.96-8.32,4.44-14.18,4.44Z"/>
|
||||
<path class="cls-2" d="M384.84,61.86c-6.25,0-11.44-2.09-15.59-6.26-4.15-4.17-6.22-9.33-6.22-15.46s2.07-11.29,6.22-15.46c4.15-4.17,9.34-6.26,15.59-6.26,4.09,0,7.77.98,11.03,2.94,3.26,1.96,5.64,4.6,7.13,7.92l-4.48,2.57c-1.11-2.49-2.89-4.46-5.35-5.93-2.46-1.46-5.24-2.2-8.33-2.2-4.59,0-8.46,1.59-11.61,4.77-3.15,3.18-4.73,7.06-4.73,11.65s1.58,8.47,4.73,11.65c3.15,3.18,7.02,4.77,11.61,4.77,3.1,0,5.86-.73,8.29-2.2,2.43-1.46,4.34-3.44,5.72-5.93l4.56,2.65c-1.71,3.32-4.23,5.94-7.55,7.88s-6.99,2.9-11.03,2.9Z"/>
|
||||
<path class="cls-2" d="M429.45,18.42c5.03,0,9,1.53,11.9,4.6,2.9,3.07,4.35,7.2,4.35,12.4v25.46h-5.47v-25.46c0-3.7-.98-6.58-2.94-8.62-1.96-2.04-4.74-3.07-8.33-3.07-3.98,0-7.21,1.26-9.7,3.77-2.49,2.52-3.73,6.4-3.73,11.65v21.72h-5.47V2.83h5.47v23.05c3.09-4.98,7.74-7.46,13.93-7.46Z"/>
|
||||
<path class="cls-2" d="M460.62,9.46c-.77.77-1.71,1.16-2.82,1.16s-2.05-.39-2.82-1.16c-.78-.77-1.16-1.71-1.16-2.82s.39-2.04,1.16-2.82c.77-.77,1.71-1.16,2.82-1.16s2.04.39,2.82,1.16c.77.77,1.16,1.71,1.16,2.82s-.39,2.05-1.16,2.82ZM455.07,60.87V19.41h5.47v41.46h-5.47Z"/>
|
||||
<path class="cls-2" d="M470.9,60.87V.34h5.47v60.53h-5.47Z"/>
|
||||
<path class="cls-2" d="M486.74,60.87V.34h5.47v60.53h-5.47Z"/>
|
||||
<path class="cls-2" d="M508.13,9.46c-.77.77-1.71,1.16-2.82,1.16s-2.05-.39-2.82-1.16c-.78-.77-1.16-1.71-1.16-2.82s.39-2.04,1.16-2.82c.77-.77,1.71-1.16,2.82-1.16s2.04.39,2.82,1.16c.77.77,1.16,1.71,1.16,2.82s-.39,2.05-1.16,2.82ZM502.58,60.87V19.41h5.47v41.46h-5.47Z"/>
|
||||
<path class="cls-2" d="M537.82,18.42c5.03,0,9,1.53,11.9,4.6,2.9,3.07,4.35,7.2,4.35,12.4v25.46h-5.47v-25.46c0-3.7-.98-6.58-2.94-8.62-1.96-2.04-4.74-3.07-8.33-3.07-3.98,0-7.21,1.26-9.7,3.77-2.49,2.52-3.73,6.4-3.73,11.65v21.72h-5.47V19.41h5.47v6.47c3.09-4.98,7.74-7.46,13.93-7.46Z"/>
|
||||
<path class="cls-2" d="M599.09,19.41h5.47v39.8c0,5.97-2.05,10.67-6.14,14.1-4.09,3.43-8.98,5.14-14.68,5.14-9.73,0-16.28-3.37-19.65-10.12l4.81-2.74c2.49,5.03,7.43,7.54,14.84,7.54,4.75,0,8.5-1.26,11.24-3.77,2.74-2.52,4.1-5.9,4.1-10.16v-6.47c-3.81,6.08-9.4,9.12-16.75,9.12-5.92,0-10.96-2.1-15.13-6.3-4.17-4.2-6.26-9.34-6.26-15.42s2.09-11.22,6.26-15.42c4.17-4.2,9.22-6.3,15.13-6.3,7.35,0,12.93,3.04,16.75,9.12v-8.13ZM571.15,51.79c3.15,3.18,7.02,4.77,11.61,4.77s8.46-1.59,11.61-4.77c3.15-3.18,4.73-7.06,4.73-11.65s-1.58-8.47-4.73-11.65c-3.15-3.18-7.02-4.77-11.61-4.77s-8.46,1.59-11.61,4.77c-3.15,3.18-4.73,7.06-4.73,11.65s1.58,8.47,4.73,11.65Z"/>
|
||||
<path class="cls-2" d="M634.08,18.42c6.14,0,11.1,2.17,14.88,6.51,3.79,4.34,5.68,9.47,5.68,15.38,0,.61-.06,1.46-.17,2.57h-36.4c.55,4.2,2.33,7.53,5.35,9.99,3.01,2.46,6.73,3.69,11.15,3.69,3.15,0,5.87-.65,8.17-1.95,2.29-1.3,4.02-3,5.18-5.1l4.81,2.82c-1.82,2.93-4.31,5.25-7.46,6.97-3.15,1.71-6.75,2.57-10.78,2.57-6.52,0-11.83-2.04-15.92-6.14-4.09-4.09-6.14-9.29-6.14-15.59s2.02-11.36,6.05-15.51c4.03-4.15,9.23-6.22,15.59-6.22ZM634.08,23.72c-4.31,0-7.92,1.29-10.82,3.86-2.9,2.57-4.63,5.9-5.18,9.99h30.93c-.55-4.37-2.24-7.77-5.06-10.2-2.82-2.43-6.11-3.65-9.87-3.65Z"/>
|
||||
<path class="cls-2" d="M667.58,26.29c2.54-5.03,6.91-7.55,13.1-7.55v5.31c-3.76,0-6.88,1.11-9.37,3.32-2.49,2.21-3.73,5.69-3.73,10.45v23.05h-5.47V19.41h5.47v6.88Z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path class="cls-2" d="M133.7,119.43c-5.73,0-10.47-1.89-14.22-5.68-3.75-3.78-5.62-8.41-5.62-13.89s1.87-10.11,5.62-13.89c3.75-3.78,8.49-5.68,14.22-5.68,3.49,0,6.7.84,9.62,2.51,2.92,1.68,5.17,3.94,6.76,6.78l-3.35,1.95c-1.19-2.31-2.96-4.14-5.3-5.51-2.34-1.37-4.92-2.05-7.73-2.05-4.72,0-8.58,1.53-11.57,4.59-2.99,3.06-4.49,6.83-4.49,11.3s1.5,8.24,4.49,11.3c2.99,3.06,6.85,4.59,11.57,4.59,2.81,0,5.39-.68,7.73-2.05,2.34-1.37,4.11-3.21,5.3-5.51l3.35,1.89c-1.55,2.85-3.79,5.12-6.73,6.81-2.94,1.69-6.15,2.54-9.65,2.54Z"/>
|
||||
<path class="cls-2" d="M176.81,115.34c-2.76,2.72-6.12,4.08-10.08,4.08s-7.32-1.36-10.08-4.08c-2.76-2.72-4.14-6.08-4.14-10.08s1.38-7.36,4.14-10.08c2.76-2.72,6.12-4.08,10.08-4.08s7.32,1.36,10.08,4.08c2.76,2.72,4.14,6.08,4.14,10.08s-1.38,7.36-4.14,10.08ZM159.16,112.86c2.05,2.07,4.58,3.11,7.57,3.11s5.51-1.04,7.57-3.11c2.05-2.07,3.08-4.6,3.08-7.59s-1.03-5.52-3.08-7.59c-2.05-2.07-4.58-3.11-7.57-3.11s-5.51,1.04-7.57,3.11c-2.05,2.07-3.08,4.6-3.08,7.59s1.03,5.52,3.08,7.59Z"/>
|
||||
<path class="cls-2" d="M208.78,91.75h3.57v27.03h-3.57v-5.3c-2.49,3.96-6.13,5.95-10.92,5.95-3.86,0-7.14-1.37-9.86-4.11-2.72-2.74-4.08-6.09-4.08-10.05s1.36-7.31,4.08-10.05c2.72-2.74,6.01-4.11,9.86-4.11,4.79,0,8.43,1.98,10.92,5.95v-5.3ZM190.56,112.86c2.05,2.07,4.58,3.11,7.57,3.11s5.51-1.04,7.57-3.11c2.05-2.07,3.08-4.6,3.08-7.59s-1.03-5.52-3.08-7.59c-2.05-2.07-4.58-3.11-7.57-3.11s-5.51,1.04-7.57,3.11c-2.05,2.07-3.08,4.6-3.08,7.59s1.03,5.52,3.08,7.59Z"/>
|
||||
<path class="cls-2" d="M231.16,119.43c-4.07,0-7.46-1.36-10.16-4.08-2.7-2.72-4.05-6.08-4.05-10.08s1.35-7.36,4.05-10.08c2.7-2.72,6.09-4.08,10.16-4.08,2.67,0,5.06.64,7.19,1.92,2.13,1.28,3.68,3,4.65,5.16l-2.92,1.68c-.72-1.62-1.88-2.91-3.49-3.86-1.6-.96-3.41-1.43-5.43-1.43-2.99,0-5.51,1.04-7.57,3.11-2.05,2.07-3.08,4.6-3.08,7.59s1.03,5.52,3.08,7.59c2.05,2.07,4.58,3.11,7.57,3.11,2.02,0,3.82-.48,5.41-1.43,1.58-.95,2.83-2.24,3.73-3.87l2.97,1.73c-1.12,2.16-2.76,3.87-4.92,5.13s-4.56,1.89-7.19,1.89Z"/>
|
||||
<path class="cls-2" d="M259.7,91.1c3.28,0,5.86,1,7.76,3,1.89,2,2.84,4.69,2.84,8.08v16.59h-3.57v-16.59c0-2.41-.64-4.29-1.92-5.62-1.28-1.33-3.09-2-5.43-2-2.59,0-4.7.82-6.32,2.46-1.62,1.64-2.43,4.17-2.43,7.59v14.16h-3.57v-37.84h3.57v15.03c2.02-3.24,5.04-4.87,9.08-4.87Z"/>
|
||||
<path class="cls-2" d="M279.48,85.26c-.5.5-1.12.76-1.84.76s-1.33-.25-1.84-.76c-.5-.5-.76-1.12-.76-1.84s.25-1.33.76-1.84c.5-.5,1.12-.76,1.84-.76s1.33.25,1.84.76c.5.51.76,1.12.76,1.84s-.25,1.33-.76,1.84ZM275.86,118.78v-27.03h3.57v27.03h-3.57Z"/>
|
||||
<path class="cls-2" d="M298.29,91.1c3.28,0,5.86,1,7.76,3,1.89,2,2.84,4.69,2.84,8.08v16.59h-3.57v-16.59c0-2.41-.64-4.29-1.92-5.62-1.28-1.33-3.09-2-5.43-2-2.59,0-4.7.82-6.32,2.46-1.62,1.64-2.43,4.17-2.43,7.59v14.16h-3.57v-27.03h3.57v4.22c2.02-3.24,5.04-4.87,9.08-4.87Z"/>
|
||||
<path class="cls-2" d="M337.7,91.75h3.57v25.95c0,3.89-1.33,6.95-4,9.19-2.67,2.23-5.86,3.35-9.57,3.35-6.34,0-10.61-2.2-12.81-6.59l3.13-1.78c1.62,3.28,4.85,4.92,9.68,4.92,3.1,0,5.54-.82,7.32-2.46,1.78-1.64,2.68-3.85,2.68-6.62v-4.22c-2.49,3.96-6.13,5.95-10.92,5.95-3.86,0-7.14-1.37-9.86-4.11-2.72-2.74-4.08-6.09-4.08-10.05s1.36-7.31,4.08-10.05c2.72-2.74,6.01-4.11,9.86-4.11,4.79,0,8.43,1.98,10.92,5.95v-5.3ZM319.48,112.86c2.05,2.07,4.58,3.11,7.57,3.11s5.51-1.04,7.57-3.11c2.05-2.07,3.08-4.6,3.08-7.59s-1.03-5.52-3.08-7.59c-2.05-2.07-4.58-3.11-7.57-3.11s-5.51,1.04-7.57,3.11c-2.05,2.07-3.08,4.6-3.08,7.59s1.03,5.52,3.08,7.59Z"/>
|
||||
<path class="cls-2" d="M390.02,117.53l-3.35,1.89-4.03-4.3c-2.84,2.87-6.54,4.3-11.11,4.3-3.71,0-6.71-.96-9-2.89-2.29-1.93-3.43-4.53-3.43-7.81,0-2.38.61-4.52,1.84-6.43,1.22-1.91,3.04-3.42,5.46-4.54-1.87-2.13-2.81-4.5-2.81-7.14,0-3.13,1.08-5.64,3.24-7.51,2.16-1.87,4.68-2.81,7.57-2.81,2.41,0,4.62.68,6.62,2.03,2,1.35,3.43,3.18,4.3,5.49l-3.19,1.84c-.54-1.77-1.5-3.15-2.89-4.16-1.39-1.01-2.98-1.51-4.78-1.51-1.95,0-3.61.59-5,1.78-1.39,1.19-2.08,2.74-2.08,4.65,0,1.26.3,2.4.89,3.4.59,1.01,1.47,2.13,2.62,3.35l11.4,12.14c1.05-2.05,1.73-4.44,2.06-7.17l3.35,1.95c-.47,3.14-1.38,5.82-2.75,8.06l5.07,5.4ZM371.43,115.75c3.6,0,6.48-1.13,8.63-3.39l-11.04-11.81c-2.16.79-3.72,1.92-4.68,3.38-.97,1.46-1.45,3.02-1.45,4.68,0,2.2.76,3.94,2.3,5.22,1.53,1.28,3.61,1.92,6.24,1.92Z"/>
|
||||
<path class="cls-2" d="M427.48,99.16c1.84.79,3.31,1.99,4.41,3.59,1.1,1.6,1.65,3.43,1.65,5.49,0,2.92-1.03,5.41-3.08,7.46-2.05,2.05-4.54,3.08-7.46,3.08h-16.49v-37.84h15.24c2.81,0,5.21,1,7.19,3,1.98,2,2.97,4.39,2.97,7.16,0,3.53-1.48,6.22-4.43,8.05ZM421.75,84.51h-11.46v13.19h11.46c1.77,0,3.27-.64,4.51-1.92,1.24-1.28,1.86-2.84,1.86-4.68s-.62-3.35-1.86-4.65c-1.24-1.3-2.75-1.95-4.51-1.95ZM422.99,115.21c1.87,0,3.47-.68,4.78-2.03,1.31-1.35,1.97-3,1.97-4.95s-.66-3.55-1.97-4.92c-1.32-1.37-2.91-2.05-4.78-2.05h-12.7v13.95h12.7Z"/>
|
||||
<path class="cls-2" d="M450.61,91.1c4,0,7.23,1.42,9.7,4.24,2.47,2.83,3.7,6.17,3.7,10.03,0,.4-.04.96-.11,1.68h-23.73c.36,2.74,1.52,4.91,3.49,6.51,1.96,1.6,4.39,2.41,7.27,2.41,2.05,0,3.83-.42,5.32-1.27,1.5-.85,2.62-1.95,3.38-3.32l3.14,1.84c-1.19,1.91-2.81,3.42-4.87,4.54-2.05,1.12-4.4,1.68-7.03,1.68-4.25,0-7.71-1.33-10.38-4-2.67-2.67-4-6.05-4-10.16s1.32-7.41,3.95-10.11c2.63-2.7,6.02-4.05,10.16-4.05ZM450.61,94.56c-2.81,0-5.16.84-7.05,2.51-1.89,1.68-3.02,3.85-3.38,6.51h20.16c-.36-2.85-1.46-5.06-3.3-6.65-1.84-1.58-3.98-2.38-6.43-2.38Z"/>
|
||||
<path class="cls-2" d="M471.91,96.24c1.66-3.28,4.5-4.92,8.54-4.92v3.46c-2.45,0-4.49.72-6.11,2.16-1.62,1.44-2.43,3.71-2.43,6.81v15.03h-3.57v-27.03h3.57v4.49Z"/>
|
||||
<path class="cls-2" d="M505.59,91.75h3.57v27.03h-3.57v-5.3c-2.49,3.96-6.13,5.95-10.92,5.95-3.86,0-7.14-1.37-9.87-4.11-2.72-2.74-4.08-6.09-4.08-10.05s1.36-7.31,4.08-10.05c2.72-2.74,6.01-4.11,9.87-4.11,4.79,0,8.43,1.98,10.92,5.95v-5.3ZM487.37,112.86c2.05,2.07,4.58,3.11,7.57,3.11s5.51-1.04,7.57-3.11c2.05-2.07,3.08-4.6,3.08-7.59s-1.03-5.52-3.08-7.59c-2.05-2.07-4.58-3.11-7.57-3.11s-5.51,1.04-7.57,3.11c-2.05,2.07-3.08,4.6-3.08,7.59s1.03,5.52,3.08,7.59Z"/>
|
||||
<path class="cls-2" d="M529.69,95.21h-7.78v16.38c0,1.48.29,2.53.87,3.16.58.63,1.44.96,2.59.97,1.15.02,2.59,0,4.33-.08v3.13c-3.78.58-6.62.31-8.51-.81-1.89-1.12-2.84-3.24-2.84-6.38v-16.38h-5.68v-3.46h5.68v-6.49l3.57-1.08v7.57h7.78v3.46Z"/>
|
||||
<path class="cls-2" d="M553.31,91.75h3.57v27.03h-3.57v-4.22c-2.02,3.24-5.05,4.86-9.08,4.86-3.28,0-5.86-1-7.76-3-1.89-2-2.84-4.69-2.84-8.08v-16.59h3.57v16.59c0,2.42.64,4.29,1.92,5.62s3.09,2,5.43,2c2.59,0,4.7-.82,6.32-2.46,1.62-1.64,2.43-4.17,2.43-7.59v-14.16Z"/>
|
||||
<path class="cls-2" d="M575.75,91.1c3.28,0,5.86,1,7.76,3,1.89,2,2.84,4.69,2.84,8.08v16.59h-3.57v-16.59c0-2.41-.64-4.29-1.92-5.62s-3.09-2-5.43-2c-2.59,0-4.7.82-6.33,2.46-1.62,1.64-2.43,4.17-2.43,7.59v14.16h-3.57v-27.03h3.57v4.22c2.02-3.24,5.04-4.87,9.08-4.87Z"/>
|
||||
<path class="cls-2" d="M615.15,91.75h3.57v25.95c0,3.89-1.33,6.95-4,9.19-2.67,2.23-5.86,3.35-9.57,3.35-6.34,0-10.61-2.2-12.81-6.59l3.14-1.78c1.62,3.28,4.85,4.92,9.67,4.92,3.1,0,5.54-.82,7.33-2.46,1.78-1.64,2.67-3.85,2.67-6.62v-4.22c-2.49,3.96-6.13,5.95-10.92,5.95-3.86,0-7.14-1.37-9.87-4.11-2.72-2.74-4.08-6.09-4.08-10.05s1.36-7.31,4.08-10.05c2.72-2.74,6.01-4.11,9.87-4.11,4.79,0,8.43,1.98,10.92,5.95v-5.3ZM596.94,112.86c2.05,2.07,4.58,3.11,7.57,3.11s5.51-1.04,7.57-3.11c2.05-2.07,3.08-4.6,3.08-7.59s-1.03-5.52-3.08-7.59c-2.05-2.07-4.58-3.11-7.57-3.11s-5.51,1.04-7.57,3.11c-2.05,2.07-3.08,4.6-3.08,7.59s1.03,5.52,3.08,7.59Z"/>
|
||||
</g>
|
||||
<path class="cls-2" d="M96.41,2.75v33.44c-4.99-10.98-12.56-19.75-22.71-26.33C63.55,3.29,52.15,0,39.51,0,24.48,0,11.31,4.41,0,13.21,9.87,6.65,21.71,2.83,34.44,2.83c34.41,0,62.31,27.9,62.31,62.31s-27.9,62.31-62.31,62.31c-12.73,0-24.57-3.83-34.44-10.39,11.31,8.8,24.47,13.21,39.51,13.21,12.64,0,24.04-3.28,34.19-9.86,10.15-6.57,17.72-15.35,22.71-26.33v33.44h8.73V2.75h-8.73Z"/>
|
||||
<path class="cls-1" d="M45.85,63.21c-9.52-1.25-25.92,9.18-30.7,17.18-4.83,8.43-.3,15.48,8.95,15.99,8.11.41,16.72-1.95,23.66-6.17,6.13-3.78,12.75-10.47,13.09-17.56-.28-9.12-16.13-14.51-23.85-16.26-11.44-2.22-10.97-14.18-4.06-21.09,5.75-5.89,18.1-12.31,25.72-6.51,5.47,5.56-1.8,13.3-6.33,16.75-.29.28-.69-.18-.41-.44,4-3.55,11.47-14.09,2.2-15.7-6.89-.59-13.6,3.61-18.14,8.5-2.64,3.13-5.38,8.61-1.95,12.05,1.23,1.16,2.95,1.51,4.61,1.77,2.91.53,5.76,1.32,8.56,2.27,11.35,3.83,23.97,12.1,17.95,25.76-4.84,11.04-16.13,18.02-27.49,20.81-6.87,1.48-14.47,2.25-21.04-.8-10.14-4.74-9.73-17.17-2.41-24.33,6.64-6.71,15.5-11.21,24.74-12.97,2.32-.35,4.77-.6,7.12.2.38.14.17.7-.21.56h0Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 14 KiB |
32
as-coaching-theme/footer.php
Normal file
32
as-coaching-theme/footer.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* Theme footer.
|
||||
*
|
||||
* @package AS_Coaching
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
<footer class="site-footer">
|
||||
<div class="container footer-inner">
|
||||
<p>© <?php echo esc_html( gmdate( 'Y' ) ); ?> <?php bloginfo( 'name' ); ?></p>
|
||||
|
||||
<nav class="footer-nav" aria-label="<?php esc_attr_e( 'Footer Menu', 'as-coaching' ); ?>">
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
'theme_location' => 'footer',
|
||||
'container' => false,
|
||||
'menu_class' => 'menu',
|
||||
'fallback_cb' => '__return_false',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</nav>
|
||||
</div>
|
||||
</footer>
|
||||
<?php wp_footer(); ?>
|
||||
</body>
|
||||
</html>
|
||||
37
as-coaching-theme/front-page.php
Normal file
37
as-coaching-theme/front-page.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* Front page template.
|
||||
*
|
||||
* @package AS_Coaching
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<main id="content" class="site-main">
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<?php if ( trim( wp_strip_all_tags( get_the_content() ) ) ) : ?>
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
<?php else : ?>
|
||||
<section class="as-empty-state">
|
||||
<div class="container">
|
||||
<div class="as-empty-state__card">
|
||||
<h1 class="entry-title"><?php esc_html_e( 'Startseite bereit für Gutenberg', 'as-coaching' ); ?></h1>
|
||||
<p><?php esc_html_e( 'Füge jetzt im Editor die mitgelieferten AS-Patterns ein. Das Theme bringt Hero, Angebotskarten, FAQ, CTA und Kontaktsektionen im Stil des Styleguides bereits mit.', 'as-coaching' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
<?php endwhile; ?>
|
||||
<?php endif; ?>
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
244
as-coaching-theme/functions.php
Normal file
244
as-coaching-theme/functions.php
Normal file
@@ -0,0 +1,244 @@
|
||||
<?php
|
||||
/**
|
||||
* Theme setup and integrations.
|
||||
*
|
||||
* @package AS_Coaching
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
function as_coaching_get_theme_version() {
|
||||
$theme = wp_get_theme();
|
||||
|
||||
return $theme->get( 'Version' ) ?: '1.0.0';
|
||||
}
|
||||
|
||||
function as_coaching_setup() {
|
||||
add_theme_support( 'title-tag' );
|
||||
add_theme_support( 'post-thumbnails' );
|
||||
add_theme_support( 'responsive-embeds' );
|
||||
add_theme_support( 'editor-styles' );
|
||||
add_theme_support( 'wp-block-styles' );
|
||||
add_theme_support( 'align-wide' );
|
||||
add_theme_support(
|
||||
'html5',
|
||||
array(
|
||||
'comment-form',
|
||||
'comment-list',
|
||||
'gallery',
|
||||
'caption',
|
||||
'search-form',
|
||||
'script',
|
||||
'style',
|
||||
)
|
||||
);
|
||||
|
||||
register_nav_menus(
|
||||
array(
|
||||
'header' => __( 'Header Menu', 'as-coaching' ),
|
||||
'footer' => __( 'Footer Menu', 'as-coaching' ),
|
||||
)
|
||||
);
|
||||
|
||||
add_editor_style(
|
||||
array(
|
||||
'style.css',
|
||||
'assets/css/editor.css',
|
||||
)
|
||||
);
|
||||
}
|
||||
add_action( 'after_setup_theme', 'as_coaching_setup' );
|
||||
|
||||
function as_coaching_enqueue_assets() {
|
||||
$version = as_coaching_get_theme_version();
|
||||
|
||||
wp_enqueue_style( 'as-coaching-style', get_stylesheet_uri(), array(), $version );
|
||||
wp_enqueue_script( 'as-coaching-script', get_theme_file_uri( '/assets/js/theme.js' ), array(), $version, true );
|
||||
|
||||
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
|
||||
wp_enqueue_script( 'comment-reply' );
|
||||
}
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'as_coaching_enqueue_assets' );
|
||||
|
||||
function as_coaching_section_url( $anchor ) {
|
||||
if ( is_front_page() ) {
|
||||
return '#' . ltrim( $anchor, '#' );
|
||||
}
|
||||
|
||||
return trailingslashit( home_url( '/' ) ) . '#' . ltrim( $anchor, '#' );
|
||||
}
|
||||
|
||||
function as_coaching_get_inline_svg( $relative_path, $class = '' ) {
|
||||
$file = get_theme_file_path( $relative_path );
|
||||
|
||||
if ( ! file_exists( $file ) ) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$svg = trim( file_get_contents( $file ) );
|
||||
|
||||
if ( '' === $svg ) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$svg = preg_replace( '/<\?xml.*?\?>/i', '', $svg );
|
||||
$svg = preg_replace_callback(
|
||||
'/<svg\b([^>]*)>/i',
|
||||
static function ( $matches ) use ( $class ) {
|
||||
$attributes = $matches[1];
|
||||
|
||||
if ( false === strpos( $attributes, 'aria-hidden=' ) ) {
|
||||
$attributes .= ' aria-hidden="true"';
|
||||
}
|
||||
|
||||
if ( false === strpos( $attributes, 'focusable=' ) ) {
|
||||
$attributes .= ' focusable="false"';
|
||||
}
|
||||
|
||||
if ( $class ) {
|
||||
if ( preg_match( '/class="([^"]*)"/i', $attributes, $class_match ) ) {
|
||||
$replacement = 'class="' . esc_attr( trim( $class_match[1] . ' ' . $class ) ) . '"';
|
||||
$attributes = preg_replace( '/class="([^"]*)"/i', $replacement, $attributes, 1 );
|
||||
} else {
|
||||
$attributes .= ' class="' . esc_attr( $class ) . '"';
|
||||
}
|
||||
}
|
||||
|
||||
return '<svg' . $attributes . '>';
|
||||
},
|
||||
$svg,
|
||||
1
|
||||
);
|
||||
|
||||
return $svg;
|
||||
}
|
||||
|
||||
function as_coaching_get_svg_data_uri( $relative_path ) {
|
||||
$file = get_theme_file_path( $relative_path );
|
||||
|
||||
if ( ! file_exists( $file ) ) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$svg = trim( file_get_contents( $file ) );
|
||||
|
||||
if ( '' === $svg ) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$svg = preg_replace( '/<\?xml.*?\?>/i', '', $svg );
|
||||
$svg = preg_replace( '/>\s+</', '><', $svg );
|
||||
|
||||
return 'data:image/svg+xml,' . rawurlencode( $svg );
|
||||
}
|
||||
|
||||
function as_coaching_output_favicon() {
|
||||
$icon = as_coaching_get_svg_data_uri( '/assets/svg/favicon.svg' );
|
||||
|
||||
if ( ! $icon ) {
|
||||
return;
|
||||
}
|
||||
?>
|
||||
<link rel="icon" href="<?php echo esc_url( $icon ); ?>" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="<?php echo esc_url( $icon ); ?>">
|
||||
<?php
|
||||
}
|
||||
add_action( 'wp_head', 'as_coaching_output_favicon' );
|
||||
add_action( 'admin_head', 'as_coaching_output_favicon' );
|
||||
add_action( 'login_head', 'as_coaching_output_favicon' );
|
||||
|
||||
function as_coaching_register_pattern_categories() {
|
||||
register_block_pattern_category(
|
||||
'as-coaching-pages',
|
||||
array(
|
||||
'label' => __( 'AS Pages', 'as-coaching' ),
|
||||
)
|
||||
);
|
||||
|
||||
register_block_pattern_category(
|
||||
'as-coaching-sections',
|
||||
array(
|
||||
'label' => __( 'AS Sections', 'as-coaching' ),
|
||||
)
|
||||
);
|
||||
}
|
||||
add_action( 'init', 'as_coaching_register_pattern_categories' );
|
||||
|
||||
function as_coaching_register_patterns() {
|
||||
if ( ! function_exists( 'register_block_pattern' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$pattern_files = glob( get_theme_file_path( '/patterns/*.php' ) );
|
||||
$registry = WP_Block_Patterns_Registry::get_instance();
|
||||
|
||||
if ( empty( $pattern_files ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
foreach ( $pattern_files as $pattern_file ) {
|
||||
$headers = get_file_data(
|
||||
$pattern_file,
|
||||
array(
|
||||
'title' => 'Title',
|
||||
'slug' => 'Slug',
|
||||
'description' => 'Description',
|
||||
'categories' => 'Categories',
|
||||
'keywords' => 'Keywords',
|
||||
'viewportWidth' => 'Viewport Width',
|
||||
'blockTypes' => 'Block Types',
|
||||
'postTypes' => 'Post Types',
|
||||
'templateTypes' => 'Template Types',
|
||||
'inserter' => 'Inserter',
|
||||
)
|
||||
);
|
||||
|
||||
if ( empty( $headers['title'] ) || empty( $headers['slug'] ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( $registry->is_registered( $headers['slug'] ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
ob_start();
|
||||
include $pattern_file;
|
||||
$content = trim( ob_get_clean() );
|
||||
|
||||
register_block_pattern(
|
||||
$headers['slug'],
|
||||
array(
|
||||
'title' => $headers['title'],
|
||||
'description' => $headers['description'],
|
||||
'categories' => array_filter( array_map( 'trim', explode( ',', $headers['categories'] ) ) ),
|
||||
'keywords' => array_filter( array_map( 'trim', explode( ',', $headers['keywords'] ) ) ),
|
||||
'viewportWidth' => $headers['viewportWidth'] ? (int) $headers['viewportWidth'] : 1380,
|
||||
'blockTypes' => array_filter( array_map( 'trim', explode( ',', $headers['blockTypes'] ) ) ),
|
||||
'postTypes' => array_filter( array_map( 'trim', explode( ',', $headers['postTypes'] ) ) ),
|
||||
'templateTypes' => array_filter( array_map( 'trim', explode( ',', $headers['templateTypes'] ) ) ),
|
||||
'inserter' => ! in_array( strtolower( $headers['inserter'] ), array( 'no', 'false' ), true ),
|
||||
'content' => $content,
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
add_action( 'init', 'as_coaching_register_patterns', 20 );
|
||||
|
||||
function as_coaching_header_menu_fallback( $args ) {
|
||||
$menu_class = empty( $args->menu_class ) ? 'menu' : $args->menu_class;
|
||||
|
||||
echo '<ul class="' . esc_attr( $menu_class ) . '">';
|
||||
|
||||
wp_list_pages(
|
||||
array(
|
||||
'title_li' => '',
|
||||
)
|
||||
);
|
||||
|
||||
echo '</ul>';
|
||||
|
||||
return;
|
||||
}
|
||||
48
as-coaching-theme/header.php
Normal file
48
as-coaching-theme/header.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/**
|
||||
* Theme header.
|
||||
*
|
||||
* @package AS_Coaching
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
?><!doctype html>
|
||||
<html <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
<body <?php body_class(); ?>>
|
||||
<?php wp_body_open(); ?>
|
||||
<a class="skip-link" href="#content"><?php esc_html_e( 'Zum Inhalt springen', 'as-coaching' ); ?></a>
|
||||
|
||||
<header class="site-header">
|
||||
<div class="container header-inner">
|
||||
<a class="brand" href="<?php echo esc_url( home_url( '/' ) ); ?>" aria-label="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>">
|
||||
<span class="brand-logo">
|
||||
<?php echo as_coaching_get_inline_svg( '/assets/svg/logo.svg' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<button class="nav-toggle" type="button" aria-expanded="false" aria-controls="site-navigation" data-nav-toggle>
|
||||
<span class="screen-reader-text"><?php esc_html_e( 'Navigation öffnen', 'as-coaching' ); ?></span>
|
||||
<span class="burger" aria-hidden="true"></span>
|
||||
</button>
|
||||
|
||||
<nav class="site-nav" id="site-navigation" aria-label="<?php esc_attr_e( 'Hauptnavigation', 'as-coaching' ); ?>" data-nav>
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
'theme_location' => 'header',
|
||||
'container' => false,
|
||||
'menu_class' => 'menu',
|
||||
'fallback_cb' => 'as_coaching_header_menu_fallback',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
47
as-coaching-theme/index.php
Normal file
47
as-coaching-theme/index.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/**
|
||||
* Blog index and fallback template.
|
||||
*
|
||||
* @package AS_Coaching
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<main id="content" class="site-main">
|
||||
<div class="post-listing">
|
||||
<div class="container">
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<div class="post-grid">
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class( 'post-card' ); ?>>
|
||||
<header class="post-card__header">
|
||||
<h2 class="post-card__title">
|
||||
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
|
||||
</h2>
|
||||
<p class="post-card__meta"><?php echo esc_html( get_the_date() ); ?></p>
|
||||
</header>
|
||||
<div class="post-card__excerpt">
|
||||
<?php the_excerpt(); ?>
|
||||
</div>
|
||||
<a class="btn btn--primary" href="<?php the_permalink(); ?>"><?php esc_html_e( 'Weiterlesen', 'as-coaching' ); ?></a>
|
||||
</article>
|
||||
<?php endwhile; ?>
|
||||
</div>
|
||||
<?php the_posts_pagination(); ?>
|
||||
<?php else : ?>
|
||||
<div class="as-empty-state__card">
|
||||
<h1 class="entry-title"><?php esc_html_e( 'Noch keine Inhalte vorhanden', 'as-coaching' ); ?></h1>
|
||||
<p><?php esc_html_e( 'Lege Seiten oder Beiträge an und nutze die mitgelieferten Gutenberg-Patterns für den Start.', 'as-coaching' ); ?></p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
33
as-coaching-theme/page.php
Normal file
33
as-coaching-theme/page.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* Page template.
|
||||
*
|
||||
* @package AS_Coaching
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<main id="content" class="site-main">
|
||||
<div class="entry-shell">
|
||||
<div class="container">
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class( 'entry-shell__article' ); ?>>
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||
</header>
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
</article>
|
||||
<?php endwhile; ?>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
74
as-coaching-theme/patterns/contact.php
Normal file
74
as-coaching-theme/patterns/contact.php
Normal file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
/**
|
||||
* Title: Kontaktsektion
|
||||
* Slug: as-coaching/contact
|
||||
* Categories: as-coaching-sections
|
||||
* Keywords: kontakt, formular, anfrage
|
||||
* Description: Kontaktbereich mit Hinweistext und Platzhalter für Formular-Block.
|
||||
* Viewport Width: 1380
|
||||
* Post Types: page
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"tagName":"section","align":"full","className":"as-section as-section--tinted","anchor":"kontakt"} -->
|
||||
<section class="wp-block-group alignfull as-section as-section--tinted" id="kontakt">
|
||||
<!-- wp:group {"align":"wide","className":"as-section-heading"} -->
|
||||
<div class="wp-block-group alignwide as-section-heading">
|
||||
<!-- wp:paragraph {"className":"as-label"} -->
|
||||
<p class="as-label">Kontakt</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:heading {"level":2} -->
|
||||
<h2 class="wp-block-heading">Anfrage und nächster Schritt</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Diese Sektion ist für Gutenberg gedacht: Text links, rechts Platz für einen Formular-Block oder Terminlink.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:columns {"align":"wide","className":"as-contact-grid"} -->
|
||||
<div class="wp-block-columns alignwide as-contact-grid">
|
||||
<!-- wp:column {"className":"as-contact-card"} -->
|
||||
<div class="wp-block-column as-contact-card">
|
||||
<!-- wp:paragraph {"className":"as-pill"} -->
|
||||
<p class="as-pill">Antwort in der Regel innerhalb von 1–2 Werktagen</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3 class="wp-block-heading">Worum soll es gehen?</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:list -->
|
||||
<ul>
|
||||
<li>Bewerbung, Interview oder Profil-Schärfung</li>
|
||||
<li>Selbstpräsentation für Meetings oder Kundenkontakt</li>
|
||||
<li>Workshop-Anfrage für Teams oder KMU</li>
|
||||
</ul>
|
||||
<!-- /wp:list -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"className":"as-contact-card"} -->
|
||||
<div class="wp-block-column as-contact-card">
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3 class="wp-block-heading">Formular oder Buchungsblock einsetzen</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Hier kann direkt im Gutenberg-Editor ein Formular-Block, ein HTML-Einbettungsblock oder ein Terminbuchungs-Widget ergänzt werden.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"className":"as-note"} -->
|
||||
<div class="wp-block-group as-note">
|
||||
<!-- wp:paragraph -->
|
||||
<p><strong>Hinweis:</strong> Durch die gemeinsamen Theme-Styles passen auch spätere Formular-Plugins farblich und typografisch sauber ins Design.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
||||
</section>
|
||||
<!-- /wp:group -->
|
||||
46
as-coaching-theme/patterns/cta.php
Normal file
46
as-coaching-theme/patterns/cta.php
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
/**
|
||||
* Title: CTA Banner
|
||||
* Slug: as-coaching/cta
|
||||
* Categories: as-coaching-sections
|
||||
* Keywords: cta, banner, call to action
|
||||
* Description: Große CTA-Sektion mit Display-Titel und zwei Buttons.
|
||||
* Viewport Width: 1380
|
||||
* Post Types: page
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"tagName":"section","align":"full","className":"as-section"} -->
|
||||
<section class="wp-block-group alignfull as-section">
|
||||
<!-- wp:group {"align":"wide","className":"as-card is-style-elevated"} -->
|
||||
<div class="wp-block-group alignwide as-card is-style-elevated">
|
||||
<!-- wp:group {"className":"as-cta-shell","layout":{"type":"flex","justifyContent":"space-between","flexWrap":"wrap","verticalAlignment":"center"}} -->
|
||||
<div class="wp-block-group as-cta-shell">
|
||||
<!-- wp:group {"className":"as-cta-copy"} -->
|
||||
<div class="wp-block-group as-cta-copy">
|
||||
<!-- wp:heading {"level":2,"className":"as-cta-title"} -->
|
||||
<h2 class="wp-block-heading as-cta-title">Bereit für ein Profil, das wirkt?</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Kurzes Erstgespräch, dann ein klarer Plan mit Prioritäten, Format und realistischem nächsten Schritt.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:buttons {"className":"as-cta-actions"} -->
|
||||
<div class="wp-block-buttons as-cta-actions">
|
||||
<!-- wp:button -->
|
||||
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="#kontakt">Termin anfragen</a></div>
|
||||
<!-- /wp:button -->
|
||||
|
||||
<!-- wp:button {"className":"is-style-outline"} -->
|
||||
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button" href="#angebot">Erst Leistungen ansehen</a></div>
|
||||
<!-- /wp:button -->
|
||||
</div>
|
||||
<!-- /wp:buttons -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</section>
|
||||
<!-- /wp:group -->
|
||||
58
as-coaching-theme/patterns/faq.php
Normal file
58
as-coaching-theme/patterns/faq.php
Normal file
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
/**
|
||||
* Title: FAQ Accordion
|
||||
* Slug: as-coaching/faq
|
||||
* Categories: as-coaching-sections
|
||||
* Keywords: faq, accordion, fragen
|
||||
* Description: FAQ-Sektion mit nativen Details-Blöcken und Styleguide-Styling.
|
||||
* Viewport Width: 1380
|
||||
* Post Types: page
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"tagName":"section","align":"full","className":"as-section as-section--tinted","anchor":"faq"} -->
|
||||
<section class="wp-block-group alignfull as-section as-section--tinted" id="faq">
|
||||
<!-- wp:group {"align":"wide","className":"as-section-heading"} -->
|
||||
<div class="wp-block-group alignwide as-section-heading">
|
||||
<!-- wp:paragraph {"className":"as-label"} -->
|
||||
<p class="as-label">FAQ</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:heading {"level":2} -->
|
||||
<h2 class="wp-block-heading">Häufige Fragen direkt im Editor pflegbar</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Die Antworten basieren auf nativen Gutenberg-Details-Blöcken und erscheinen im Backend bereits im finalen Stil.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"wide","className":"as-faq"} -->
|
||||
<div class="wp-block-group alignwide as-faq">
|
||||
<!-- wp:details {"summary":"Wie läuft ein Erstgespräch ab?","className":"as-faq-item"} -->
|
||||
<details class="wp-block-details as-faq-item"><summary>Wie läuft ein Erstgespräch ab?</summary><!-- wp:group -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p>Im Erstgespräch klären wir Anliegen, Zielbild und den sinnvollsten nächsten Schritt. Der Rahmen bleibt bewusst kurz, klar und ohne Verkaufsdruck.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></details>
|
||||
<!-- /wp:details -->
|
||||
|
||||
<!-- wp:details {"summary":"Für wen eignet sich das Coaching?","className":"as-faq-item"} -->
|
||||
<details class="wp-block-details as-faq-item"><summary>Für wen eignet sich das Coaching?</summary><!-- wp:group -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p>Für Fach- und Führungskräfte, die professioneller auftreten, ihre Position klarer kommunizieren oder sich gezielt auf Bewerbungs- und Gesprächssituationen vorbereiten möchten.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></details>
|
||||
<!-- /wp:details -->
|
||||
|
||||
<!-- wp:details {"summary":"Kann ich die Inhalte auch als Workshop buchen?","className":"as-faq-item"} -->
|
||||
<details class="wp-block-details as-faq-item"><summary>Kann ich die Inhalte auch als Workshop buchen?</summary><!-- wp:group -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p>Ja. Das Theme ist bewusst so aufgebaut, dass Einzelangebote, Teamformate und digitale Produkte mit denselben Karten- und Layoutbausteinen dargestellt werden können.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></details>
|
||||
<!-- /wp:details -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</section>
|
||||
<!-- /wp:group -->
|
||||
54
as-coaching-theme/patterns/hero.php
Normal file
54
as-coaching-theme/patterns/hero.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/**
|
||||
* Title: Hero mit Bild
|
||||
* Slug: as-coaching/hero
|
||||
* Categories: as-coaching-sections
|
||||
* Keywords: hero, intro, start
|
||||
* Description: Zweispaltiger Hero mit typischer AS-Headline, Buttons und Bild.
|
||||
* Viewport Width: 1380
|
||||
* Post Types: page
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"tagName":"section","align":"full","className":"as-hero"} -->
|
||||
<section class="wp-block-group alignfull as-hero" id="termin">
|
||||
<!-- wp:columns {"align":"wide","verticalAlignment":"center","className":"as-hero-grid"} -->
|
||||
<div class="wp-block-columns alignwide are-vertically-aligned-center as-hero-grid">
|
||||
<!-- wp:column {"verticalAlignment":"center"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center">
|
||||
<!-- wp:paragraph {"className":"as-eyebrow"} -->
|
||||
<p class="as-eyebrow">Bewerbercoaching · Selbstpräsentation · Profil-Schärfung</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:heading {"level":1,"className":"as-display"} -->
|
||||
<h1 class="wp-block-heading as-display"><span class="as-display-line">Souverän auftreten.</span><span class="as-display-line as-display-accent">Wirkung erzielen.</span></h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"className":"as-lead"} -->
|
||||
<p class="as-lead">Für Fachkräfte in KMU, die im Bewerbungsprozess, im Kundentermin oder intern sichtbarer werden wollen – klar, professionell und ohne Show.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons {"className":"as-button-row"} -->
|
||||
<div class="wp-block-buttons as-button-row">
|
||||
<!-- wp:button -->
|
||||
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="#kontakt">Kostenloses Erstgespräch</a></div>
|
||||
<!-- /wp:button -->
|
||||
|
||||
<!-- wp:button {"className":"is-style-outline"} -->
|
||||
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button" href="#angebot">Leistungen ansehen</a></div>
|
||||
<!-- /wp:button -->
|
||||
</div>
|
||||
<!-- /wp:buttons -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"verticalAlignment":"center","className":"as-hero-media"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center as-hero-media">
|
||||
<!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_theme_file_uri( '/assets/img/person-an-tafel.webp' ) ); ?>" alt="Coach vor einer Tafel im Workshop-Kontext"></figure>
|
||||
<!-- /wp:image -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
||||
</section>
|
||||
<!-- /wp:group -->
|
||||
17
as-coaching-theme/patterns/homepage.php
Normal file
17
as-coaching-theme/patterns/homepage.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* Title: Startseite komplett
|
||||
* Slug: as-coaching/homepage
|
||||
* Categories: as-coaching-pages
|
||||
* Keywords: startseite, hero, faq, coaching
|
||||
* Description: Komplette Startseite im Stil des AS-Styleguides.
|
||||
* Viewport Width: 1380
|
||||
* Post Types: page
|
||||
*/
|
||||
?>
|
||||
<!-- wp:pattern {"slug":"as-coaching/hero"} /-->
|
||||
<!-- wp:pattern {"slug":"as-coaching/services"} /-->
|
||||
<!-- wp:pattern {"slug":"as-coaching/offers"} /-->
|
||||
<!-- wp:pattern {"slug":"as-coaching/faq"} /-->
|
||||
<!-- wp:pattern {"slug":"as-coaching/cta"} /-->
|
||||
<!-- wp:pattern {"slug":"as-coaching/contact"} /-->
|
||||
142
as-coaching-theme/patterns/offers.php
Normal file
142
as-coaching-theme/patterns/offers.php
Normal file
@@ -0,0 +1,142 @@
|
||||
<?php
|
||||
/**
|
||||
* Title: Angebotskarten
|
||||
* Slug: as-coaching/offers
|
||||
* Categories: as-coaching-sections
|
||||
* Keywords: angebot, karten, coaching
|
||||
* Description: Drei Angebotskarten für Coaching- oder Produktbausteine.
|
||||
* Viewport Width: 1380
|
||||
* Post Types: page
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"tagName":"section","align":"full","className":"as-section","anchor":"angebot"} -->
|
||||
<section class="wp-block-group alignfull as-section" id="angebot">
|
||||
<!-- wp:group {"align":"wide","className":"as-section-heading"} -->
|
||||
<div class="wp-block-group alignwide as-section-heading">
|
||||
<!-- wp:paragraph {"className":"as-label"} -->
|
||||
<p class="as-label">Angebot</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:heading {"level":2} -->
|
||||
<h2 class="wp-block-heading">Formate für Einzelbegleitung, Workshops und digitale Produkte</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Die Karten sind als Pattern sofort einsetzbar und lassen sich im Gutenberg-Editor direkt mit eigenen Inhalten befüllen.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:columns {"align":"wide","className":"as-offer-grid"} -->
|
||||
<div class="wp-block-columns alignwide as-offer-grid">
|
||||
<!-- wp:column {"className":"as-product-card"} -->
|
||||
<div class="wp-block-column as-product-card">
|
||||
<!-- wp:group {"className":"as-split-head","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group as-split-head">
|
||||
<!-- wp:paragraph {"className":"as-badge as-badge--soft"} -->
|
||||
<p class="as-badge as-badge--soft">1:1</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"className":"as-tag"} -->
|
||||
<p class="as-tag">90 Min</p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3 class="wp-block-heading">Einzelcoaching Profil & Auftreten</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Fokus auf Profil-Schärfung, Gesprächsvorbereitung und einen souveränen Auftritt in Bewerbung oder Kundenkontakt.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","justifyContent":"space-between","verticalAlignment":"center"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:paragraph {"className":"as-price"} -->
|
||||
<p class="as-price">ab 149 €</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:button -->
|
||||
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="#kontakt">Anfragen</a></div>
|
||||
<!-- /wp:button -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"className":"as-product-card"} -->
|
||||
<div class="wp-block-column as-product-card">
|
||||
<!-- wp:group {"className":"as-split-head","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group as-split-head">
|
||||
<!-- wp:paragraph {"className":"as-badge as-badge--soft"} -->
|
||||
<p class="as-badge as-badge--soft">Workshop</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"className":"as-tag"} -->
|
||||
<p class="as-tag">KMU-Team</p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3 class="wp-block-heading">Workshop für Teams</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Training für Selbstpräsentation, Gesprächssicherheit und kundennahe Kommunikation in kleinen und mittleren Unternehmen.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","justifyContent":"space-between","verticalAlignment":"center"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:paragraph {"className":"as-price"} -->
|
||||
<p class="as-price">individuell</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:button -->
|
||||
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="#kontakt">Anfragen</a></div>
|
||||
<!-- /wp:button -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"className":"as-product-card"} -->
|
||||
<div class="wp-block-column as-product-card">
|
||||
<!-- wp:group {"className":"as-split-head","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group as-split-head">
|
||||
<!-- wp:paragraph {"className":"as-badge as-badge--soft"} -->
|
||||
<p class="as-badge as-badge--soft">Digital</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"className":"as-tag"} -->
|
||||
<p class="as-tag">PDF / Video</p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3 class="wp-block-heading">Workbook & Minikurse</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Digitale Begleiter für Lebenslauf, Interviewtraining und klare Selbstpräsentation – direkt als Produktsektion nutzbar.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","justifyContent":"space-between","verticalAlignment":"center"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:paragraph {"className":"as-price"} -->
|
||||
<p class="as-price">ab 29 €</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:button -->
|
||||
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="#kontakt">Mehr dazu</a></div>
|
||||
<!-- /wp:button -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
||||
</section>
|
||||
<!-- /wp:group -->
|
||||
76
as-coaching-theme/patterns/services.php
Normal file
76
as-coaching-theme/patterns/services.php
Normal file
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**
|
||||
* Title: Leistungen im Dreier-Grid
|
||||
* Slug: as-coaching/services
|
||||
* Categories: as-coaching-sections
|
||||
* Keywords: leistungen, grid, features
|
||||
* Description: Dreispaltige Leistungsübersicht mit Karten im Stilguide-Look.
|
||||
* Viewport Width: 1380
|
||||
* Post Types: page
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"tagName":"section","align":"full","className":"as-section as-section--tinted","anchor":"ablauf"} -->
|
||||
<section class="wp-block-group alignfull as-section as-section--tinted" id="ablauf">
|
||||
<!-- wp:group {"align":"wide","className":"as-section-heading"} -->
|
||||
<div class="wp-block-group alignwide as-section-heading">
|
||||
<!-- wp:paragraph {"className":"as-label"} -->
|
||||
<p class="as-label">Leistungen</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:heading {"level":2} -->
|
||||
<h2 class="wp-block-heading">Klar strukturierte Unterstützung für Auftritt und Wirkung</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Bausteine für Bewerbungen, Kundentermine, interne Sichtbarkeit und professionelle Selbstpräsentation.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:columns {"align":"wide","className":"as-feature-grid"} -->
|
||||
<div class="wp-block-columns alignwide as-feature-grid">
|
||||
<!-- wp:column {"className":"as-feature-card"} -->
|
||||
<div class="wp-block-column as-feature-card">
|
||||
<!-- wp:html -->
|
||||
<div class="as-feature-icon" aria-hidden="true"></div>
|
||||
<!-- /wp:html -->
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3 class="wp-block-heading">Lebenslauf, der wirkt</h3>
|
||||
<!-- /wp:heading -->
|
||||
<!-- wp:paragraph -->
|
||||
<p>Struktur, Story und Ergebnisse – ohne Buzzwords, dafür mit klarer professioneller Linie.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"className":"as-feature-card"} -->
|
||||
<div class="wp-block-column as-feature-card">
|
||||
<!-- wp:html -->
|
||||
<div class="as-feature-icon" aria-hidden="true"></div>
|
||||
<!-- /wp:html -->
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3 class="wp-block-heading">Interview-Simulation</h3>
|
||||
<!-- /wp:heading -->
|
||||
<!-- wp:paragraph -->
|
||||
<p>Realistische Vorbereitung mit Feedback zu Sprache, Präsenz, Struktur und Wirkung im Gespräch.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"className":"as-feature-card"} -->
|
||||
<div class="wp-block-column as-feature-card">
|
||||
<!-- wp:html -->
|
||||
<div class="as-feature-icon" aria-hidden="true"></div>
|
||||
<!-- /wp:html -->
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3 class="wp-block-heading">Selbstpräsentation</h3>
|
||||
<!-- /wp:heading -->
|
||||
<!-- wp:paragraph -->
|
||||
<p>Ein klarer Pitch für Meetings, Kundengespräche oder Bewerbungen – ruhig, glaubwürdig und präzise.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
||||
</section>
|
||||
<!-- /wp:group -->
|
||||
36
as-coaching-theme/single.php
Normal file
36
as-coaching-theme/single.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
* Single post template.
|
||||
*
|
||||
* @package AS_Coaching
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<main id="content" class="site-main">
|
||||
<div class="post-single">
|
||||
<div class="container">
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class( 'post-single__article' ); ?>>
|
||||
<header class="post-single__header">
|
||||
<h1 class="post-single__title"><?php the_title(); ?></h1>
|
||||
<p class="post-single__meta">
|
||||
<?php echo esc_html( get_the_date() ); ?>
|
||||
</p>
|
||||
</header>
|
||||
<div class="post-single__content">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
</article>
|
||||
<?php endwhile; ?>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
1060
as-coaching-theme/style.css
Normal file
1060
as-coaching-theme/style.css
Normal file
File diff suppressed because it is too large
Load Diff
199
as-coaching-theme/theme.json
Normal file
199
as-coaching-theme/theme.json
Normal file
@@ -0,0 +1,199 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
||||
"version": 3,
|
||||
"settings": {
|
||||
"appearanceTools": true,
|
||||
"layout": {
|
||||
"contentSize": "760px",
|
||||
"wideSize": "1180px"
|
||||
},
|
||||
"color": {
|
||||
"defaultPalette": false,
|
||||
"defaultGradients": false,
|
||||
"palette": [
|
||||
{
|
||||
"slug": "accent",
|
||||
"name": "Accent",
|
||||
"color": "#EB825E"
|
||||
},
|
||||
{
|
||||
"slug": "ink",
|
||||
"name": "Ink",
|
||||
"color": "#353535"
|
||||
},
|
||||
{
|
||||
"slug": "canvas",
|
||||
"name": "Canvas",
|
||||
"color": "#FFFFFF"
|
||||
},
|
||||
{
|
||||
"slug": "surface",
|
||||
"name": "Surface",
|
||||
"color": "#FAF7F2"
|
||||
}
|
||||
]
|
||||
},
|
||||
"custom": {
|
||||
"radius": {
|
||||
"md": "18px",
|
||||
"lg": "26px"
|
||||
},
|
||||
"shadow": {
|
||||
"soft": "0 10px 30px rgba(0, 0, 0, 0.06)",
|
||||
"strong": "0 18px 60px rgba(0, 0, 0, 0.1)"
|
||||
}
|
||||
},
|
||||
"spacing": {
|
||||
"defaultSpacingSizes": false,
|
||||
"units": [
|
||||
"px",
|
||||
"rem",
|
||||
"em",
|
||||
"%",
|
||||
"vw"
|
||||
],
|
||||
"spacingSizes": [
|
||||
{
|
||||
"slug": "xs",
|
||||
"name": "XS",
|
||||
"size": "8px"
|
||||
},
|
||||
{
|
||||
"slug": "sm",
|
||||
"name": "S",
|
||||
"size": "16px"
|
||||
},
|
||||
{
|
||||
"slug": "md",
|
||||
"name": "M",
|
||||
"size": "30px"
|
||||
},
|
||||
{
|
||||
"slug": "lg",
|
||||
"name": "L",
|
||||
"size": "44px"
|
||||
},
|
||||
{
|
||||
"slug": "xl",
|
||||
"name": "XL",
|
||||
"size": "64px"
|
||||
}
|
||||
]
|
||||
},
|
||||
"typography": {
|
||||
"defaultFontSizes": false,
|
||||
"dropCap": false,
|
||||
"fontFamilies": [
|
||||
{
|
||||
"fontFamily": "\"Gilroy\", system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
|
||||
"name": "Gilroy",
|
||||
"slug": "gilroy"
|
||||
}
|
||||
],
|
||||
"fontSizes": [
|
||||
{
|
||||
"slug": "sm",
|
||||
"name": "Small",
|
||||
"size": "0.95rem"
|
||||
},
|
||||
{
|
||||
"slug": "base",
|
||||
"name": "Base",
|
||||
"size": "1rem"
|
||||
},
|
||||
{
|
||||
"slug": "lg",
|
||||
"name": "Large",
|
||||
"size": "1.2rem"
|
||||
},
|
||||
{
|
||||
"slug": "xl",
|
||||
"name": "XL",
|
||||
"size": "1.72rem"
|
||||
},
|
||||
{
|
||||
"slug": "display",
|
||||
"name": "Display",
|
||||
"size": "3.1rem"
|
||||
}
|
||||
],
|
||||
"lineHeight": true
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"color": {
|
||||
"background": "#FFFFFF",
|
||||
"text": "#353535"
|
||||
},
|
||||
"spacing": {
|
||||
"blockGap": "1rem"
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--gilroy)",
|
||||
"fontSize": "var(--wp--preset--font-size--base)",
|
||||
"lineHeight": "1.6"
|
||||
},
|
||||
"elements": {
|
||||
"button": {
|
||||
"border": {
|
||||
"radius": "999px"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"top": "12px",
|
||||
"right": "16px",
|
||||
"bottom": "12px",
|
||||
"left": "16px"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontWeight": "600"
|
||||
}
|
||||
},
|
||||
"heading": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--gilroy)",
|
||||
"fontWeight": "600",
|
||||
"letterSpacing": "-0.01em"
|
||||
}
|
||||
},
|
||||
"link": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--ink)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"blocks": {
|
||||
"core/button": {
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--accent)",
|
||||
"text": "#ffffff"
|
||||
}
|
||||
},
|
||||
"core/details": {
|
||||
"border": {
|
||||
"radius": "28px"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"top": "0px",
|
||||
"right": "0px",
|
||||
"bottom": "0px",
|
||||
"left": "0px"
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/group": {
|
||||
"spacing": {
|
||||
"blockGap": "1rem"
|
||||
}
|
||||
},
|
||||
"core/paragraph": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--base)",
|
||||
"lineHeight": "1.6"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user