From c148b6237ae561efdc727efab7f7188b1afb9cd4 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Thu, 8 Aug 2024 04:00:49 +0100 Subject: Add random quotes --- resources/views/components/never-said.blade.php | 3 +++ resources/views/components/toh-quote.blade.php | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 resources/views/components/never-said.blade.php create mode 100644 resources/views/components/toh-quote.blade.php (limited to 'resources/views/components') 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 @@ +

+ {{ $quote["name"] }}: "{{ $quote["quote"] }}"
+

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 @@ +

+ @foreach($quote["lines"] as $line) + {{ $line["character"] }}: "{{ $line["line"] }}"
+ @endforeach + ({{ $quote["attribution"] }}) +

-- cgit v1.2.3-54-g00ecf