import os
OUT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
WP = "https://schmacko-napf.de/wp-content/uploads/"
LOGO = WP + "2024/12/Logo-Transparent-Rechnung.png"
KK = {n: f"{WP}2025/01/KK-Fotografie-{n}.jpg" for n in (35, 46, 51, 66)}
BARF = WP + "2023/06/Barf.png"
def U(pid, w=1600): return f"https://images.unsplash.com/photo-{pid}?auto=format&fit=crop&w={w}&q=80"
IMG_FOOD = "1714068691210-073dc52c6c1d"
IMG_SHOP = "1733451629760-d5fc1c818698"
IMG_CAR = "1771777400696-3af9b6470ff8"
PHONE, PHONE_HREF = "+49 176 569 329 42", "tel:+4917656932942"
MAIL = "info@schmacko-napf.de"
WA = "https://wa.me/4917656932942"
def ic(d, sw="1.8"):
return f''
I = {
"arrow": ic('', "2"),
"down": ic('', "2"),
"menu": ic('', "2"),
"phone": ic(''),
"mail": ic(''),
"chat": ic(''),
"bowl": ic(''),
"bone": ic(''),
"leash": ic(''),
"car": ic(''),
"shield": ic(''),
"wind": ic(''),
}
ARROW_BADGE = f'{I["arrow"]}'
NAV = [("hundeschule.html", "Hundetraining"), ("ernaehrung.html", "Ernährung"), ("shop.html", "Shop"),
("transportboxen.html", "Transportboxen"), ("index.html#kontakt", "Kontakt")]
def head(title, desc):
return f'''
{title}
'''
def header(current=None):
cur = ' aria-current="page"'
links = "\n".join(f' {t}' for h, t in NAV)
return f'''
'''
def contact(photo=KK[46], alt="Schwarze Schäferhündin steht aufmerksam im Wald"):
go = f'{I["arrow"]}'
return f'''
Kontakt
Lass uns
sprechen.
'''
def footer():
return f'''