Add random quotes

This commit is contained in:
Frankie B 2024-08-08 04:00:49 +01:00
commit c148b6237a
No known key found for this signature in database
8 changed files with 1041 additions and 78 deletions

View file

@ -0,0 +1,3 @@
<p class="quote">
<strong>{{ $quote["name"] }}:</strong> "{{ $quote["quote"] }}"<br>
</p>

View file

@ -0,0 +1,6 @@
<p class="quote">
@foreach($quote["lines"] as $line)
<strong>{{ $line["character"] }}:</strong> "{{ $line["line"] }}"<br>
@endforeach
<small>({{ $quote["attribution"] }})</small>
</p>

View file

@ -28,10 +28,7 @@
<div class="section">
<h2>Random Quote</h2>
<hr>
<p class="quote">
<script type="text/javascript" src="{{ asset("/js/randomQuote.js") }}"></script>
<noscript>Oops! You need JavaScript enabled to view this content.</noscript>
</p>
<x-toh-quote/>
</div>
<div class="section">
<h2>Contact</h2>