Commit 9afdd48a by Venkatshiva

some of the design cahnges and news contact pages are created and make design reponsive

parent ef301ef2
......@@ -206,4 +206,28 @@ class AdminMasterDataController extends Controller
return back()->with('success', 'Record deleted successfully!');
}
public function updateMessageStatus(Request $request, $id)
{
$message = \App\Models\ContactMessage::findOrFail($id);
$message->update([
'status' => $request->input('status')
]);
return response()->json([
'success' => true,
'message' => 'Message status updated successfully!'
]);
}
public function deleteMessage($id)
{
$message = \App\Models\ContactMessage::findOrFail($id);
$message->delete();
return response()->json([
'success' => true,
'message' => 'Message deleted successfully!'
]);
}
}
......@@ -19,6 +19,7 @@ use App\Models\Gallery;
use App\Models\Pincode;
use App\Models\Coupon;
use App\Models\Wishlist;
use App\Models\ContactMessage;
class AdminViewController extends Controller
{
......@@ -112,4 +113,9 @@ class AdminViewController extends Controller
$wishlists = Wishlist::with('product')->get();
return view('admin.wishlist', compact('wishlists'));
}
public function messages() {
$messages = ContactMessage::orderBy('created_at', 'desc')->get();
return view('admin.messages', compact('messages'));
}
}
......@@ -49,6 +49,14 @@ class CatalogController extends Controller
});
}
// Price Range filter
if ($request->has('min_price')) {
$query->where('price', '>=', $request->input('min_price'));
}
if ($request->has('max_price')) {
$query->where('price', '<=', $request->input('max_price'));
}
// Sorting
$sort = $request->input('sort', 'latest');
if ($sort === 'price_low') {
......
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\ContactMessage;
use Illuminate\Support\Facades\Validator;
class ContactController extends Controller
{
public function showForm()
{
return view('contact');
}
public function submitForm(Request $request)
{
$validator = Validator::make($request->all(), [
'name' => 'required|string|max:255',
'email' => 'required|email|max:255',
'phone' => 'nullable|string|max:20',
'subject' => 'nullable|string|max:255',
'message' => 'required|string|min:5',
]);
if ($validator->fails()) {
return response()->json([
'success' => false,
'errors' => $validator->errors()->all()
], 422);
}
try {
ContactMessage::create([
'name' => $request->name,
'email' => $request->email,
'phone' => $request->phone,
'subject' => $request->subject,
'message' => $request->message,
'status' => 'Unread',
]);
return response()->json([
'success' => true,
'message' => 'Your message has been sent successfully. We will get back to you soon!'
]);
} catch (\Exception $e) {
return response()->json([
'success' => false,
'message' => 'Something went wrong. Please try again later.'
], 500);
}
}
}
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class ContactMessage extends Model
{
use HasFactory;
protected $fillable = [
'name',
'email',
'phone',
'subject',
'message',
'status',
];
}
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('contact_messages', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('email');
$table->string('phone')->nullable();
$table->string('subject')->nullable();
$table->text('message');
$table->enum('status', ['Unread', 'Read', 'Replied'])->default('Unread');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('contact_messages');
}
};
......@@ -13,7 +13,7 @@
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=Poppins:wght@300;400;600;700;800&display=swap" rel="stylesheet">
<!-- Custom CSS -->
<link rel="stylesheet" href="styles.css?v=99">
<link rel="stylesheet" href="styles.css?v=108">
</head>
<body>
......
......@@ -23,6 +23,14 @@ body {
zoom: 0.8;
}
@supports not (zoom: 0.8) {
body {
transform: scale(0.8);
transform-origin: top center;
width: 125%;
}
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-heading);
font-weight: 700;
......@@ -100,6 +108,14 @@ h1, h2, h3, h4, h5, h6 {
white-space: nowrap !important;
}
.header-cart-btn::after {
content: "Cart" !important;
font-family: 'Plus Jakarta Sans', sans-serif !important;
font-weight: 700 !important;
font-size: 1rem !important;
color: #305CDE !important;
}
.navbar-custom .btn-cart:hover,
.header-cart-btn:hover {
background-color: rgba(255, 255, 255, 0.9) !important;
......@@ -567,13 +583,13 @@ h1, h2, h3, h4, h5, h6 {
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 16px;
padding: 1rem 1.4rem;
padding: 1rem 1.5rem;
display: flex;
gap: 1.2rem;
align-items: center;
width: 595px;
width: 476px;
max-width: 100%;
height: 161px;
height: 139px;
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
......@@ -588,8 +604,8 @@ h1, h2, h3, h4, h5, h6 {
}
.why-card-icon {
width: 70px;
height: 70px;
width: 64px;
height: 64px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.25);
border: none;
......@@ -602,21 +618,22 @@ h1, h2, h3, h4, h5, h6 {
}
.why-card-content {
max-width: 381px;
flex-grow: 1;
}
.why-card-content h5 {
font-size: 1.6rem;
font-size: 1.35rem;
font-weight: 700;
margin-bottom: 6px;
margin-bottom: 4px;
color: #ffffff;
font-family: 'Plus Jakarta Sans', sans-serif;
}
.why-card-content p {
font-size: 1.18rem;
font-size: 0.98rem;
margin-bottom: 0;
color: rgba(255, 255, 255, 0.85);
line-height: 1.4;
line-height: 1.35;
}
/* Gallery Page – Edge-to-Edge Masonry Collage */
......@@ -811,13 +828,13 @@ h1, h2, h3, h4, h5, h6 {
/* Detail page tags */
.detail-tag {
display: inline-block;
padding: 0.35rem 0.9rem;
padding: 0.45rem 1.1rem;
border-radius: 50px;
font-size: 0.78rem;
font-size: 0.88rem;
font-weight: 700;
margin-right: 0.5rem;
margin-bottom: 0.5rem;
text-transform: uppercase;
text-transform: none;
letter-spacing: 0.02em;
}
......@@ -826,40 +843,50 @@ h1, h2, h3, h4, h5, h6 {
.tag-polished { background-color: var(--accent-brown); color: white; }
.btn-add-cart-detail {
background: linear-gradient(180deg, #005bff 0%, #0045a5 100%) !important;
color: white !important;
font-weight: 600 !important;
border-radius: 12px !important;
border: 1px solid #7cb1ff !important;
padding: 0.75rem 2rem !important;
display: flex !important;
background: #FFB900 !important;
color: #000000 !important;
font-weight: 700 !important;
font-family: 'Plus Jakarta Sans', sans-serif !important;
border-radius: 6px !important;
border: none !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 0.5rem !important;
box-shadow: 0 4px 10px rgba(0, 74, 173, 0.2) !important;
transition: all 0.25s ease !important;
width: 100% !important;
max-width: 473px !important;
height: 53px !important;
transition: all 0.25s ease !important;
font-size: 1.05rem !important;
}
.btn-add-cart-detail:hover {
background: linear-gradient(180deg, #004aad 0%, #003680 100%) !important;
box-shadow: 0 6px 15px rgba(0, 74, 173, 0.3) !important;
background: #e0a100 !important;
color: #000000 !important;
transform: translateY(-1px);
}
.btn-buy-now-detail {
background-color: #0c3da8;
color: white;
font-weight: 700;
border: none;
border-radius: 6px;
padding: 0.75rem 2rem;
transition: background-color 0.2s;
width: 100%;
background-color: #004aad !important;
color: white !important;
font-weight: 700 !important;
font-family: 'Plus Jakarta Sans', sans-serif !important;
border: none !important;
border-radius: 6px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
width: 100% !important;
max-width: 619px !important;
height: 53px !important;
transition: all 0.2s ease !important;
font-size: 1.05rem !important;
text-transform: none !important;
}
.btn-buy-now-detail:hover {
background-color: #092e80;
background-color: #003680 !important;
transform: translateY(-1px);
}
/* Delivery checking */
......@@ -1432,26 +1459,24 @@ footer a:hover {
-webkit-appearance: none !important;
}
.shop-header-options-bar .icon-toggle-grid {
.shop-header-options-bar .icon-toggle-grid,
.shop-header-options-bar .icon-toggle-list {
width: 36px !important;
height: 36px !important;
border-radius: 6px !important;
background-color: #cbd5e1 !important; /* selected bg */
color: #1e293b !important;
background-color: transparent !important;
color: #94a3b8 !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
cursor: pointer !important;
transition: all 0.2s ease !important;
}
.shop-header-options-bar .icon-toggle-list {
width: 36px !important;
height: 36px !important;
color: #94a3b8 !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
cursor: pointer !important;
.shop-header-options-bar .icon-toggle-grid.active,
.shop-header-options-bar .icon-toggle-list.active {
background-color: #cbd5e1 !important; /* selected bg */
color: #1e293b !important;
}
/* Checkout Form styling matching mockup */
......@@ -1527,4 +1552,45 @@ footer a:hover {
box-shadow: 0 4px 12px rgba(0, 74, 173, 0.2) !important;
}
/* Range slider custom styling to prevent drag-drop block cursor */
.form-range {
cursor: pointer !important;
user-select: none !important;
-webkit-user-select: none !important;
-moz-user-select: none !important;
-ms-user-select: none !important;
}
.form-range::-webkit-slider-thumb {
cursor: grab !important;
}
.form-range::-webkit-slider-thumb:active {
cursor: grabbing !important;
}
.form-range::-moz-range-thumb {
cursor: grab !important;
}
.form-range::-moz-range-thumb:active {
cursor: grabbing !important;
}
.form-range::-ms-thumb {
cursor: grab !important;
}
.form-range::-ms-thumb:active {
cursor: grabbing !important;
}
/* Footer layout padding matching fluid header/body layout alignment */
footer {
padding: 4rem 0 2rem !important;
}
footer .container {
max-width: 100% !important;
padding-left: 2rem !important;
padding-right: 2rem !important;
}
......@@ -28,7 +28,7 @@
<!-- Navigation Header -->
<nav class="navbar navbar-expand-lg navbar-dark navbar-custom sticky-top">
<div class="container">
<div class="container-fluid px-lg-4">
<a class="navbar-brand text-white fw-bold d-flex align-items-center" href="{{ url('/') }}">
<img src="header_logo.png" alt="VSI Logo" style="height: 45px; margin-right: 10px; object-fit: contain;">
<img src="footer_logo.png" alt="VSI MART" style="height: 24px; object-fit: contain;">
......
......@@ -26,7 +26,7 @@
<!-- Navigation Header -->
<nav class="navbar navbar-expand-lg navbar-dark navbar-custom sticky-top">
<div class="container">
<div class="container-fluid px-lg-4">
<a class="navbar-brand text-white fw-bold d-flex align-items-center" href="{{ url('/') }}">
<img src="header_logo.png" alt="VSI Logo" style="height: 45px; margin-right: 10px; object-fit: contain;">
<img src="footer_logo.png" alt="VSI MART" style="height: 24px; object-fit: contain;">
......
......@@ -14,7 +14,7 @@
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=Poppins:wght@300;400;600;700;800&display=swap" rel="stylesheet">
<!-- Custom CSS -->
<link rel="stylesheet" href="styles.css?v=99">
<link rel="stylesheet" href="styles.css?v=108">
</head>
<body>
......@@ -25,7 +25,7 @@
<!-- Navigation Header -->
<nav class="navbar navbar-expand-lg navbar-dark navbar-custom sticky-top">
<div class="container">
<div class="container-fluid px-lg-4">
<a class="navbar-brand text-white fw-bold d-flex align-items-center" href="{{ url('/') }}">
<img src="header_logo.png" alt="VSI Logo" style="height: 45px; margin-right: 10px; object-fit: contain;">
<img src="footer_logo.png" alt="VSI MART" style="height: 24px; object-fit: contain;">
......@@ -64,7 +64,7 @@
<a class="nav-link" href="{{ url('/gallery') }}">Gallery</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#contact">Contact</a>
<a class="nav-link" href="{{ url('/contact') }}">Contact</a>
</li>
</ul>
<!-- Mobile Actions (Inside Hamburger Menu) -->
......@@ -284,14 +284,14 @@
<!-- Why Choose Us Section -->
<section class="why-choose-us-bg">
<div class="container">
<div class="container-fluid px-lg-5">
<div class="text-center mb-5">
<h2 class="h1 fw-bold" style="font-family: 'Poppins', sans-serif;">Why Choose Us</h2>
<p class="text-white-50">We pour our heart into every creation, ensuring you receive only the finest handcrafted pieces</p>
</div>
<div class="row g-4">
<!-- Why 1 -->
<div class="col-md-4">
<div class="col-lg-4 col-md-6">
<div class="why-card">
<div class="why-card-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
......@@ -306,7 +306,7 @@
</div>
</div>
<!-- Why 2 -->
<div class="col-md-4">
<div class="col-lg-4 col-md-6">
<div class="why-card">
<div class="why-card-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
......@@ -321,7 +321,7 @@
</div>
</div>
<!-- Why 3 -->
<div class="col-md-4">
<div class="col-lg-4 col-md-6">
<div class="why-card">
<div class="why-card-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
......@@ -336,7 +336,7 @@
</div>
</div>
<!-- Why 4 -->
<div class="col-md-4">
<div class="col-lg-4 col-md-6">
<div class="why-card">
<div class="why-card-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
......@@ -351,7 +351,7 @@
</div>
</div>
<!-- Why 5 -->
<div class="col-md-4">
<div class="col-lg-4 col-md-6">
<div class="why-card">
<div class="why-card-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
......@@ -366,7 +366,7 @@
</div>
</div>
<!-- Why 6 -->
<div class="col-md-4">
<div class="col-lg-4 col-md-6">
<div class="why-card">
<div class="why-card-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
......@@ -453,11 +453,8 @@
<div class="mb-3">
<img src="footer_logo.png" alt="VSI MART Logo" style="height: 48px; max-width: 100%; object-fit: contain;">
</div>
<p class="pe-lg-5 text-white-50" style="font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.85) !important;">
Handmade seashell crafts and ocean-inspired décor,<br>
beautifully crafted by skilled artisans in Chennai.<br>
Unique gifts, souvenirs, and beach-style creations<br>
made with sustainably sourced natural shells.
<p class="text-white-50" style="font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.85) !important;">
Handmade seashell crafts and ocean-inspired décor, beautifully crafted by skilled artisans in Chennai. Unique gifts, souvenirs, and beach-style creations made with sustainably sourced natural shells.
</p>
</div>
<!-- Quick Links -->
......@@ -467,7 +464,7 @@
<li><a href="{{ url('/') }}" class="text-white text-decoration-none opacity-85 hover-opacity-100">Home</a></li>
<li><a href="{{ url('/shop') }}" class="text-white text-decoration-none opacity-85 hover-opacity-100">Shop</a></li>
<li><a href="{{ url('/gallery') }}" class="text-white text-decoration-none opacity-85 hover-opacity-100">Gallery</a></li>
<li><a href="#contact" class="text-white text-decoration-none opacity-85 hover-opacity-100">Contact</a></li>
<li><a href="{{ url('/contact') }}" class="text-white text-decoration-none opacity-85 hover-opacity-100">Contact</a></li>
<li><a href="#" class="text-white text-decoration-none opacity-85 hover-opacity-100">Login</a></li>
</ul>
</div>
......
......@@ -639,6 +639,15 @@
<li class="{{ Request::is('admin/pincodes') ? 'active' : '' }}"><a href="{{ url('/admin/pincodes') }}"><i class="fa-solid fa-map-pin"></i>Pincodes</a></li>
<li class="{{ Request::is('admin/coupons') ? 'active' : '' }}"><a href="{{ url('/admin/coupons') }}"><i class="fa-solid fa-percent"></i>Coupons</a></li>
<li class="{{ Request::is('admin/wishlist') ? 'active' : '' }}"><a href="{{ url('/admin/wishlist') }}"><i class="fa-solid fa-heart"></i>Wishlist</a></li>
<li class="{{ Request::is('admin/messages') ? 'active' : '' }}">
<a href="{{ url('/admin/messages') }}">
<i class="fa-solid fa-envelope"></i>Messages
@php
$unreadCount = \App\Models\ContactMessage::where('status', 'Unread')->count();
@endphp
<span class="badge bg-danger ms-auto unread-messages-count-badge {{ $unreadCount === 0 ? 'd-none' : '' }}">{{ $unreadCount }}</span>
</a>
</li>
</ul>
</div>
......@@ -653,9 +662,25 @@
<!-- Dynamic Header -->
<div class="mb-4">
<!-- Breadcrumbs Area -->
<div class="custom-breadcrumb">
@yield('breadcrumbs')
<div class="d-flex justify-content-between align-items-center pb-2 border-bottom mb-3">
<!-- Breadcrumbs Area -->
<div class="custom-breadcrumb mb-0">
@yield('breadcrumbs')
</div>
<!-- Top Right Info & Notification -->
<div class="d-flex align-items-center gap-3">
@php
$unreadCount = \App\Models\ContactMessage::where('status', 'Unread')->count();
@endphp
<a href="{{ url('/admin/messages') }}" class="position-relative text-muted hover-text-primary" style="font-size: 1.2rem; transition: color 0.2s;" title="Customer Inquiries">
<i class="fa-solid fa-bell"></i>
<span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger unread-messages-count-badge {{ $unreadCount === 0 ? 'd-none' : '' }}" style="font-size: 0.55rem; padding: 0.25em 0.45em;">
{{ $unreadCount }}
</span>
</a>
<span class="text-muted" style="opacity: 0.5;">|</span>
<span class="text-dark fw-semibold" style="font-size: 0.85rem;"><i class="fa-solid fa-circle-user text-primary me-1" style="font-size: 1rem; vertical-align: middle;"></i>Admin Portal</span>
</div>
</div>
<div class="d-flex justify-content-between align-items-center mt-2">
......
......@@ -15,7 +15,7 @@
<!-- Bootstrap Icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="/styles.css">
<link rel="stylesheet" href="/styles.css?v=101">
</head>
<body>
......@@ -26,7 +26,7 @@
<!-- Navigation Header -->
<nav class="navbar navbar-expand-lg navbar-dark navbar-custom sticky-top">
<div class="container">
<div class="container-fluid px-lg-4">
<a class="navbar-brand text-white fw-bold d-flex align-items-center" href="{{ url('/') }}">
<img src="/header_logo.png" alt="VSI Logo" style="height: 45px; margin-right: 10px; object-fit: contain;">
<img src="/footer_logo.png" alt="VSI MART" style="height: 24px; object-fit: contain;">
......@@ -100,7 +100,7 @@
</header>
<!-- Product Detail Container -->
<main class="container py-5">
<main class="container-fluid px-lg-5 py-5">
<!-- Breadcrumbs -->
<nav aria-label="breadcrumb" class="mb-4">
......@@ -118,7 +118,7 @@
@if($product->is_bestseller)
<span class="badge-bestseller">Best Seller</span>
@endif
<img id="main-product-img" src="{{ $product->primaryImage ? $product->primaryImage->image_url : 'https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?w=1600&auto=format&fit=crop&q=90' }}" alt="{{ $product->name }}" class="w-100 img-fluid" style="height: 630px; object-fit: cover;">
<img id="main-product-img" src="{{ $product->primaryImage ? $product->primaryImage->image_url : 'https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?w=1600&auto=format&fit=crop&q=90' }}" alt="{{ $product->name }}" class="w-100 img-fluid" style="height: 500px; object-fit: cover;">
</div>
<!-- Thumbnail carousel (5 images) -->
<div class="row g-2">
......@@ -170,9 +170,9 @@
<!-- Product Tags -->
<div class="mb-3">
<span class="detail-tag tag-handcrafted">+ Handcrafted</span>
<span class="detail-tag tag-natural">+ Natural Shells</span>
<span class="detail-tag tag-polished">+ Polished</span>
<span class="detail-tag tag-handcrafted">✦ Handcrafted</span>
<span class="detail-tag tag-natural">✦ Natural Shells</span>
<span class="detail-tag tag-polished">✦ Polished</span>
</div>
<!-- Size selector -->
......@@ -196,40 +196,40 @@
<!-- Quantity and Buttons -->
<div class="mb-3">
<h6 class="fw-bold mb-2">Quantity</h6>
<div class="row g-3">
<div class="col-md-4">
<div class="d-flex align-items-center border rounded-3 p-1 bg-white justify-content-between">
<button class="btn btn-link px-2 py-1 text-dark text-decoration-none fw-bold" id="qty-minus"><i class="bi bi-dash"></i></button>
<input type="number" id="detail-qty" class="form-control border-0 text-center bg-transparent p-0 fw-bold" value="1" min="1" readonly style="width: 40px;">
<button class="btn btn-link px-2 py-1 text-dark text-decoration-none fw-bold" id="qty-plus"><i class="bi bi-plus"></i></button>
<div class="d-flex align-items-center gap-3">
<div style="width: 130px; flex-shrink: 0;">
<div class="d-flex align-items-center border rounded-3 p-1 bg-white justify-content-between" style="height: 53px;">
<button class="btn btn-link px-2 py-1 text-dark text-decoration-none fw-bold" id="qty-minus" style="box-shadow: none;"><i class="bi bi-dash"></i></button>
<input type="number" id="detail-qty" class="form-control border-0 text-center bg-transparent p-0 fw-bold" value="1" min="1" readonly style="width: 40px; box-shadow: none;">
<button class="btn btn-link px-2 py-1 text-dark text-decoration-none fw-bold" id="qty-plus" style="box-shadow: none;"><i class="bi bi-plus"></i></button>
</div>
</div>
<div class="col-md-8">
<button class="btn-add-cart-detail w-100 py-2.5 btn-add-to-cart-dynamic"
<div class="flex-grow-1">
<button class="btn-add-cart-detail btn-add-to-cart-dynamic"
data-id="{{ $product->id }}"
data-name="{{ $product->name }}"
data-price="{{ round($price) }}"
data-img="{{ $product->primaryImage ? $product->primaryImage->image_url : 'https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?w=800&auto=format&fit=crop&q=80' }}"
id="btn-add-to-cart">
Add to cart
<i class="bi bi-cart3 fs-5"></i> Add to cart
</button>
</div>
</div>
</div>
<a href="{{ url('/checkout') }}" class="btn btn-buy-now-detail w-100 py-3 text-center mb-3 d-block text-decoration-none"><i class="bi bi-lightning-charge-fill me-1"></i> Buy it now</a>
<a href="{{ url('/checkout') }}" class="btn-buy-now-detail text-decoration-none mb-2"><i class="bi bi-lightning-charge-fill me-1"></i> Buy it now</a>
<!-- PIN Code Check -->
<div class="card border border-light-subtle rounded-3 p-3 mb-3 bg-white shadow-sm">
<h6 class="fw-bold mb-2 small text-muted"><i class="bi bi-truck me-2"></i>Check estimated delivery date</h6>
<div class="input-group">
<input type="text" class="form-control" placeholder="Enter Pin code" aria-label="Pin code">
<button class="check-pincode-btn" type="button">Check</button>
<div class="mb-2" style="max-width: 619px;">
<h6 class="fw-bold mb-2 text-muted" style="font-size: 0.88rem;"><i class="bi bi-truck me-2"></i>Check estimated delivery date</h6>
<div class="d-flex">
<input type="text" class="form-control" placeholder="Enter Pin code" aria-label="Pin code" style="border: 1.5px solid #ebdcb9; border-top-left-radius: 8px; border-bottom-left-radius: 8px; border-top-right-radius: 0; border-bottom-right-radius: 0; font-size: 0.88rem; height: 42px; box-shadow: none;">
<button class="btn text-white px-4 fw-bold" type="button" style="background-color: #5a3825; border-top-right-radius: 8px; border-bottom-right-radius: 8px; border-top-left-radius: 0; border-bottom-left-radius: 0; height: 42px; font-size: 0.9rem; white-space: nowrap;">Check</button>
</div>
</div>
<!-- Refunds Alert Box -->
<div class="d-flex align-items-center gap-3 p-3 rounded-3" style="background-color: #f0fdf4; border: 1.5px solid #bbf7d0; color: #166534;">
<div class="d-flex align-items-center gap-3 p-3 rounded-3 mt-1" style="background-color: #f0fdf4; border: 1.5px solid #bbf7d0; color: #166534; max-width: 619px;">
<div class="rounded-circle d-flex align-items-center justify-content-center text-white" style="width: 42px; height: 42px; min-width: 42px; background-color: #166534;">
<i class="bi bi-arrow-counterclockwise fs-4"></i>
</div>
......
......@@ -16,7 +16,7 @@
<!-- Bootstrap Icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="{{ asset('styles.css') }}">
<link rel="stylesheet" href="{{ asset('styles.css') }}?v=101">
</head>
<body>
......@@ -27,7 +27,7 @@
<!-- Navigation Header -->
<nav class="navbar navbar-expand-lg navbar-dark navbar-custom sticky-top">
<div class="container">
<div class="container-fluid px-lg-4">
<a class="navbar-brand text-white fw-bold d-flex align-items-center" href="{{ url('/') }}">
<img src="{{ asset('header_logo.png') }}" alt="VSI Logo" style="height: 45px; margin-right: 10px; object-fit: contain;">
<img src="{{ asset('footer_logo.png') }}" alt="VSI MART" style="height: 24px; object-fit: contain;">
......
......@@ -46,5 +46,8 @@ Route::prefix('admin')->group(function () {
Route::get('/pincodes', [AdminViewController::class, 'pincodes']);
Route::get('/coupons', [AdminViewController::class, 'coupons']);
Route::get('/wishlist', [AdminViewController::class, 'wishlist']);
Route::get('/messages', [AdminViewController::class, 'messages']);
Route::put('/messages/{id}/status', [AdminMasterDataController::class, 'updateMessageStatus']);
Route::delete('/messages/{id}', [AdminMasterDataController::class, 'deleteMessage']);
});
});
......@@ -44,8 +44,10 @@ Route::get('/wishlist', function () {
return view('wishlist');
});
Route::get('/dashboard', function () {
return view('dashboard');
});
use App\Http\Controllers\ContactController;
Route::get('/contact', [ContactController::class, 'showForm']);
Route::post('/contact', [ContactController::class, 'submitForm']);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment