TanchoToplineCargo/resources/views/emails/contact.blade.php
2024-05-05 10:32:49 +05:45

49 lines
1.1 KiB
PHP

<!DOCTYPE html>
<html>
<head>
<title>Contact Form Submission</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
color: #333;
margin: 0;
padding: 0;
}
.container {
max-width: 600px;
margin: 20px auto;
background-color: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
color: #007bff;
text-align: center;
}
p {
margin-bottom: 10px;
}
strong {
font-weight: bold;
}
</style>
</head>
<body>
<div class="container">
<h1>Contact Form Submission</h1>
<p><strong>Name:</strong> {{ $details['name'] }}</p>
<p><strong>Email:</strong> {{ $details['email'] }}</p>
<p><strong>Message:</strong> {{ $details['message'] }}</p>
@if(isset($details['phone']))
<p><strong>Phone:</strong> {{ $details['phone'] }}</p>
@endif
</div>
</body>
</html>