168 lines
3.1 KiB
PHP
168 lines
3.1 KiB
PHP
@extends('layouts.app')
|
|
|
|
@section('title','Contact Us')
|
|
|
|
@section('content')
|
|
|
|
<style>
|
|
:root{
|
|
--primary:#5E244E;
|
|
--secondary:#8B3A74;
|
|
--light:#f8f4f7;
|
|
}
|
|
|
|
.hero-contact{
|
|
min-height:50vh;
|
|
background:
|
|
linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.7)),
|
|
url('https://images.pexels.com/photos/3184465/pexels-photo-3184465.jpeg');
|
|
background-size:cover;
|
|
background-position:center;
|
|
display:flex;
|
|
align-items:center;
|
|
justify-content:center;
|
|
text-align:center;
|
|
color:#fff;
|
|
}
|
|
|
|
.contact-box{
|
|
background:#fff;
|
|
border-radius:15px;
|
|
padding:25px;
|
|
box-shadow:0 5px 20px rgba(0,0,0,.08);
|
|
}
|
|
|
|
.form-control{
|
|
border-radius:10px;
|
|
padding:12px;
|
|
}
|
|
|
|
.btn-contact{
|
|
background:var(--primary);
|
|
color:#fff;
|
|
border-radius:30px;
|
|
padding:10px 30px;
|
|
}
|
|
|
|
.btn-contact:hover{
|
|
background:var(--secondary);
|
|
color:#fff;
|
|
}
|
|
|
|
.info-card{
|
|
background:#fff;
|
|
border-radius:15px;
|
|
padding:20px;
|
|
text-align:center;
|
|
box-shadow:0 5px 15px rgba(0,0,0,.08);
|
|
transition:.3s;
|
|
}
|
|
|
|
.info-card:hover{
|
|
transform:translateY(-5px);
|
|
}
|
|
</style>
|
|
|
|
<!-- HERO -->
|
|
<section class="hero-contact">
|
|
<div class="container">
|
|
<h1 class="fw-bold">Contact Us</h1>
|
|
<p>We are here to help you. Reach us anytime.</p>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- CONTACT SECTION -->
|
|
<section class="py-5">
|
|
<div class="container">
|
|
|
|
<div class="row g-4">
|
|
|
|
<!-- Contact Form -->
|
|
<div class="col-md-6">
|
|
<div class="contact-box">
|
|
|
|
<h3 class="mb-4">Send Message</h3>
|
|
|
|
<form action="#" method="POST">
|
|
@csrf
|
|
|
|
<div class="mb-3">
|
|
<label>Name</label>
|
|
<input type="text" name="name" class="form-control" placeholder="Your Name">
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<label>Email</label>
|
|
<input type="email" name="email" class="form-control" placeholder="Your Email">
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<label>Subject</label>
|
|
<input type="text" name="subject" class="form-control" placeholder="Subject">
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<label>Message</label>
|
|
<textarea name="message" rows="5" class="form-control" placeholder="Your Message"></textarea>
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-contact w-100">
|
|
Send Message
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Contact Info -->
|
|
<div class="col-md-6">
|
|
|
|
<div class="info-card mb-3">
|
|
<i class="fa-solid fa-location-dot fa-2x text-primary"></i>
|
|
<h5 class="mt-2">Address</h5>
|
|
<p>No 12, Colombo Road, Sri Lanka</p>
|
|
</div>
|
|
|
|
<div class="info-card mb-3">
|
|
<i class="fa-solid fa-phone fa-2x text-success"></i>
|
|
<h5 class="mt-2">Phone</h5>
|
|
<p>+94 77 123 4567</p>
|
|
</div>
|
|
|
|
<div class="info-card mb-3">
|
|
<i class="fa-solid fa-envelope fa-2x text-danger"></i>
|
|
<h5 class="mt-2">Email</h5>
|
|
<p>info@automotiveacademy.lk</p>
|
|
</div>
|
|
|
|
<div class="info-card">
|
|
<i class="fa-solid fa-clock fa-2x text-warning"></i>
|
|
<h5 class="mt-2">Working Hours</h5>
|
|
<p>Mon - Fri: 8.00 AM - 5.00 PM</p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</section>
|
|
|
|
<!-- MAP -->
|
|
<section class="pb-5">
|
|
<div class="container">
|
|
|
|
<iframe
|
|
src="https://www.google.com/maps/embed?pb=!1m18..."
|
|
width="100%"
|
|
height="300"
|
|
style="border:0;border-radius:15px;"
|
|
allowfullscreen=""
|
|
loading="lazy">
|
|
</iframe>
|
|
|
|
</div>
|
|
</section>
|
|
|
|
@endsection |