pull changes #1

Merged
Patrick_Pluto merged 6 commits from interstellar_development/interstellar_website:main into main 2024-09-06 12:48:56 +02:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit d34dda976a - Show all commits

View file

@ -38,7 +38,7 @@ document.addEventListener('DOMContentLoaded', function() {
// Construct the mailto link // Construct the mailto link
const subject = `Support Ticket #${ticketNumber}`; const subject = `Support Ticket #${ticketNumber}`;
const body = `Name: ${name}%0AEmail: ${email}%0AMessage:%0A${message}`; const body = `Name: ${name}%0AEmail: ${email}%0AMessage:%0A${message}`;
const mailtoLink = `mailto:info@photofuel.tech?subject=${subject}&body=${body}`; const mailtoLink = `mailto:example@example.com?subject=${subject}&body=${body}`;
// Open the default mail client // Open the default mail client
window.location.href = mailtoLink; window.location.href = mailtoLink;

View file

@ -36,6 +36,7 @@
<!-- Contact Form --> <!-- Contact Form -->
<section id="contact"> <section id="contact">
<h2>Contact Us</h2> <h2>Contact Us</h2>
<p>This contact form has an invalid mail until our mailserver is configured</p>
<form id="contactForm"> <form id="contactForm">
<label for="name">Name:</label> <label for="name">Name:</label>
<input type="text" id="name" name="name" required /> <input type="text" id="name" name="name" required />