Skip to content

Commit

Permalink
📝 Update doc on notify page
Browse files Browse the repository at this point in the history
  • Loading branch information
mckenziearts committed Nov 5, 2019
1 parent 4c66dca commit b94f38f
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions resources/views/notify.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@
<div class="col-md-5">
<h4># Basic Usage</h4>
<p>From your application, call the flash method with a message and type.</p>
<pre><code class="language-php">notify()->flash('You have successfully reconnected', 'success', 'Connection Found');</code></pre>
<pre>
<code class="language-php">connectify('success', 'Connection Found', 'Success Message Here');</code>
</pre>
<pre>
<code class="language-php">connectify('error', 'No Connection Found', 'Error Message Here');</code>
</pre>
</div>
</div>

Expand Down Expand Up @@ -108,7 +113,10 @@
<div class="col-md-5">
<h4># Basic Usage</h4>
<p>From your application, call the flash method with a message and type.</p>
<pre><code class="language-php">notify()->flash('You have successfully reconnected', 'success', 'Connection Found');</code></pre>
<pre><code class="language-php">notify()->success('You have successfully logged in');</code></pre>
<pre><code class="language-php">notify()->info('You have new subscribers');</code></pre>
<pre><code class="language-php">notify()->warning('Please charge your mobile phone');</code></pre>
<pre><code class="language-php">notify()->error('Some error here please try again');</code></pre>
</div>
</div>

Expand All @@ -135,7 +143,8 @@
<div class="col-md-5">
<h4># Basic Usage</h4>
<p>From your application, call the flash method with a message and type.</p>
<pre><code class="language-php">notify()->flash('You have successfully reconnected', 'success', 'Connection Found');</code></pre>
<pre><code class="language-php">drakify('success');</code></pre>
<pre><code class="language-php">drakify('error');</code></pre>
</div>
</div>

Expand Down Expand Up @@ -172,7 +181,8 @@
<div class="col-md-5">
<h4># Basic Usage</h4>
<p>From your application, call the flash method with a message and type.</p>
<pre><code class="language-php">notify()->flash('You have successfully reconnected', 'success', 'Connection Found');</code></pre>
<pre><code class="language-php">smilify('success', 'You have successfully reconnected');</code></pre>
<pre><code class="language-php">smilify('error', 'Bad request appear please try again');</code></pre>
</div>
</div>

Expand Down

0 comments on commit b94f38f

Please sign in to comment.