aboutsummaryrefslogtreecommitdiff
path: root/resources/views/components
diff options
context:
space:
mode:
authorFrankie B <floppydisk@hyprcat.net>2024-08-08 04:00:49 +0100
committerFrankie B <floppydisk@hyprcat.net>2024-08-08 04:00:49 +0100
commitc148b6237ae561efdc727efab7f7188b1afb9cd4 (patch)
tree197ff6a0ad1b2215cdec946c0fbf6737d2d86cc8 /resources/views/components
parente3f67fec07884b70e2a988ac0bb8cf6c9a750582 (diff)
Add random quotesredesign
Diffstat (limited to 'resources/views/components')
-rw-r--r--resources/views/components/never-said.blade.php3
-rw-r--r--resources/views/components/toh-quote.blade.php6
2 files changed, 9 insertions, 0 deletions
diff --git a/resources/views/components/never-said.blade.php b/resources/views/components/never-said.blade.php
new file mode 100644
index 0000000..9cb47b7
--- /dev/null
+++ b/resources/views/components/never-said.blade.php
@@ -0,0 +1,3 @@
+<p class="quote">
+ <strong>{{ $quote["name"] }}:</strong> "{{ $quote["quote"] }}"<br>
+</p>
diff --git a/resources/views/components/toh-quote.blade.php b/resources/views/components/toh-quote.blade.php
new file mode 100644
index 0000000..898b001
--- /dev/null
+++ b/resources/views/components/toh-quote.blade.php
@@ -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>