Merge branch 'dev' into feature/rezensionen-schreiben
commit
502041fc04
|
|
@ -6,6 +6,7 @@
|
|||
<title>Ernährungs-Pakete – Tri-Hub</title>
|
||||
<link rel="stylesheet" href="/src/styles/navigation.css" />
|
||||
<link rel="stylesheet" href="/src/styles/packages.css" />
|
||||
<link rel="stylesheet" href="/src/styles/footer.css" />
|
||||
</head>
|
||||
<body class="packages-page">
|
||||
<div id="navbar-placeholder"></div>
|
||||
|
|
@ -30,5 +31,7 @@
|
|||
type="module"
|
||||
src="/src/features/angebote/angebote-entry.js"
|
||||
></script>
|
||||
<div id="footer-placeholder"></div>
|
||||
<script type="module" src="/src/components/footer/footer.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
<link rel="stylesheet" href="/src/styles/navigation.css" />
|
||||
<link rel="stylesheet" href="/src/styles/packages.css" />
|
||||
<link rel="stylesheet" href="/src/features/berater/berater.css" />
|
||||
<link rel="stylesheet" href="/src/styles/footer.css" />
|
||||
</head>
|
||||
<body class="packages-page advisor-page">
|
||||
<div id="navbar-placeholder"></div>
|
||||
|
|
@ -27,5 +28,7 @@
|
|||
</main>
|
||||
<script type="module" src="/src/components/navigationsbar/navigation.js"></script>
|
||||
<script type="module" src="/src/features/berater/berater-entry.js"></script>
|
||||
<div id="footer-placeholder"></div>
|
||||
<script type="module" src="/src/components/footer/footer.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
<meta name="robots" content="noindex" />
|
||||
<link rel="stylesheet" href="/src/styles/navigation.css" />
|
||||
<title>Buchungsbestätigung – Tri-Hub</title>
|
||||
<link rel="stylesheet" href="/src/styles/footer.css" />
|
||||
</head>
|
||||
<body class="confirmation">
|
||||
<div id="navbar-placeholder"></div>
|
||||
|
|
@ -146,9 +147,6 @@
|
|||
Buchungsbestätigung anzuzeigen.</noscript
|
||||
>
|
||||
</main>
|
||||
<footer class="confirmation__footer">
|
||||
TRI-HUB <span>Dein Weg. Deine Ausdauer. Deine Ernährung.</span>
|
||||
</footer>
|
||||
<script
|
||||
type="module"
|
||||
src="/src/features/booking/booking-confirmation.js"
|
||||
|
|
@ -157,5 +155,7 @@
|
|||
type="module"
|
||||
src="/src/components/navigationsbar/navigation.js"
|
||||
></script>
|
||||
<div id="footer-placeholder"></div>
|
||||
<script type="module" src="/src/components/footer/footer.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="robots" content="noindex" />
|
||||
<title>Paket buchen – Tri-Hub</title>
|
||||
<link rel="stylesheet" href="/src/styles/footer.css" />
|
||||
</head>
|
||||
<body>
|
||||
<main class="container">
|
||||
|
|
@ -17,5 +18,7 @@
|
|||
type="module"
|
||||
src="/src/features/booking/booking-entry.js"
|
||||
></script>
|
||||
<div id="footer-placeholder"></div>
|
||||
<script type="module" src="/src/components/footer/footer.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Berater kontaktieren – Tri-Hub Testseite</title>
|
||||
<link rel="stylesheet" href="/src/styles/footer.css" />
|
||||
</head>
|
||||
<body>
|
||||
<main class="contact-test">
|
||||
|
|
@ -22,5 +23,7 @@
|
|||
type="module"
|
||||
src="/src/features/contact/contact-entry.js"
|
||||
></script>
|
||||
<div id="footer-placeholder"></div>
|
||||
<script type="module" src="/src/components/footer/footer.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
12
index.html
12
index.html
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="stylesheet" href="/src/styles/navigation.css" />
|
||||
<link rel="stylesheet" href="/src/styles/footer.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta
|
||||
name="description"
|
||||
|
|
@ -1285,20 +1286,13 @@
|
|||
</section>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
<div>
|
||||
<strong>tri-hub</strong> · Triathlon als sportliches Zuhause
|
||||
ab 50.
|
||||
</div>
|
||||
<div>Ernährung · Wissen · Erfahrungen</div>
|
||||
</div>
|
||||
</footer>
|
||||
<div id="footer-placeholder"></div>
|
||||
|
||||
<script
|
||||
type="module"
|
||||
src="/src/components/navigationsbar/navigation.js"
|
||||
></script>
|
||||
<script type="module" src="/src/components/footer/footer.js"></script>
|
||||
<script
|
||||
type="module"
|
||||
src="/src/features/contact/contact-form.js"
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
<title>Paket-Details – Tri-Hub Ernährungsberatung</title>
|
||||
<link rel="stylesheet" href="/src/styles/navigation.css" />
|
||||
<link rel="stylesheet" href="/src/styles/packages.css" />
|
||||
<link rel="stylesheet" href="/src/styles/footer.css" />
|
||||
</head>
|
||||
<body class="packages-page">
|
||||
<div id="navbar-placeholder"></div>
|
||||
|
|
@ -23,5 +24,7 @@
|
|||
type="module"
|
||||
src="/src/features/angebote/paket-details.js"
|
||||
></script>
|
||||
<div id="footer-placeholder"></div>
|
||||
<script type="module" src="/src/components/footer/footer.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,69 @@
|
|||
<footer class="trihub-footer" aria-label="Fußbereich">
|
||||
<div class="trihub-footer-inner">
|
||||
<section class="trihub-footer-card trihub-footer-card--brand">
|
||||
<a class="trihub-brand" href="/index.html" aria-label="Tri-hub Startseite">
|
||||
<span class="trihub-logo-box">
|
||||
<img src="/images/logo.png" alt="Tri-hub" />
|
||||
</span>
|
||||
<span>
|
||||
<span class="trihub-brand-label">Tri-hub</span>
|
||||
<span class="trihub-brand-title">Triathlon als sportliches Zuhause ab 50</span>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<p class="trihub-description">
|
||||
Tri-hub verbindet persönliche Begleitung, Kleingruppen, Wissen, Camps,
|
||||
digitale Trainingssteuerung und sportliche Gemeinschaft für Menschen,
|
||||
die Triathlon ab 50 ernsthaft und passend zu ihrem Alltag entwickeln möchten.
|
||||
</p>
|
||||
|
||||
<div class="trihub-contact">
|
||||
<div class="trihub-contact-row">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect width="20" height="16" x="2" y="4" rx="2"></rect><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"></path></svg>
|
||||
<p>info@tri-hub.de · 06203/1764877</p>
|
||||
</div>
|
||||
<div class="trihub-contact-row">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"></path><circle cx="12" cy="10" r="3"></circle></svg>
|
||||
<p>Tri-hub GmbH, Schloßstraße 11, 68535 Edingen-Neckarhausen</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="trihub-socials" aria-label="Social Media">
|
||||
<a class="trihub-social-button" href="https://www.facebook.com/profile.php?id=61569002603339" target="_blank" rel="noopener noreferrer" aria-label="Tri-hub auf Facebook">
|
||||
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"/></svg>
|
||||
</a>
|
||||
<a class="trihub-social-button" href="https://www.linkedin.com/company/tri-hub-gmbh" target="_blank" rel="noopener noreferrer" aria-label="Tri-hub auf LinkedIn">
|
||||
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"/><rect width="4" height="12" x="2" y="9"/><circle cx="4" cy="4" r="2"/></svg>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="trihub-footer-card">
|
||||
<h2 class="trihub-footer-heading">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 22s8-4 8-11V5l-8-3-8 3v6c0 7 8 11 8 11Z"></path><path d="m9 12 2 2 4-4"></path></svg>
|
||||
Hauptbereiche
|
||||
</h2>
|
||||
<nav class="trihub-footer-links" aria-label="Hauptbereiche">
|
||||
<a href="https://tri-hub.de/coaching-1zu1">1:1 Coaching</a>
|
||||
<a href="https://tri-hub.de/webinare-workshops">Webinare & Workshops</a>
|
||||
<a href="https://tri-hub.de/camps-schwarzwald">Camps</a>
|
||||
<a href="https://tri-hub.de/trainingsplaene">Trainingspläne</a>
|
||||
<a href="https://tri-hub.de/wissen">Wissen</a>
|
||||
<a href="https://tri-hub.de/community-blog">Community-Blog</a>
|
||||
<a href="https://tri-hub.de/event-kalender">Event-Kalender</a>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<section class="trihub-footer-card">
|
||||
<h2 class="trihub-footer-heading">Rechtliches</h2>
|
||||
<nav class="trihub-footer-links" aria-label="Rechtliche Informationen">
|
||||
<a href="https://tri-hub.de/kontakt">Kontakt</a>
|
||||
<a href="https://tri-hub.de/agb">AGB</a>
|
||||
<a href="https://tri-hub.de/widerruf">Widerrufsbelehrung</a>
|
||||
<a href="https://tri-hub.de/datenschutz">Datenschutz</a>
|
||||
<a href="https://tri-hub.de/impressum">Impressum</a>
|
||||
<a class="trihub-cookie-link" href="https://tri-hub.de/">Cookie-Einstellungen öffnen</a>
|
||||
</nav>
|
||||
</section>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
import footerHtml from "./footer.html?raw";
|
||||
|
||||
/** Fügt das Footer-Fragment am Platzhalter ein. */
|
||||
export function initFooter(placeholderSelector = "#footer-placeholder") {
|
||||
const placeholder = document.querySelector(placeholderSelector);
|
||||
if (!placeholder) {
|
||||
console.warn("Footer-Platzhalter nicht gefunden:", placeholderSelector);
|
||||
return;
|
||||
}
|
||||
|
||||
placeholder.outerHTML = footerHtml;
|
||||
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", () => initFooter());
|
||||
|
|
@ -0,0 +1,229 @@
|
|||
.trihub-footer,
|
||||
.trihub-footer * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.trihub-footer {
|
||||
padding: 4.75rem 0;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 0 0 1.8rem 1.8rem;
|
||||
background: #06171b;
|
||||
color: #fff;
|
||||
font-family: "DM Sans", sans-serif;
|
||||
}
|
||||
|
||||
.trihub-footer-inner {
|
||||
width: min(100% - 4rem, 1648px);
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: 1.35fr 1fr 1fr;
|
||||
gap: 3.5rem;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.trihub-footer-card {
|
||||
min-width: 0;
|
||||
min-height: 34.75rem;
|
||||
padding: 2rem;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 1.8rem;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.trihub-brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1.4rem;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.trihub-logo-box {
|
||||
width: 100px;
|
||||
height: 90px;
|
||||
padding: 0.5rem 0.75rem;
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
border-radius: 1.1rem;
|
||||
background: #fff;
|
||||
box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
|
||||
}
|
||||
|
||||
.trihub-logo-box img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.trihub-brand-label,
|
||||
.trihub-brand-title {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.trihub-brand-label {
|
||||
margin: 0 0 0.3rem;
|
||||
color: rgba(255, 255, 255, 0.46);
|
||||
font-size: 0.68rem;
|
||||
letter-spacing: 0.28em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.trihub-brand-title {
|
||||
color: #fff;
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.trihub-description {
|
||||
max-width: 36rem;
|
||||
margin: 2.3rem 0 0;
|
||||
color: rgba(255, 255, 255, 0.64);
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.75rem;
|
||||
}
|
||||
|
||||
.trihub-contact {
|
||||
margin-top: 2.1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
color: rgba(255, 255, 255, 0.68);
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.trihub-contact-row {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.trihub-contact-row p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.trihub-contact-row a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.trihub-contact-row svg {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
margin-top: 0.25rem;
|
||||
flex-shrink: 0;
|
||||
color: #ffc21f;
|
||||
}
|
||||
|
||||
.trihub-socials {
|
||||
margin-top: 2.1rem;
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.trihub-social-button {
|
||||
width: 3.25rem;
|
||||
height: 3.25rem;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
border-radius: 9999px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
|
||||
}
|
||||
|
||||
.trihub-social-button svg {
|
||||
width: 1.25rem;
|
||||
height: 1.25rem;
|
||||
fill: none;
|
||||
stroke: currentColor;
|
||||
stroke-width: 2;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
||||
.trihub-social-button:hover {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.trihub-footer-heading {
|
||||
margin: 0 0 1.7rem;
|
||||
display: flex;
|
||||
font-family: "DM Sans", sans-serif;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
color: rgba(255, 255, 255, 0.46);
|
||||
font-size: 0.8rem;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0.28em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.trihub-footer-heading svg {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
color: #00c7d5;
|
||||
}
|
||||
|
||||
.trihub-footer-links {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.trihub-footer-links a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
transition: color 0.15s ease;
|
||||
}
|
||||
|
||||
.trihub-footer-links a:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.trihub-footer-links .trihub-cookie-link {
|
||||
margin: 0.7rem 0 0;
|
||||
color: #00bfd2;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.trihub-footer-links .trihub-cookie-link:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@media (max-width: 1000px) {
|
||||
.trihub-footer-inner {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.trihub-footer-card {
|
||||
min-height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.trihub-footer {
|
||||
padding: 2rem 0;
|
||||
}
|
||||
|
||||
.trihub-footer-inner {
|
||||
width: min(100% - 2rem, 1648px);
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.trihub-footer-card {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.trihub-brand {
|
||||
align-items: flex-start;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue