Skip to content

Commit

Permalink
UI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NuwanJ committed Jul 19, 2024
1 parent 401834a commit 756d812
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions resources/views/frontend/includes/nav.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<span class="navbar-toggler-icon"></span>
</button>

<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto">
<div class="collapse navbar-collapse flex flex-row-reverse" id="navbarSupportedContent">
<ul class="navbar-nav">
@if (config('boilerplate.locale.status') && count(config('boilerplate.locale.languages')) > 1)
<li class="nav-item dropdown">
<x-utils.link :text="__(getLocaleName(app()->getLocale()))" class="nav-link dropdown-toggle" id="navbarDropdownLanguageLink"
Expand Down
11 changes: 9 additions & 2 deletions resources/views/frontend/user/overview.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@
<x-slot name="body">
@lang('You are logged in!')
<br>
<div>
<a href="{{ route('frontend.user.products') }}">Create a cart</a>

<div class="py-3">
This page is under development. However, you can access the following pages.
<ul>
<li><a class="mx-1" href="{{ route('frontend.user.account') }}">@lang('Manage Account')</a></li>
@if ($logged_in_user->isAdminAccess())
<li><a class="mx-1" href="{{ route('admin.dashboard') }}">Dashboard</a></li>
@endif
</ul>
</div>
</x-slot>
</x-frontend.card>
Expand Down

0 comments on commit 756d812

Please sign in to comment.