From 33ce7a4ca44b1bbffdfd7dc385fab11d169d2aa4 Mon Sep 17 00:00:00 2001 From: imadhigp Date: Thu, 9 Jul 2026 22:21:20 +0530 Subject: [PATCH] 7/9 push home --- resources/views/abouts.blade.php | 273 +++++++++++++++++++---------- resources/views/contacts.blade.php | 162 ++++++++++++----- resources/views/courses.blade.php | 136 +++++++++----- resources/views/students.blade.php | 170 +++++++++++++----- resources/views/welcome.blade.php | 76 +++++++- 5 files changed, 583 insertions(+), 234 deletions(-) diff --git a/resources/views/abouts.blade.php b/resources/views/abouts.blade.php index e73552b..d61ed88 100644 --- a/resources/views/abouts.blade.php +++ b/resources/views/abouts.blade.php @@ -30,75 +30,140 @@ margin-bottom:40px; } -.about-box{ +.about-box { background:#fff; - border-radius:15px; - padding:25px; - box-shadow:0 5px 20px rgba(0,0,0,.08); - transition:.3s; + border-radius:20px; + padding:35px 25px; + box-shadow:0 10px 30px rgba(0,0,0,.05); + transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); + border: 1px solid #efeff4; } -.about-box:hover{ - transform:translateY(-6px); +.about-box:hover { + transform: translateY(-10px) scale(1.02); + box-shadow: 0 20px 40px rgba(94, 36, 78, 0.1); + border-color: var(--primary); } -.icon-circle{ - width:70px; - height:70px; +.icon-circle { + width:75px; + height:75px; background:var(--primary); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; - font-size:26px; + font-size:28px; margin:auto; + transition: all 0.4s ease; +} + +.about-box:hover .icon-circle { + background: var(--secondary); + transform: rotateY(180deg); /* කාඩ් එක උඩට යද්දී අයිකන් එක කැරකෙනවා */ +} + +/* ======================================================== + Advanced CSS Scroll Animations + ======================================================== */ +.animate-item { + opacity: 0; + will-change: transform, opacity; + transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); +} + +/* 1. පල්ලෙහා ඉඳන් උඩට එන ඇනිමේෂන් */ +.fade-up-init { + transform: translateY(40px); +} + +/* 2. වමේ ඉඳන් දකුණට (රූපය සඳහා) */ +.slide-left-init { + transform: translateX(-50px); +} + +/* 3. දකුණේ ඉඳන් වමට (විස්තරය සඳහා) */ +.slide-right-init { + transform: translateX(50px); +} + +/* 4. Zoom වෙලා bounce වෙන්න (කාඩ්ස් සඳහා) */ +.zoom-in-init { + transform: scale(0.85); +} + +/* Active Class (Scroll කරද්දී apply වේ) */ +.animate-item.animated { + opacity: 1; + transform: translate(0) scale(1); +} + +/* CTA බටන් එක ගැස්සෙන ඇනිමේෂන් එකක් */ +@keyframes pulse-btn { + 0% { box-shadow: 0 0 0 0 rgba(94, 36, 78, 0.4); } + 70% { box-shadow: 0 0 0 15px rgba(94, 36, 78, 0); } + 100% { box-shadow: 0 0 0 0 rgba(94, 36, 78, 0); } +} + +.cta-btn { + background: var(--primary); + color: #fff !important; + padding: 14px 35px; + border-radius: 50px; + font-weight: 600; + text-decoration: none; + transition: 0.3s; + animation: pulse-btn 2s infinite; +} + +.cta-btn:hover { + background: var(--secondary); + transform: scale(1.05); }
-

About Our Institute

-

- We are committed to delivering high-quality automotive education - with practical training and industry-focused learning. -

+
+

About Our Institute

+

+ We are committed to delivering high-quality automotive education + with practical training and industry-focused learning. +

+
-
+
+
+ +
+ About Image +
-
- -
- About Image -
- -
-

Who We Are

-

- Our institute specializes in automotive engineering education, - offering hands-on training in modern vehicle technologies, - mechanical systems, and electric vehicles. -

- -

- We focus on building skilled professionals who are ready for - the global automotive industry. -

- - - View Courses - -
- -
- + +
+

Who We Are

+

+ Our institute specializes in automotive engineering education, + offering hands-on training in modern vehicle technologies, + mechanical systems, and electric vehicles. +

+

+ We focus on building skilled professionals who are ready for + the global automotive industry. +

+ + View Courses + +
+
@@ -106,71 +171,85 @@
-
-

Why Choose Us

+
+

Why Choose Us

We provide the best learning experience

+ +
+
+
+ +
+

Expert Lecturers

+

+ Experienced industry professionals guiding your learning journey. +

+
+
-
-
-
- -
-

Expert Lecturers

-

-Experienced industry professionals guiding your learning journey. -

-
-
- -
-
-
- -
-

Practical Training

-

-Hands-on workshop experience with real vehicles and tools. -

-
-
- -
-
-
- -
-

Certified Courses

-

-Industry-recognized certifications to boost your career. -

-
-
+
+
+
+ +
+

Practical Training

+

+ Hands-on workshop experience with real vehicles and tools. +

+
+
+
+
+
+ +
+

Certified Courses

+

+ Industry-recognized certifications to boost your career. +

+
+
-
-
- -

Start Your Automotive Career Today

-

-Join our institute and become a skilled automotive professional. -

- - - -
- - Apply Courses - - +
+
+

Start Your Automotive Career Today

+

+ Join our institute and become a skilled automotive professional. +

+
+ + @endsection \ No newline at end of file diff --git a/resources/views/contacts.blade.php b/resources/views/contacts.blade.php index b947e78..180f8c0 100644 --- a/resources/views/contacts.blade.php +++ b/resources/views/contacts.blade.php @@ -11,6 +11,10 @@ --light:#f8f4f7; } +body { + font-family: Arial, Helvetica, sans-serif; +} + .hero-contact{ min-height:50vh; background: @@ -27,26 +31,39 @@ .contact-box{ background:#fff; - border-radius:15px; - padding:25px; - box-shadow:0 5px 20px rgba(0,0,0,.08); + border-radius:20px; + padding:35px; + box-shadow: 0 10px 30px rgba(0,0,0,.05); + border: 1px solid #efeff4; } .form-control{ border-radius:10px; padding:12px; + border: 1px solid #ced4da; + transition: all 0.3s ease; +} + +.form-control:focus { + border-color: var(--primary); + box-shadow: 0 0 0 0.25rem rgba(94, 36, 78, 0.25); } .btn-contact{ background:var(--primary); color:#fff; - /* border-radius:30px; */ - padding:10px 30px; + border-radius:10px; + padding:12px 30px; + font-weight: 600; + transition: all 0.3s ease; + border: none; } .btn-contact:hover{ background:var(--secondary); color:#fff; + transform: translateY(-2px); + box-shadow: 0 5px 15px rgba(94, 36, 78, 0.3); } .info-card{ @@ -54,56 +71,96 @@ border-radius:15px; padding:20px; text-align:center; - box-shadow:0 5px 15px rgba(0,0,0,.08); + box-shadow: 0 5px 20px rgba(0,0,0,.04); + border: 1px solid #efeff4; transition:.3s; } .info-card:hover{ transform:translateY(-5px); + border-color: var(--primary); + box-shadow: 0 10px 25px rgba(94, 36, 78, 0.08); +} + +/* Icons වල පාට වෙනස් කිරීම */ +.info-card i { + color: var(--primary) !important; +} + +/* ======================================================== + Custom CSS Scroll Animations + ======================================================== */ +.animate-item { + opacity: 0; + will-change: transform, opacity; + transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); +} + +/* 1. පල්ලෙහා ඉඳන් උඩට (Hero & Map) */ +.fade-up-init { + transform: translateY(30px); +} + +/* 2. වමේ ඉඳන් දකුණට (Form එක සඳහා) */ +.slide-left-init { + transform: translateX(-40px); +} + +/* 3. එකපාර (Fade In) මතු වෙන්න (Info Cards සඳහා) */ +.fade-in-init { + transform: scale(0.98); +} + +/* Active Class */ +.animate-item.animated { + opacity: 1; + transform: translate(0) scale(1); }
-

Contact Us

-

We are here to help you. Reach us anytime.

+
+

Contact Us

+

We are here to help you. Reach us anytime.

+
- -
+ +
- -
+ +
-

Send Message

+

Send Message

@csrf
- - + +
- - + +
- - + +
- - + +
- -
+ +
- -
Address
-

No 12, Colombo Road, Sri Lanka

+ +
Address
+

No 12, Colombo Road, Sri Lanka

- -
Phone
-

+94 77 123 4567

+ +
Phone
+

+94 77 123 4567

- -
Email
-

info@automotiveacademy.lk

+ +
Email
+

info@automotiveacademy.lk

- -
Working Hours
-

Mon - Fri: 8.00 AM - 5.00 PM

+ +
Working Hours
+

Mon - Fri: 8.00 AM - 5.00 PM

@@ -150,7 +207,7 @@ Send Message
-
+
+ + @endsection \ No newline at end of file diff --git a/resources/views/courses.blade.php b/resources/views/courses.blade.php index 801ef54..fad36b3 100644 --- a/resources/views/courses.blade.php +++ b/resources/views/courses.blade.php @@ -14,6 +14,10 @@ --success-green: #1f8a4c; } +body { + font-family: Arial, Helvetica, sans-serif; +} + .hero { background-image: linear-gradient(rgba(109, 105, 105, 0.65), rgb(64, 59, 66)), url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1600&q=80'); @@ -217,12 +221,6 @@ text-align: left; } -.feature-box:hover { - transform: translateY(-5px); - box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); - border-color: var(--primary); -} - .feature-icon-wrapper { width: 50px; height: 50px; @@ -234,6 +232,23 @@ justify-content: center; font-size: 22px; margin-bottom: 20px; + transition: transform 0.5s ease; /* Icon එක කැරකෙන්න transition එකක් දුන්නා */ +} + +/* Card එක උඩට mouse එක ගෙනිච්චම වෙන වෙනස්කම් */ +.feature-box:hover { + transform: translateY(-5px); + box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); + border-color: var(--primary); +} + +/* Card එක hover කරද්දී Icon එක අංශක 360ක් රොටේට් වෙන කොටස */ +.feature-box:hover .feature-icon-wrapper i { + transform: rotate(360deg); +} + +.feature-icon-wrapper i { + transition: transform 0.5s ease; /* Smooth rotate වෙන්න */ } .feature-box h5 { @@ -256,25 +271,44 @@ color: #666; margin-top: 20px; } + +/* ======================================================== + Custom Pure CSS Animations (Scroll Animations) + ======================================================== */ +/* .animate-on-scroll { + opacity: 0; + transition: all 0.8s ease-out; +} + +.fade-up-init { + transform: translateY(30px); +} + +.animate-on-scroll.animated { + opacity: 1; + transform: translateY(0); +} */ {{-- Hero --}}
-

Our Courses

-

- Build your future in the automotive industry through practical - training and internationally recognized learning experiences. -

-
@@ -358,8 +392,8 @@ $courses=[
- @foreach($courses as $course) -
+ @foreach($courses as $index => $course) +
@@ -404,10 +438,10 @@ $courses=[
-{{-- Modernized Why Study With Us Section --}} +{{-- Why Study With Us Section --}}
-
+

Why Study With Us?

@@ -457,29 +491,49 @@ $courses=[
diff --git a/resources/views/students.blade.php b/resources/views/students.blade.php index bbcbcae..45bc4e1 100644 --- a/resources/views/students.blade.php +++ b/resources/views/students.blade.php @@ -11,6 +11,10 @@ --light:#f8f4f7; } +body { + font-family: Arial, Helvetica, sans-serif; +} + .hero{ background:linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)), url('https://images.pexels.com/photos/3802510/pexels-photo-3802510.jpeg'); @@ -24,12 +28,15 @@ .portal-card{ border:none; border-radius:15px; - transition:.3s; + transition:.4s cubic-bezier(0.165, 0.84, 0.44, 1); box-shadow:0 5px 20px rgba(0,0,0,.08); + border: 1px solid #efeff4; } .portal-card:hover{ transform:translateY(-8px); + border-color: var(--primary); + box-shadow: 0 15px 30px rgba(94, 36, 78, 0.1); } .portal-icon{ @@ -43,28 +50,46 @@ justify-content:center; font-size:28px; margin:auto; + transition: 0.4s ease; +} + +.portal-card:hover .portal-icon { + background: var(--secondary); + transform: scale(1.1); } .btn-portal{ background:#5E244E; color:#fff; - padding:10px 30px; + padding:12px 35px; border: none; - transition: 0.2s ease; + border-radius: 8px; + font-weight: 600; + transition: all 0.3s ease; } .btn-portal:hover{ background:#8B3A74; color:#fff; + transform: translateY(-2px); + box-shadow: 0 5px 15px rgba(94, 36, 78, 0.3); } - .modal-content { border: none; border-radius: 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); } +/* Modal එක Open වෙද්දී Zoom-In වෙන්න */ +.modal.fade .modal-dialog { + transform: scale(0.85); + transition: transform 0.3s ease-out; +} +.modal.show .modal-dialog { + transform: scale(1); +} + .modal-header { background: transparent; border-bottom: none; @@ -81,7 +106,6 @@ padding: 10px 25px 20px; } - .input-group-text { background-color: #f8fafc; border-color: #cbd5e1; @@ -111,7 +135,6 @@ outline: 0; } - .input-group:focus-within .input-group-text { border-color: var(--secondary); color: var(--secondary); @@ -122,7 +145,6 @@ border-top: none; padding: 0 25px 30px; } - .btn-modal-cancel { background: transparent; @@ -132,6 +154,7 @@ padding: 10px 0; transition: all 0.2s; width: 100%; + border-radius: 8px; } .btn-modal-cancel:hover { @@ -149,6 +172,7 @@ box-shadow: 0 4px 12px rgba(94, 36, 78, 0.2); transition: all 0.2s; width: 100%; + border-radius: 8px; } .btn-modal-login:hover { @@ -157,39 +181,69 @@ transform: translateY(-1px); box-shadow: 0 6px 15px rgba(94, 36, 78, 0.3); } + +/* ======================================================== + Custom CSS Scroll Animations + ======================================================== */ +.animate-item { + opacity: 0; + will-change: transform, opacity; + transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); +} + +.fade-up-init { + transform: translateY(30px); +} + +.fade-in-init { + transform: scale(0.98); +} + +.slide-right-init { + transform: translateX(30px); +} + +.animate-item.animated { + opacity: 1; + transform: translate(0) scale(1); +}
-

Student Portal

-

- Access your courses, timetable, assignments, examination results, - payments and profile from one place. -

+
+

Student Portal

+

+ Access your courses, timetable, assignments, examination results, + payments and profile from one place. +

- + +
-
+ +
-
-

Student Services

+
+

Student Services

Everything you need during your academic journey.

-
+ +
-

My Courses

-

View enrolled courses and learning materials.

+

My Courses

+

View enrolled courses and learning materials.

@@ -198,8 +252,8 @@
-

Class Timetable

-

Check your weekly lecture schedule.

+

Class Timetable

+

Check your weekly lecture schedule.

@@ -208,8 +262,8 @@
-

Assignments

-

Submit assignments and download resources.

+

Assignments

+

Submit assignments and download resources.

@@ -218,8 +272,8 @@
-

Exam Results

-

View semester and final examination results.

+

Exam Results

+

View semester and final examination results.

@@ -228,8 +282,8 @@
-

Fee Payments

-

Pay course fees and download payment receipts.

+

Fee Payments

+

Pay course fees and download payment receipts.

@@ -238,47 +292,51 @@
-

Student Profile

-

Update your personal information securely.

+

Student Profile

+

Update your personal information securely.

-
+ +
-
-
-

Ready to Access Your Student Account?

-

Log in to manage your academic activities and stay updated.

-
+