-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented Rapidez v3 colors and various tweaks (#160)
- Loading branch information
1 parent
3c6124a
commit f704f97
Showing
63 changed files
with
203 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 9 additions & 7 deletions
16
resources/core-overwrites/layouts/checkout/header.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
<div class="bg-inactive-100 text-ct-inactive relative py-3 text-xs font-semibold"> | ||
<slider reference="header-usp-slider" autoplay loop> | ||
<div | ||
<div class="bg text-muted relative py-3 text-xs font-semibold"> | ||
<slider reference="header-usp-slider" autoplay> | ||
<ul | ||
ref="header-usp-slider" | ||
class="scrollbar-hide flex snap-x snap-mandatory items-center gap-7 overflow-x-auto lg:justify-center" | ||
slot-scope="{ navigate, currentSlide, slidesTotal }" | ||
tabindex="0" | ||
aria-label="USP features" | ||
> | ||
@foreach (['Wide range of products', 'Free returns', 'All items shown are in stock', 'Free shipping'] as $usp) | ||
<div class="flex shrink-0 snap-center items-center justify-center gap-2 max-lg:w-full"> | ||
<x-heroicon-o-check class="size-4 text-ct-enhanced stroke-2" /> | ||
<li class="flex shrink-0 snap-center items-center justify-center gap-2 max-lg:w-full"> | ||
<x-heroicon-o-check class="size-4 text-primary stroke-2" /> | ||
<span>{{ $usp }}</span> | ||
</div> | ||
</li> | ||
@endforeach | ||
</div> | ||
</ul> | ||
</slider> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,10 +38,6 @@ | |
billing() { | ||
return this.order.billing_address | ||
}, | ||
pickup() { | ||
return this.shipping | ||
} | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 43 additions & 41 deletions
84
resources/views/account/partials/order/products.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,49 @@ | ||
<div class="mt-5 rounded bg-ct-inactive-100 py-4 text-sm"> | ||
<div class="flex w-full flex-wrap gap-y-3 gap-x-3 text-sm sm:gap-x-6 sm:pr-6 md:items-center"> | ||
<div class="sm:w-[150px]"></div> | ||
<div class="flex-1 sm:w-[150px]">@lang('Product')</div> | ||
<div class="flex items-center justify-between gap-10 font-medium max-md:hidden max-sm:flex-1 sm:ml-auto"> | ||
<div class="w-[60px]">@lang('Price')</div> | ||
<div class="w-16 text-center">@lang('Amount')</div> | ||
<div class="w-[60px]">@lang('Subtotal')</div> | ||
</div> | ||
</div> | ||
</div> | ||
<ul class="flex flex-col divide-y"> | ||
<li class="flex py-5" v-for="item in order.items"> | ||
<div class="mt-5"> | ||
<div class="rounded bg py-4 text-sm"> | ||
<div class="flex w-full flex-wrap gap-y-3 gap-x-3 text-sm sm:gap-x-6 sm:pr-6 md:items-center"> | ||
<div class="flex h-[100px] w-[150px] items-center justify-center"> | ||
<img | ||
class="max-h-[100px] max-w-[150px]" | ||
:alt="item.name" | ||
:src="`/storage/{{ config('rapidez.store') }}/resizes/200/sku/${item.product_sku}`" | ||
height="100" | ||
v-if="item.product_sku" | ||
> | ||
<x-rapidez::no-image v-else class="h-[100px] w-[150px]"/> | ||
</div> | ||
<div class="flex w-[150px] flex-1 flex-col items-start"> | ||
<a :href="item.url" dusk="cart-item-name">@{{ item.product_name }}</a> | ||
<div class="text-xs text-ct-inactive"> | ||
@{{ item.product_sku }} | ||
</div> | ||
<div v-for="(optionValue, option) in item.options"> | ||
@{{ option }}: @{{ optionValue }} | ||
</div> | ||
<div class="sm:w-[150px]"></div> | ||
<div class="flex-1 sm:w-[150px]">@lang('Product')</div> | ||
<div class="flex items-center justify-between gap-10 font-medium max-md:hidden max-sm:flex-1 sm:ml-auto"> | ||
<div class="w-[60px]">@lang('Price')</div> | ||
<div class="w-16 text-center">@lang('Quantity')</div> | ||
<div class="w-[60px]">@lang('Subtotal')</div> | ||
</div> | ||
<div class="flex items-center justify-between gap-10 font-medium max-sm:flex-1 sm:ml-auto"> | ||
<div class="flex flex-col gap-px text-sm sm:w-[60px]"> | ||
@{{ item.product_sale_price.value | price }} | ||
</div> | ||
</div> | ||
<ul class="flex flex-col divide-y"> | ||
<li class="flex py-5" v-for="item in order.items"> | ||
<div class="flex w-full flex-wrap gap-y-3 gap-x-3 text-sm sm:gap-x-6 sm:pr-6 md:items-center"> | ||
<div class="flex h-[100px] w-[150px] items-center justify-center"> | ||
<img | ||
class="max-h-[100px] max-w-[150px]" | ||
:alt="item.product_name" | ||
:src="`/storage/{{ config('rapidez.store') }}/resizes/200/sku/${item.product_sku}`" | ||
height="100" | ||
v-if="item.product_sku" | ||
> | ||
<x-rapidez::no-image v-else class="h-[100px] w-[150px]"/> | ||
</div> | ||
<div class="flex h-14 w-16 items-center justify-center border text-sm"> | ||
@{{ Math.round(item.quantity_ordered) }} | ||
<div class="flex w-[150px] flex-1 flex-col items-start"> | ||
<a :href="item.url" dusk="cart-item-name">@{{ item.product_name }}</a> | ||
<div class="text-xs text-muted"> | ||
@{{ item.product_sku }} | ||
</div> | ||
<div v-for="(optionValue, option) in item.options"> | ||
@{{ option }}: @{{ optionValue }} | ||
</div> | ||
</div> | ||
<div class="text-sm sm:w-[60px]"> | ||
@{{ item.product_sale_price.value * item.quantity_ordered | price }} | ||
<div class="flex items-center justify-between gap-10 font-medium max-sm:flex-1 sm:ml-auto"> | ||
<div class="flex flex-col gap-px text-sm sm:w-[60px]"> | ||
@{{ item.product_sale_price.value | price }} | ||
</div> | ||
<div class="flex h-14 w-16 items-center justify-center border text-sm"> | ||
@{{ Math.round(item.quantity_ordered) }} | ||
</div> | ||
<div class="text-sm sm:w-[60px]"> | ||
@{{ item.product_sale_price.value * item.quantity_ordered | price }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.