Updated blade components to use Bootstrap classes

Updated blade components to use Bootstrap classes
This commit is contained in:
cp6 2022-02-20 22:00:05 +11:00
parent 9308110bd8
commit 9f53afb409
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
<!-- Validation Errors --> <!-- Validation Errors -->
<x-auth-validation-errors class="mb-4" :errors="$errors"/> <x-auth-validation-errors class="mb-4" :errors="$errors"/>
<h3 class="text-center mb-4">Login to My idlers</h3> <h3 class="text-center mb-4">My idlers</h3>
<form method="POST" action="{{ route('login') }}"> <form method="POST" action="{{ route('login') }}">
@csrf @csrf
<div class="form-floating mb-3"> <div class="form-floating mb-3">

View File

@ -1,3 +1,3 @@
@props(['disabled' => false]) @props(['disabled' => false])
<input {{ $disabled ? 'disabled' : '' }} {!! $attributes->merge(['class' => 'rounded-md shadow-sm border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50']) !!}> <input {{ $disabled ? 'disabled' : '' }} {!! $attributes->merge(['class' => 'form-control']) !!}>

View File

@ -1,5 +1,5 @@
@props(['value']) @props(['value'])
<label {{ $attributes->merge(['class' => 'block font-medium text-sm text-gray-700']) }}> <label {{ $attributes->merge(['class' => 'small text-muted']) }}>
{{ $value ?? $slot }} {{ $value ?? $slot }}
</label> </label>