diff --git a/skolehjem/resources/views/app/news/index.blade.php b/skolehjem/resources/views/app/news/index.blade.php index bbda132..b2a725e 100644 --- a/skolehjem/resources/views/app/news/index.blade.php +++ b/skolehjem/resources/views/app/news/index.blade.php @@ -1,155 +1,47 @@ - - - - @yield("title") - - @if(request()->cookie("mode") == "dark") - - @else - - @endif - - - - - - - - - -
- @foreach(\App\News::query()->orderBy("created_at", "desc")->get() as $new) -
-
-

{{ $new->name }}

-

{{ $new->subname }}

-
- -
- {!! $new->content !!} -
-
- @endforeach - @if(count(\App\News::query()->orderBy("created_at", "desc")->get()) == 0) -

{{__('msg.ingennyheder')}}

- @endif -
- -@yield("scripts") -@if(request()->cookie("mode") == "dark") - -@endif - - + div.header { + background-color: #00788a; + color: white; + padding: 8px; + font-size: 10px; + text-align: center; + } + + div.container { + padding: 8px; + text-align: justify; + line-height: 1.5; + } + + ol { + padding-right: 8px; + } + +
+ @foreach(\App\News::query()->orderBy("created_at", "desc")->get() as $new) +
+
+

{{ $new->name }}

+

{{ $new->subname }}

+
+ +
+ {!! $new->content !!} +
+
+ @endforeach + @if(count(\App\News::query()->orderBy("created_at", "desc")->get()) == 0) +

{{__('msg.ingennyheder')}}

+ @endif +
+@endsection