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 ++++++ resources/views/home.blade.php | 5 +---- 3 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 resources/views/components/never-said.blade.php create mode 100644 resources/views/components/toh-quote.blade.php (limited to 'resources') 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"] }}) +

diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index a251881..75af3de 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -28,10 +28,7 @@

Random Quote


-

- - -

+

Contact

-- cgit v1.2.3-54-g00ecf