Topics for an article
This commit is contained in:
2
public/css/app.css
vendored
2
public/css/app.css
vendored
File diff suppressed because one or more lines are too long
@@ -74,7 +74,19 @@
|
||||
</p>
|
||||
@endforeach
|
||||
|
||||
|
||||
<div class="border-b"></div>
|
||||
<h5 class="MvTyper text-md font-bold text-center mb-2 mt-2">މައުޟޫޢުތަށް</h5>
|
||||
<div class="flex flex-wrap gap-2 items-center justify-center">
|
||||
|
||||
@foreach ($article->topics as $topic)
|
||||
<a
|
||||
href="{{route('topics.show', $topic->slug)}}"
|
||||
class="mt-4 bg-green-600 no-underline text-sm font-bold hover:bg-white px-3 py-2 rounded border border-green-600 text-white hover:text-green-600 MvTyper">
|
||||
{{$topic->name}}
|
||||
</a>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user