<!DOCTYPE html> <html lang="en"> <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Andrew Davey</title>
    <link rel="icon" href="/favicon.ico" type="image/x-icon">
    <script 
src="https://www.google.com/recaptcha/api.js?render=6Lf4gOkqAAAAAMPr5tOt0K1fNb6I2Jvza7OPUk3n"></script>
    <script>
        function onSubmit(event) {
            event.preventDefault();
            grecaptcha.ready(function() {
                grecaptcha.execute('6Lf4gOkqAAAAAMPr5tOt0K1fNb6I2Jvza7OPUk3n', {action: 
'submit'}).then(function(token) {
                    document.getElementById('recaptchaResponse').value = token;
                    document.getElementById('contactForm').submit();
                });
            });
        }
    </script>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            text-align: center;
            background-color: #f4f4f4;
        }
        header {
            background: #333;
            color: white;
            padding: 20px;
        }
        section {
            padding: 50px;
        }
        footer {
            background: #333;
            color: white;
            padding: 10px;
            position: fixed;
            width: 100%;
            bottom: 0;
        }
        .contact-form {
            background: white;
            padding: 20px;
            max-width: 400px;
            margin: 0 auto;
            box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
            border-radius: 5px;
        }
        .contact-form input, .contact-form textarea {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
        .contact-form button {
            background: #333;
            color: white;
            padding: 10px;
            border: none;
            cursor: pointer;
            border-radius: 5px;
        }
    </style> </head> <body>
    <header>
        <h1>Welcome to Andrew Davey's Website</h1>
    </header>
    <section>
        <p>This is a simple website for Andrew Davey. More content coming soon!</p>
        
        <div class="contact-form">
            <h2>Contact Me</h2>
            <form id="contactForm" action="https://formspree.io/f/mjkgnqeb" method="POST" 
onsubmit="onSubmit(event)">
                <input type="text" name="name" placeholder="Your Name" required>
                <input type="email" name="email" placeholder="Your Email" required>
                <textarea name="message" placeholder="Your Message" rows="5" required></textarea>
                <input type="hidden" name="g-recaptcha-response" id="recaptchaResponse">
                <button type="submit">Send Message</button>
            </form>
        </div>
    </section>
    <footer>
        <p>&copy; 2025 Andrew Davey. All Rights Reserved.</p>
    </footer> </body>
</html>
