summaryrefslogtreecommitdiff
path: root/ssh/resources/views/topicpopular.blade.php
diff options
context:
space:
mode:
authordev2026-06-27 05:34:00 +0200
committerdev2026-06-27 05:34:00 +0200
commitb608ced142cd0527906b554e04376292f718f084 (patch)
tree6f6937b35b902db3f0bca6476000dd61e3fcc85d /ssh/resources/views/topicpopular.blade.php
parent0fe83c7f76b2fd6ce79541a71cdde5ec0b12becf (diff)
parent043dd3ed90cac67975996bd881a997f38679bacd (diff)
downloadcurious-b608ced142cd0527906b554e04376292f718f084.tar.gz
Merged cinema into mostdiscussed.com
Diffstat (limited to 'ssh/resources/views/topicpopular.blade.php')
-rw-r--r--ssh/resources/views/topicpopular.blade.php48
1 files changed, 48 insertions, 0 deletions
diff --git a/ssh/resources/views/topicpopular.blade.php b/ssh/resources/views/topicpopular.blade.php
new file mode 100644
index 0000000..2259398
--- /dev/null
+++ b/ssh/resources/views/topicpopular.blade.php
@@ -0,0 +1,48 @@
+@extends ('layouts.app')
+
+@section ('styles')
+@include ('layouts.footer-style')
+html {
+ height: inherit;
+}
+@endsection
+
+@section ('content')
+
+<div class="container">
+
+ <div style="margin-top: 20px"></div>
+ <div class="card">
+ <h1 class="card-header">
+ Popular Topics
+ </h1>
+ <div class="card-body">
+ <p class="card-text">
+ <strong>Hint:</strong> <em>You are looking at popular topics. If you are interested in the most </em><strong>popular articles</strong><em> instead, <a href="{{ route('popular') }}" alt="popular articles">click here instead</a>.</em>
+ </p>
+ <p class="card-text">
+ <strong>Hint:</strong>
+ <em>
+ For a list of all topics please <a href="{{ route('topic_index') }}" alt="all topics">click here</a>.
+ </em>
+ </p>
+ </div>
+ </div>
+ <div style="margin-bottom: 20px"></div>
+
+ <div class="text-center card">
+ <div class="card-body">
+ @foreach ($topics as $topic)
+ @if ( "" != $topic->name )
+ <a href="{{ route('topic', $topic->name) }}" class="btn btn-lg btn-primary mx-1 my-1">{{ ucwords($topic->name) }} ({{ $topic->count }} Articles)</a>
+ @endif
+ @endforeach
+ </div>
+ </div>
+
+</div>
+@endsection
+
+@section ('footer')
+ @include ('layouts.footer')
+@endsection