Skip to content

Commit

Permalink
update view
Browse files Browse the repository at this point in the history
  • Loading branch information
BB committed Jul 11, 2024
1 parent 07ca5b6 commit 2f374ad
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ You can install the package via composer:
composer require bataboom/quotesbb
```

Publish the service provider with:

```bash
php artisan vendor:publish
BataBoom\QuotesBB\QuotesBBServiceProvider
```

You can publish the config file with:

```bash
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"role": "Developer"
}
],
"version": "0.0.1",
"version": "0.0.2",
"require": {
"php": "^8.2",
"spatie/laravel-package-tools": "^1.16",
Expand Down
10 changes: 4 additions & 6 deletions resources/views/livewire/quotesbb/quotes.blade.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<div wire:poll.{{$this->delay}}>
<h1 class="mt-5 text-3xl text-gray-100 leading-snug min-h-33">{{ $quotes }}</h1>
<div class="container w-96 min-h-64 max-h-96 overflow-hidden m-2 p-2" wire:poll.{{$this->delay}}>
<h1 class="text-2xl text-gray-100 leading-snug min-h-33">{{ $quotes }}</h1>

<div class="mt-20">
<div class="block pt-2">
<p class="font-serif font-bold text-xl">- {{ $sources }}</p>
</div>

</div>

</div>

0 comments on commit 2f374ad

Please sign in to comment.