Skip to content

Commit

Permalink
Addded shortcut icon
Browse files Browse the repository at this point in the history
  • Loading branch information
yungifez committed Jan 31, 2023
1 parent 636668d commit 8f7c906
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 9 deletions.
5 changes: 1 addition & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,4 @@ VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

LOGO_PATH="img/logo/logo.jpg"

#customize portal look and feel see https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Layout-and-Styling-Configuration#admin-panel-classes

ADMINLTE_CLASSES_SIDEBAR="sidebar-dark-primary elevation-4"
ADMINLTE_CLASSES_TOPNAV="navbar-white navbar-light"
#customize look and feel
5 changes: 5 additions & 0 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
* Application logo.
*/
'logo' => env('LOGO_PATH'),

/**
* Application logo.
*/
'favicon' => env('FAVICON_PATH', 'favicon/favicon.ico'),
/*
|--------------------------------------------------------------------------
| Application Environment
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@props(['class' => ''])
<div class="flex flex-cols justify-center items-center my-12 flex-col">
<img src="{{@asset(config('adminlte.logo_img'))}}" alt="" class="rounded-full w-28 h-28 border border-gray-200 shadow-lg my-4">
<img src="{{@asset(config('app.logo'))}}" alt="" class="rounded-full w-28 h-28 border border-gray-200 shadow-lg my-4">
<div class="{{$class}} w-10/12 md:w-8/12 lg:w-7/12 xl:w-4/12 min-h-[20%] flex flex-col justify-center items-center bg-white shadow-lg rounded-lg p-3">
{{$slot}}
</div>
Expand Down
1 change: 1 addition & 0 deletions resources/views/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="csrf-token" content="{{ csrf_token() }}">
<link rel="shortcut icon" href="{{asset(config('app.favicon'))}}" type="image/x-icon">
<title>
@yield('title', config('app.name', 'Skuul'))
</title>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/guest.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">

<link rel="shortcut icon" href="{{asset(config('app.favicon'))}}" type="image/x-icon">
<title>
@yield('title', config('app.name', 'Skuul'))
</title>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/livewire/layouts/header.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<i class="fa fa-bars" aria-hidden="true"></i>
</button>
<a href="{{route('home')}}" class="hidden md:flex items-center justify-center">
<img src="{{asset(config('adminlte.logo_img'))}}" alt="" class="rounded-full w-12 h-12 border border-gray-200 shadow-lg">
<img src="{{asset(config('app.logo'))}}" alt="" class="rounded-full w-12 h-12 border border-gray-200 shadow-lg">
<h1 class="text-lg font-semibold mx-3 text-center capitalize">{{config('app.name')}}</h1>
</a>
</div>
Expand All @@ -26,7 +26,7 @@
<img src="{{auth()->user()->defaultProfilePhotoUrl()}}" alt="" class="rounded-full w-10 h-10 border border-gray-200 shadow-md">
<p class="hidden lg:block px-2" >{{auth()->user()->name}}</p>
</div>
<i class="fa fa-angle-down" aria-hidden="true"></i>
<i :class="{'transition-all' : true,'fas fa-angle-right' : dropDownOpen == false , 'fas fa-angle-down ' : dropDownOpen == true}" aria-hidden="true"></i>
</button>
{{--User profile card--}}
<div class="absolute bg-blue-700 dark:bg-gray-800 top-16 w-5/6 border md:w-2/6 lg:w-1/5 shadow-md right-2 flex flex-col items-center justify-center rounded p-4 text-white " x-show="dropDownOpen" x-transition style="display: none">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/livewire/layouts/menu.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nav class="fixed lg:sticky inset-0 h-screen w-full lg:w-72 shadow-lg flex duration-250 text-gray-100 transition-all dark:lg:border-r dark:border-white z-40" :class="{'w-0 overflow-hidden lg:flex lg:w-20' : menuOpen == false}">
<aside class="w-4/6 md:w-3/6 lg:w-full bg-gray-800 dark:bg-gray-900 shadow-md shadow-black border-x border-black overflow-scroll beautify-scrollbar">
<a href="{{route('home')}}" class="flex md:hidden items-center justify-center border-b border-gray-200 p-4">
<img src="{{asset(config('adminlte.logo_img')) }}" alt="" class="rounded-full w-14 h-14 border border-gray-200 shadow-md">
<img src="{{asset(config('app.logo')) }}" alt="" class="rounded-full w-14 h-14 border border-gray-200 shadow-md">
<h1 class="text-lg font-semibold mx-3 text-center capitalize">{{config('app.name')}}</h1>
</a>
<div class="p-3">
Expand Down

0 comments on commit 8f7c906

Please sign in to comment.