Spaces:
Sleeping
Sleeping
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="preconnect" href="https://fonts.googleapis.com"> | |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
<link href="https://fonts.googleapis.com/css2?family=Rubik:wght@600&display=swap" rel="stylesheet"> | |
<link href="https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300&display=swap" rel="stylesheet"> | |
<link rel="stylesheet" href="static/style.css"> | |
<title>MailCraft</title> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="nav"> | |
<p class="name">MailCraft</p> | |
<p>|</p> | |
<p class="tagline">Craft Your Emails with AI Precision!</p> | |
</div> | |
<div class="main"> | |
<center><h1 class="title">Unlock Seamless Email Excellence for Effortless Communication</h1></center> | |
<center><p class="subtitle">Craft polished emails π§ effortlessly at MailCraft. Customize style, word limit, and more for impactful communication. Say goodbye to email stress and hello to simplicity! β¨</p></center> | |
<center> | |
<form class="form" method="post" action="/" autocomplete="off"> | |
<div class="style-words"> | |
<label for="style">Email Style*</label> | |
<select id="style" name="style" required> | |
<option>Professional</option> | |
<option>Personal</option> | |
<option>Marketing</option> | |
<option>Newsletter</option> | |
<option>Educational</option> | |
<option>Cold</option> | |
<option>Networking</option> | |
<option>Job Application</option> | |
<option>Feedback</option> | |
<option>Customer Support</option> | |
</select> | |
<label for="words">Word Limit</label> | |
<input type="number" name="words" id="words" max="1000" min="100" placeholder="100 to 1000"> | |
</div> | |
<label for="topic">Mail Topic*</label> | |
<input type="textarea" id="topic" name="topic" placeholder="Write the topic of your mail" required> | |
<div class="sender-receiver"> | |
<label for="sender">Sender</label> | |
<input type="text" id="sender" name="sender" placeholder="Name"> | |
<label for="recipient">Recipient</label> | |
<input type="text" id="recipient" name="recipient" placeholder="Name"> | |
</div> | |
<button type="submit" class="submit">Submit</button> | |
</form> | |
</center> | |
<center> | |
<div class="output" id="output"> | |
<p>{{response}}</p> | |
</div> | |
</center> | |
</div> | |
</div> | |
<script> | |
var output = document.getElementById("output"); | |
output.style.display = "{{display}}"; | |
</script> | |
</body> | |
</html> |