Skip to content

Commit 5dc08ea

Browse files
Merge branch 'feature/update-tailwind' of github.com:rapidez/core into feature/update-tailwind
2 parents 57e905a + 82ed66c commit 5dc08ea

File tree

19 files changed

+29
-20
lines changed

19 files changed

+29
-20
lines changed

resources/views/cart/coupon.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="bg-white rounded-lg border p-3">
2-
<h3 class="text-lg leading-6 font-medium text-gray-900 mb-5">
2+
<x-rapidez::title tag="h3" class="text-lg leading-6 font-medium text-neutral mb-5">
33
@lang('Apply coupon code')
4-
</h3>
4+
</x-rapidez::title>
55

66
@include('rapidez::cart.coupon.add')
77
@include('rapidez::cart.coupon.list')

resources/views/cart/overview.blade.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
@section('content')
88
<div class="container">
9-
<h1 class="mb-5 text-4xl font-bold">@lang('Cart')</h1>
9+
<x-rapidez::title tag="h1" class="mb-5 text-4xl">
10+
@lang('Cart')
11+
</x-rapidez::title>
1012
<graphql
1113
v-if="mask"
1214
:query="'query getCart($cart_id: String!) { cart (cart_id: $cart_id) { ' + config.queries.cart + ' } }'"

resources/views/category/overview.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@section('content')
99
<div class="container">
1010
@include('rapidez::category.partials.breadcrumbs')
11-
<h1 class="mb-5 text-3xl font-bold">{{ $category->name }}</h1>
11+
<x-rapidez::title tag="h1" class="mb-5 text-3xl">{{ $category->name }}</x-rapidez::title>
1212

1313
@if ($category->is_anchor)
1414
<x-rapidez::listing query="{ bool: { must: [{ terms: { visibility: [2, 4] } }, { terms: { category_ids: [config.category.entity_id] } }] } }" />

resources/views/checkout/steps/credentials.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1 class="mb-5 text-4xl font-bold">@lang('Credentials')</h1>
1+
<x-rapidez::title tag="h1" class="mb-5 text-4xl">@lang('Credentials')</x-rapidez::title>
22

33
<form v-on:submit.prevent="save(['credentials'], 3)" class="flex flex-col gap-5 rounded bg-highlight p-4 md:p-8">
44
<div class="flex flex-col gap-2">

resources/views/checkout/steps/login.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<login v-slot="{ email, password, go, loginInputChange, emailAvailable }">
22
<div class="flex justify-center">
33
<form class="p-8 w-[400px]" v-on:submit.prevent="go()">
4-
<h1 class="font-bold text-4xl text-center mb-5">@lang('Checkout')</h1>
4+
<x-rapidez::title tag="h1" class="text-4xl text-center mb-5">@lang('Checkout')</x-rapidez::title>
55

66
<x-rapidez::input
77
:label="false"

resources/views/checkout/steps/payment.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@php($checkoutAgreements = \Rapidez\Core\Models\CheckoutAgreement::all())
22

3-
<h1 class="font-bold text-4xl mb-5">@lang('Payment method')</h1>
3+
<x-rapidez::title tag="h1" class="text-4xl mb-5">@lang('Payment method')</x-rapidez::title>
44
<form class="bg-highlight p-8 rounded mt-6" v-on:submit.prevent="save(['payment_method'], 4)">
55
<div class="my-2 border bg-white p-4 rounded" v-for="(method, index) in checkout.payment_methods">
66
<x-rapidez::radio

resources/views/checkout/steps/success.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<checkout-success>
22
<template slot-scope="{ order, hideBilling, shipping, billing, items }">
33
<div dusk="checkout-success" v-cloak v-if="order">
4-
<h1 class="font-bold text-4xl mb-5">@lang('Order placed succesfully')</h1>
4+
<x-rapidez::title tag="h1" class="text-4xl mb-5">@lang('Order placed succesfully')</x-rapidez::title>
55
<div class="bg-highlight rounded p-8">
66
<p>@lang('We will get to work for you right away')</p>
77
<p>@lang('We will send a confirmation of your order to') <span class="font-bold">@{{ order.customer_email }}</span></p>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@props(['tag' => 'div'])
2+
<x-tag :is="$tag" {{ $attributes->class('text-pretty') }}>
3+
{!! $slot !!}
4+
</x-tag>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<x-rapidez::title.base {{ $attributes->class('font-sans font-bold') }}>
2+
{{ $slot }}
3+
</x-rapidez::title.base>

resources/views/errors/404.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
@section('content')
1818
<div class="container">
19-
<h1 class="mb-5 text-4xl font-bold">{{ $page->content_heading }}</h1>
19+
<x-rapidez::title tag="h1" class="mb-5 text-4xl">{{ $page->content_heading }}</x-rapidez::title>
2020
<div class="prose prose-green mb-5">
2121
{!! $page->content !!}
2222
</div>

0 commit comments

Comments
 (0)