This commit is contained in:
Janis
2022-12-16 23:20:02 +01:00
parent 163e35a49e
commit 47fc8d8c18
14 changed files with 1419 additions and 134 deletions

View File

@@ -1,14 +1,14 @@
import Link from "next/link";
import styles from "../styles/Footer.module.scss";
export default function Footer() {
export default function Footer({ localeTexts }) {
return (
<div className={styles.footer}>
<ul className={styles.footerLinks}>
<Link href="/legal">Legal Notice | Impressum</Link>
<Link href="/privacy">Privacy | Datenschutz</Link>
<Link href="/legal">{localeTexts?.footer?.legal}</Link>
<Link href="/privacy">{localeTexts?.footer?.privacy}</Link>
</ul>
<p className={styles.copyrightText}>&#169; domain.de</p>
<p className={styles.copyrightText}>&#169; altenau-meister.de</p>
</div>
);
}

View File

@@ -6,7 +6,7 @@ function Map({ width = "100%", height = "100%", showAddressText }) {
<iframe
id="googleMap"
title="Google Maps"
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2074.752438061636!2d10.442157776201181!3d51.80048944135434!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x47b37fa3d7cd9a35%3A0xf42c1941b19fcd8d!2sFerienwohnung%20Glockenberg!5e0!3m2!1sde!2sde!4v1664554395680!5m2!1sde!2sde"
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2467.389121459009!2d10.44007971592097!3d51.79905019715754!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x47a53de8d1f2036b%3A0xa3576fefcd67d4db!2sAuf%20dem%20Glockenberg%208%2C%2038707%20Altenau!5e0!3m2!1sen!2sde!4v1671228340863!5m2!1sen!2sde"
style={{ border: "0" }}
width={width}
height={height}
@@ -15,9 +15,11 @@ function Map({ width = "100%", height = "100%", showAddressText }) {
{showAddressText ? (
<a
className="textMuted"
href="https://www.google.com/maps/place/Ferienwohnung+Glockenberg/@51.8004894,10.4421578,17.25z/data=!4m13!1m7!3m6!1s0x47a5160eb8d1cf11:0x425ac6d94ac3f50!2sAltenau!3b1!8m2!3d51.8023804!4d10.4457294!3m4!1s0x47b37fa3d7cd9a35:0xf42c1941b19fcd8d!8m2!3d51.8004498!4d10.440787"
target="_blank"
rel="noopener noreferrer"
href="https://www.google.com/maps/place/Auf+dem+Glockenberg+8,+38707+Altenau/@51.7990502,10.4400797,17z/data=!3m1!4b1!4m5!3m4!1s0x47a53de8d1f2036b:0xa3576fefcd67d4db!8m2!3d51.7990469!4d10.4422684?hl=en"
>
Auf dem Glockenberg 26, C1 5-6, 38707 Altenau
Auf dem Glockenberg 8, 38707 Altenau
</a>
) : (
""