From e691483d62605eb5a4c1ed8e13f4c39f5e11be73 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 13 Mar 2021 22:10:52 +0100 Subject: [PATCH] on scroll animations --- public/css/dashboard.css | 89 +++++++++++ public/js/assets/dashboard.js | 6 + resources/views/Admin/Admin.blade.php | 143 +++++++++--------- resources/views/Admin/Class.blade.php | 4 +- resources/views/Admin/Dashboard.blade.php | 22 +-- resources/views/Admin/Subject.blade.php | 2 +- resources/views/Admin/Topic.blade.php | 4 +- .../views/Admin/layouts/master.blade.php | 112 ++------------ resources/views/Admin/question.blade.php | 4 +- 9 files changed, 201 insertions(+), 185 deletions(-) create mode 100644 public/css/dashboard.css create mode 100644 public/js/assets/dashboard.js diff --git a/public/css/dashboard.css b/public/css/dashboard.css new file mode 100644 index 0000000..55ab4f6 --- /dev/null +++ b/public/css/dashboard.css @@ -0,0 +1,89 @@ + /* navbar */ + .sign-out { + background-color: #084ba2; + border-radius: 7px; + color: white !important; + transition: 0.2s ease-out; +} + +.sign-out:hover { + background-color: #073f89; +} + +.navbar-brand img { + width: 50px; +} + +.navbar-brand span { + line-height: 20px; +} + +/* =================================== */ +.heading-text { + width: 100vw; + background-size: cover; + background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url("https://res.cloudinary.com/tmakinde/image/upload/q_auto:low/Myinstitution%20Images/img3_u2mek3.jpg"); + background: -webkit-linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url("https://res.cloudinary.com/tmakinde/image/upload/q_auto:low/Myinstitution%20Images/img3_u2mek3.jpg"); + background-attachment: fixed; + overflow-x: hidden; + +} + +.heading-text h2 { + font-family: 'Open Sans', sans-serif; + ; + + padding: 20vh 0px 20vh 0px; + color: #E7E5DF; + font-weight: bolder; + +} + +.heading-text img { + + padding: 0; + width: 100vw; + + +} + +.about-img { + width: 100%; + border-radius: 54% 46% 22% 78% / 43% 53% 47% 57%; + border: 0.2px solid #eeeeef; +} + +p { + font-size: 17px !important; +} + +.icons svg { + transition: 0.3s ease-out; + +} + +.icons svg:hover { + transform: scale(1.2); + transition: 0.3s ease-out; +} + +.footer-link { + text-decoration: none !important; +} + +footer { + background: rgba(0, 0, 0, 0.08); +} + +footer img { + width: 100vw; + padding: 0; +} + +footer .container { + max-width: 500px; +} + +.footer-logo { + width: 80px; +} \ No newline at end of file diff --git a/public/js/assets/dashboard.js b/public/js/assets/dashboard.js new file mode 100644 index 0000000..290f470 --- /dev/null +++ b/public/js/assets/dashboard.js @@ -0,0 +1,6 @@ +$(function(){ + AOS.init({ + easing:'ease', + duration:700, + }); + }); \ No newline at end of file diff --git a/resources/views/Admin/Admin.blade.php b/resources/views/Admin/Admin.blade.php index 0645c40..f30291d 100644 --- a/resources/views/Admin/Admin.blade.php +++ b/resources/views/Admin/Admin.blade.php @@ -5,81 +5,82 @@ @endsection @section('content') -
- - - - - - - - - @foreach ($currentInstitutionAdmins as $Admins) - - - - + + @endforeach + +
UsernameAction
{{ $Admins->username }} -
+
+ + + + + + + + + @foreach ($currentInstitutionAdmins as $Admins) + + + + - - @endforeach - -
UsernameAction
{{ $Admins->username }} + @csrf - -
- -
+ + -
- +
+ + +
+ + @endsection @section('scripts') - - - - - + + + + + @parent -@endsection +@endsection \ No newline at end of file diff --git a/resources/views/Admin/Class.blade.php b/resources/views/Admin/Class.blade.php index 61884d2..f023ec5 100644 --- a/resources/views/Admin/Class.blade.php +++ b/resources/views/Admin/Class.blade.php @@ -7,11 +7,11 @@ @section('content')
-

CLASSES

+

Classes

@csrf - +
diff --git a/resources/views/Admin/Dashboard.blade.php b/resources/views/Admin/Dashboard.blade.php index 7ac5d63..3034db9 100644 --- a/resources/views/Admin/Dashboard.blade.php +++ b/resources/views/Admin/Dashboard.blade.php @@ -7,27 +7,27 @@ @section('content')
-

{{$currentInstitution->name}}
+

{{$currentInstitution->name}}
Online Educational
Platform

About Us

-
+ @endforeach diff --git a/resources/views/Admin/Topic.blade.php b/resources/views/Admin/Topic.blade.php index af689b0..2ccfa6b 100644 --- a/resources/views/Admin/Topic.blade.php +++ b/resources/views/Admin/Topic.blade.php @@ -20,9 +20,9 @@


- + -

Previous Topic under {{$subject->Subjectname}}

+

Previous Topic under {{$subject->Subjectname}}

Click here to create topiccreate topic
diff --git a/resources/views/Admin/layouts/master.blade.php b/resources/views/Admin/layouts/master.blade.php index 915b81f..5a1f47c 100644 --- a/resources/views/Admin/layouts/master.blade.php +++ b/resources/views/Admin/layouts/master.blade.php @@ -22,17 +22,26 @@ + + + + + + + + + @@ -116,96 +125,6 @@ overflow-x: hidden; } - - /* navbar */ - .sign-out { - background-color: #084ba2; - border-radius: 7px; - color: white !important; - transition: 0.2s ease-out; - } - - .sign-out:hover { - background-color: #073f89; - } - - .navbar-brand img { - width: 50px; - } - - .navbar-brand span { - line-height: 20px; - } - - /* =================================== */ - .heading-text { - width: 100vw; - background-size: cover; - background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url("https://res.cloudinary.com/tmakinde/image/upload/q_auto:low/Myinstitution%20Images/img3_u2mek3.jpg"); - background: -webkit-linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url("https://res.cloudinary.com/tmakinde/image/upload/q_auto:low/Myinstitution%20Images/img3_u2mek3.jpg"); - background-attachment: fixed; - overflow-x: hidden; - - } - - .heading-text h2 { - font-family: 'Open Sans', sans-serif; - ; - - padding: 20vh 0px 20vh 0px; - color: #E7E5DF; - font-weight: bolder; - - } - - .heading-text img { - - padding: 0; - width: 100vw; - - - } - - .about-img { - width: 100%; - border-radius: 54% 46% 22% 78% / 43% 53% 47% 57%; - border: 0.2px solid #eeeeef; - } - - p { - font-size: 17px !important; - } - - .icons svg { - transition: 0.3s ease-out; - - } - - .icons svg:hover { - transform: scale(1.2); - transition: 0.3s ease-out; - } - - .footer-link { - text-decoration: none !important; - } - - footer { - background: rgba(0, 0, 0, 0.08); - } - - footer img { - width: 100vw; - padding: 0; - } - - footer .container { - max-width: 500px; - } - - .footer-logo { - width: 80px; - } @@ -255,13 +174,13 @@
Subject - - Class - + + Class + Student - - Admin - + + Admin +
@@ -283,6 +202,7 @@ @section('scripts') + diff --git a/resources/views/Admin/question.blade.php b/resources/views/Admin/question.blade.php index 1b9b4f3..e58cc3a 100644 --- a/resources/views/Admin/question.blade.php +++ b/resources/views/Admin/question.blade.php @@ -44,7 +44,7 @@
- + @@ -77,7 +77,7 @@