Skip to content

Commit

Permalink
edit dashboard and welcome page
Browse files Browse the repository at this point in the history
  • Loading branch information
IbtissamNoukta committed Jan 25, 2023
1 parent 17dc0d7 commit 0d3b843
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 34 deletions.
Binary file added public/images/background/RESTAURANT.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/background/yangskitchen_home.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 12 additions & 12 deletions resources/views/dashboard.blade.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<x-app-layout>
<x-slot name="header">
<div class="row">
<a href="/category" class="col-sm-4 d-flex flex-column align-items-center justify-items-center">
<i class="fa fa-cog fa-5x text-danger"></i>
Manage
</a>
<a href="/payment" class="col-sm-4 d-flex flex-column align-items-center justify-items-center">
<i class="fa fa-shopping-bag fa-5x text-primary"></i>
Sales
</a>
<a href="/report" class="col-sm-4 d-flex flex-column align-items-center justify-items-center">
<i class="fa fa-clipboard-list fa-5x text-success"></i>
Reports
</a>
<a href="/category" class="col-sm-4 d-flex flex-column align-items-center justify-items-center">
<i class="fa fa-cog fa-5x text-danger"></i>
Manage
</a>
<a href="/payment" class="col-sm-4 d-flex flex-column align-items-center justify-items-center">
<i class="fa fa-shopping-bag fa-5x text-primary"></i>
Sales
</a>
<a href="/report" class="col-sm-4 d-flex flex-column align-items-center justify-items-center">
<i class="fa fa-clipboard-list fa-5x text-success"></i>
Reports
</a>
</div>
</x-slot>
</x-app-layout>
2 changes: 1 addition & 1 deletion resources/views/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<title>{{ config('app.name', 'Laravel') }}</title>
<title>{{ config('app.name', 'Restaurant') }}</title>

<!-- Fonts -->
<link rel="stylesheet" href="https://fonts.bunny.net/css2?family=Nunito:wght@400;600;700&display=swap">
Expand Down
7 changes: 5 additions & 2 deletions resources/views/layouts/guest.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="csrf-token" content="{{ csrf_token() }}">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">

<title>{{ config('app.name', 'Laravel') }}</title>
<title>{{ config('app.name', 'Restaurant') }}</title>

<!-- Fonts -->
<link rel="stylesheet" href="https://fonts.bunny.net/css2?family=Nunito:wght@400;600;700&display=swap">
Expand All @@ -18,7 +18,10 @@
<div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 bg-gray-100">
<div>
<a href="/">
<x-application-logo class="w-20 h-20 fill-current text-gray-500" />
<img src="{{ asset('images/background/RESTAURANT.png') }}" alt="logo"
class="img-fluid" width="200" height="200">
{{-- <i class="fas fa-hamburger fa-5x"></i> --}}
{{-- <x-application-logo class="w-20 h-20 fill-current text-gray-500" /> --}}
</a>
</div>

Expand Down
7 changes: 5 additions & 2 deletions resources/views/layouts/navigation.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@
<!-- Logo -->
<div class="shrink-0 flex items-center">
<a href="{{ route('dashboard') }}">
<x-application-logo class="block h-9 w-auto fill-current text-gray-800" />
<img src="{{ asset('images/background/RESTAURANT.png') }}" alt="logo"
class="img-fluid" width="90" height="90">
{{-- <i class="fas fa-hamburger fa-2x"></i> --}}
{{-- <x-application-logo class="block h-9 w-auto fill-current text-gray-800" /> --}}
</a>
</div>

<!-- Navigation Links -->
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
<x-nav-link :href="route('dashboard')" :active="request()->routeIs('dashboard')">
{{ __('Dashboard') }}
{{ __('Restaurant XXX') }}
</x-nav-link>
</div>
</div>
Expand Down
31 changes: 14 additions & 17 deletions resources/views/welcome.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">

<title>Laravel</title>

<!-- Fonts -->
<link href="https://fonts.bunny.net/css2?family=Nunito:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css">

<!-- Styles -->
<style>
Expand All @@ -32,25 +34,20 @@
</div>
@endif

<div class="max-w-6xl mx-auto sm:px-10 lg:px-10">
<div class="flex justify-center pt-8 sm:justify-start sm:pt-0">
<div class="content">
<div class="title m-b-md">
<i class="fas fa-hamburger"></i>Restaurant XXXXX
</div>
</div>
</div>
</div>





<div class="ml-4 text-center text-sm text-gray-500 sm:text-right sm:ml-0">
Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }})
</div>
<div class="col-sm-12 d-flex flex-column align-items-center justify-items-center">
<img src="{{ asset('images/background/RESTAURANT.png') }}" alt="logo"
class="img-fluid" width="200" height="200">
<div>
<img src="{{ asset('images/background/yangskitchen_home.jpg') }}" alt="background"
class="img-fluid" width="1000" height="1000">
</div>
</div>
{{-- <div class="ml-4 text-center text-sm text-gray-500 sm:text-right sm:ml-0">
Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }})
</div> --}}
</div>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous">
</script>
</body>
</html>

0 comments on commit 0d3b843

Please sign in to comment.