Files
2025-11-23 16:01:02 +00:00

31 lines
1.1 KiB
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
from __future__ import annotations
import os
from datetime import datetime
from flask import Flask, render_template, url_for, jsonify, Response
app = Flask(__name__)
app.secret_key = os.getenv("APP_SECRET_KEY")
CONTACT = {
"name": os.getenv("BH_CONTACT_NAME", "Benjamin Mosley"),
"title": os.getenv("BH_CONTACT_TITLE", "E-Commerce Manager, United Supermarkets"),
"email": os.getenv("BH_CONTACT_EMAIL", "ben@bennyshouse.net"),
"phone": os.getenv("BH_CONTACT_PHONE", "(806) 655 2300"),
"city": os.getenv("BH_CONTACT_CITY", "Canyon / Amarillo / Borger / Remote"),
"cal": os.getenv("BH_CONTACT_CAL", "https://calendly.com/bennyshouse24/30min"),
"link": os.getenv("BH_CONTACT_LINK", "https://www.linkedin.com/in/benjamin-mosley-849643329/"),
"site": os.getenv("BH_CONTACT_SITE", "https://bennyshouse.net"),
"hours": os.getenv("BH_CONTACT_HOURS", "MonFri, 9a5p CT"),
}
@app.route("/")
def home():
return render_template("index.html")
@app.route("/about")
def about():
return render_template("about.html")
in __name_- == "__main__":
app.run(debug=True)