Refactor project

This commit is contained in:
TheAlluringCO
2025-07-10 00:21:08 +02:00
parent 6af2403497
commit bb06ed902b
11 changed files with 81 additions and 86 deletions

View File

@@ -1,26 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>AI Email Generator</title>
<link rel="stylesheet" href="style.css">
</head>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/inc/php/header.php');?>
<body>
<div class="container">
<h1>AI Email Generator</h1>
<p>Effortlessly craft polished, professional emails in seconds.</p>
<a href="index.php"><button>Start Generating Emails</button></a>
<a href="/"><button>Start Generating Emails</button></a>
<button id="darkModeBtn">Toggle Dark Mode</button>
</div>
<script>
const darkBtn = document.getElementById('darkModeBtn');
if (darkBtn) {
darkBtn.onclick = function () {
document.body.classList.toggle('dark-mode');
};
}
</script>
</body>
</html>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/inc/php/footer.php');