diff options
Diffstat (limited to 'resources/views/topicindex.blade.php')
| -rw-r--r-- | resources/views/topicindex.blade.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/resources/views/topicindex.blade.php b/resources/views/topicindex.blade.php new file mode 100644 index 0000000..8ef2114 --- /dev/null +++ b/resources/views/topicindex.blade.php @@ -0,0 +1,18 @@ +@extends('layouts.app') + +@section('styles') +html { + height: inherit; +} +@endsection + +@section('content') + +<div class="text-center container"> +@foreach ($topics->get() as $topic) + @if ( "" != $topic->name ) + <a href="{{ route('topic', $topic->name) }}" class="btn btn-lg btn-outline-primary">{{ ucwords($topic->name) }}</a> + @endif +@endforeach +</div> +@endsection |
