Skip to content

Commit bedca44

Browse files
committed
refactor: change and drop some components
1 parent c9fc10e commit bedca44

33 files changed

+57
-344
lines changed

resources/views/components/buttons/danger-link.blade.php renamed to resources/views/components/buttons/btn-link.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
<a type="button" href="{{route($route)}}" class="btn btn-block btn-danger">@if($icon == ''){{$text}}@endif
2+
<a type="button" href="{{route($route)}}" class="btn btn-block btn-@if($outline == 'true') {{'outline-'}} @endif {{$type}}">@if($icon == ''){{$text}}@endif
33
@isset($icon)
44
<i class="fas fa-{{$icon}}"></i>
55
<span>{{$text}}</span>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
<button type="button" class="btn btn-block btn-@if($outline == 'true') {{'outilne-'}} @endif $type}}">@if($icon == ''){{$text}}@endif
3+
@isset($icon)
4+
<i class="fas fa-{{$icon}}"></i>
5+
<span>{{$text}}</span>
6+
@endisset
7+
</button>

resources/views/components/buttons/danger.blade.php

Lines changed: 0 additions & 7 deletions
This file was deleted.

resources/views/components/buttons/dismiss.blade.php

Lines changed: 0 additions & 6 deletions
This file was deleted.

resources/views/components/buttons/outlinew.blade.php

Lines changed: 0 additions & 7 deletions
This file was deleted.

resources/views/components/buttons/success-link.blade.php

Lines changed: 0 additions & 6 deletions
This file was deleted.

resources/views/components/buttons/success.blade.php

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)