master_template/resources/views/hulaki_khabar/email/contact.blade.php

111 lines
2.8 KiB
PHP
Raw Normal View History

2024-06-18 05:46:51 +00:00
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
.container {
width: 100%;
max-width: 600px;
margin: 0 auto;
background-color: #ffffff;
padding: 20px;
border: 1px solid #dddddd;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.header {
text-align: center;
padding: 10px 0;
border-bottom: 1px solid #dddddd;
}
.header h1 {
margin: 0;
color: #333333;
}
.content {
padding: 20px;
}
.content h2 {
color: #333333;
}
.content p {
color: #555555;
line-height: 1.6;
}
.content .field {
margin-bottom: 15px;
}
.content .field label {
display: block;
font-weight: bold;
margin-bottom: 5px;
}
.content .field span {
display: block;
padding: 10px;
background-color: #f9f9f9;
border: 1px solid #dddddd;
}
.footer {
text-align: center;
padding: 10px;
border-top: 1px solid #dddddd;
color: #777777;
font-size: 12px;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>Contact Form Submission</h1>
</div>
<div class="content">
<h2>Submission Details</h2>
<div class="field">
<label for="title">Title:</label>
<span id="title">{{ $data['title'] }}</span>
</div>
<div class="field">
<label for="email">Email:</label>
<span id="email">{{ $data['email'] }}</span>
</div>
<div class="field">
<label for="phone_number">Phone Number:</label>
<span id="phone_number">{{ $data['phone_number'] }}</span>
</div>
@if (!empty($data['secondary_number']))
<div class="field">
<label for="secondary_number">Secondary Number:</label>
<span id="secondary_number">{{ $data['secondary_number'] }}</span>
</div>
@endif
<div class="field">
<label for="message">Message:</label>
<span id="message">{{ $data['message'] }}</span>
</div>
</div>
<div class="footer">
&copy; {{ date('Y') }} Your Company. All rights reserved.
</div>
</div>
</body>
</html>