diff options
| author | horus | 2020-04-02 21:52:04 +0200 |
|---|---|---|
| committer | horus | 2020-04-02 21:52:04 +0200 |
| commit | 5a8c47e29afdbb61c32c1e03162abb1bb871ee9e (patch) | |
| tree | 19cd2e0c48119a703306a71df813d07666289e8f /resources/views/topicindex.blade.php | |
| download | curious-5a8c47e29afdbb61c32c1e03162abb1bb871ee9e.tar.gz | |
Initial commit.
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 |
