Skip to content

Commit babe229

Browse files
Merge pull request #87 from ranggaadithia/labs
fix: navbar
2 parents d710b73 + eac6cdb commit babe229

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

app/Models/Lab.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class Lab extends Model
1414
public function users()
1515
{
1616
return $this->belongsToMany(User::class, 'labs_booking', 'lab_id', 'user_id')
17-
->withTimestamps()
18-
->withPivot('reason_to_booking', 'booking_date', 'start_time', 'end_time');
17+
->withTimestamps()
18+
->withPivot('reason_to_booking', 'booking_date', 'start_time', 'end_time');
1919
}
2020

2121
public function classSchedules()

resources/views/livewire/navbar-lab.blade.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ class="fixed top-0 z-50 flex-no-wrap flex w-full items-center justify-between bg
44
<div class="flex w-full flex-wrap items-center justify-between px-4 md:px-10">
55
<div class="flex items-center justify-center">
66
<a href="/">
7-
<img class="h-10" src="{{ asset('undiksha.png') }}" alt="">
7+
{{-- <img class="h-10" src="{{ asset('undiksha.png') }}" alt=""> --}}
8+
<i class="bi bi-building-add text-3xl"></i>
89
</a>
9-
<a href="/" class="text-2xl font-bold ml-1 hidden md:block">SIMARU</a>
10+
<a href="/" class="text-2xl font-bold ml-1 hidden md:block">SiBiru</a>
1011
</div>
1112
<div class="text-xl flex items-center justify-between text-center md:w-80">
1213
<button class="hover:bg-gray-200 px-1 rounded-full transition-all ease-in-out duration-300 md:order-1" wire:click="prevWeek"><i class="bi bi-chevron-left text-md md:text-2xl"></i></button>

resources/views/livewire/navbar.blade.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ class="fixed top-0 z-50 flex-no-wrap flex w-full items-center justify-between bg
44
<div class="flex w-full flex-wrap items-center justify-between px-4 md:px-10">
55
<div class="flex items-center justify-center">
66
<a href="/">
7-
<img class="h-10" src="{{ asset('undiksha.png') }}" alt="">
7+
{{-- <img class="h-10" src="{{ asset('undiksha.png') }}" alt=""> --}}
8+
<i class="bi bi-building-fill-add"></i>
89
</a>
9-
<a href="/" class="text-2xl font-bold ml-1 hidden md:block">SIMARU</a>
10+
<a href="/" class="text-2xl font-bold ml-1 hidden md:block">SiBiru</a>
1011
</div>
1112
<div class="text-xl flex items-center justify-between text-center md:w-80">
1213
<button class="hover:bg-gray-200 px-1 rounded-full transition-all ease-in-out duration-300 md:order-1" wire:click="prevWeek"><i class="bi bi-chevron-left text-md md:text-2xl"></i></button>

0 commit comments

Comments
 (0)