This commit is contained in:
cereci5049 2024-12-02 17:09:59 +05:30
parent 2ea44512fd
commit 969f0dd216
2 changed files with 14 additions and 3 deletions

View file

@ -44,7 +44,7 @@
<div class="row g-4">
<div class="col-lg-3">
<a href="#">
<h1 class="text-primary mb-0">Groupandrice</h1>
<h1 class="text-primary mb-0">Grice</h1>
<p class="text-secondary mb-0">Fresh products</p>
</a>
</div>

View file

@ -1,4 +1,9 @@
<script>
import SignInButton from 'clerk-sveltekit/client/SignInButton.svelte'
import SignedOut from 'clerk-sveltekit/client/SignedOut.svelte'
import SignOutButton from 'clerk-sveltekit/client/SignOutButton.svelte'
import SignedIn from 'clerk-sveltekit/client/SignedIn.svelte'
import UserButton from 'clerk-sveltekit/client/UserButton.svelte'
export let shop = "";
export let index = "";
export let contact = "";
@ -46,9 +51,15 @@
<i class="fa fa-shopping-bag fa-2x"></i>
<span class="position-absolute bg-secondary rounded-circle d-flex align-items-center justify-content-center text-dark px-1" style="top: -5px; left: 15px; height: 20px; min-width: 20px;">3</span>
</a>
<a href="/login" class="my-auto">
<!-- <a href="/login" class="me-4 my-auto">
<i class="fas fa-user fa-2x"></i>
</a>
</a> -->
<SignedOut>
<SignInButton class="btn border border-secondary btn-md-square rounded-circle bg-white me-4" mode="modal"><i class="fas fa-user fa-2x"></i></SignInButton>
</SignedOut>
<SignedIn>
<SignOutButton class="btn border border-secondary btn-md-square rounded-circle bg-white me-4"><i class="fas fa-user fa-2x"></i></SignOutButton>
</SignedIn>
</div>
</div>
</nav>