2022-03-18 13:35:57 +01:00
|
|
|
{{ define "main" }}
|
|
|
|
|
2024-01-03 11:40:48 +01:00
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.9.4/dist/leaflet.min.css" />
|
2022-03-21 10:10:35 +01:00
|
|
|
|
2024-01-03 11:40:48 +01:00
|
|
|
<script src="https://cdn.jsdelivr.net/npm/leaflet@1.9.4/dist/leaflet.min.js"></script>
|
2022-03-21 10:10:35 +01:00
|
|
|
|
2023-09-23 22:40:36 +02:00
|
|
|
<main data-pagefind-body>
|
2023-07-29 13:16:25 +02:00
|
|
|
<section class="section pb-0">
|
2022-03-18 13:35:57 +01:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
2023-04-03 21:45:44 +02:00
|
|
|
<div class="col-lg-6 mb-4 mb-lg-0">
|
2024-01-05 21:37:27 +01:00
|
|
|
<form action="https://forms.cantorgymnasium.de/form/gcg-kontakt" method="post">
|
2023-04-04 18:34:22 +02:00
|
|
|
<div hidden>
|
2023-02-02 20:17:32 +01:00
|
|
|
<input type="text" name="bad_email" value="" />
|
|
|
|
</div>
|
2024-01-05 21:37:27 +01:00
|
|
|
<input type="text" class="form-control form-control-lg mb-3" id="name" name="name" placeholder="Ihr Name" required>
|
|
|
|
<input type="email" class="form-control form-control-lg mb-3" id="mail" name="email" placeholder="Ihre E-Mail Adresse" required>
|
|
|
|
<input type="text" class="form-control form-control-lg mb-3" id="subject" name="subject" placeholder="Betreff" required>
|
|
|
|
<textarea id="message" name="message" class="form-control form-control-lg mb-3" placeholder="Nachricht" required></textarea>
|
2023-06-21 17:58:49 +02:00
|
|
|
<button type="submit" value="send" class="btn btn-primary">Senden</button>
|
2022-03-18 13:35:57 +01:00
|
|
|
</form>
|
|
|
|
</div>
|
2023-04-05 14:16:33 +02:00
|
|
|
<div class="col-lg-6">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header fw-bold">
|
|
|
|
Kontaktdaten
|
|
|
|
</div>
|
|
|
|
<ul class="list-group list-group-flush">
|
|
|
|
{{ range .Params.kontaktdaten }}
|
|
|
|
<li class="list-group-item">
|
|
|
|
<p class="card-title mb-0">{{ .name }}</p>
|
|
|
|
<p class="text-muted mb-0">{{ .position }}</p>
|
2024-01-20 20:09:43 +01:00
|
|
|
<p class="card-text"><a href="mailto:{{ .email }}">{{ partial "mdi" "email-multiple-outline" }}<span class="ms-2">{{ with (split .email "@") }}{{ print (index . 0) (partial "mdi" "at") (index . 1) | safeHTML }}{{ end }}</span></a></p>
|
2023-04-05 14:16:33 +02:00
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
<li class="list-group-item">
|
2024-01-20 20:09:43 +01:00
|
|
|
<p class="card-text">{{ partial "mdi" "phone-outline" }}<span class="ms-2">Telefon: <a href="tel:+493456903156">+49-0345/6903156</a></span></p>
|
|
|
|
<p class="card-text">{{ partial "mdi" "fax" }}<span class="ms-2">Fax: <a href="tel:+493456903157">+49-0345/6903157</a></span></p>
|
2023-04-05 14:16:33 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2022-03-18 13:35:57 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
2023-07-29 13:16:25 +02:00
|
|
|
<div id="map" class="mt-4">
|
|
|
|
<script>
|
|
|
|
var map = L.map('map', {
|
|
|
|
scrollWheelZoom: false
|
|
|
|
}).setView([51.473361, 11.965619], 100);
|
2023-04-23 14:14:40 +02:00
|
|
|
|
2023-07-29 13:16:25 +02:00
|
|
|
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
|
|
|
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
|
|
|
}).addTo(map);
|
2023-04-23 14:14:40 +02:00
|
|
|
|
2023-07-29 13:16:25 +02:00
|
|
|
var marker = L.marker([51.473361, 11.965619]).addTo(map);
|
2023-04-23 14:14:40 +02:00
|
|
|
|
2023-07-29 13:16:25 +02:00
|
|
|
map.on('click', (e) => {
|
2024-09-19 20:26:42 +02:00
|
|
|
marker.bindPopup('Georg-Cantor-Gymnasium<br>Torstraße 13<br>06110 Halle (Saale)<br><b><a href="https://maps.app.goo.gl/T4ZroWsAdoXM3xdn7">Route</a>').openPopup();
|
2023-07-29 13:16:25 +02:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</div>
|
2023-09-23 22:40:36 +02:00
|
|
|
</main>
|
2022-03-18 13:35:57 +01:00
|
|
|
|
|
|
|
{{ end }}
|