Moved to blade components

This commit is contained in:
2020-10-12 16:52:48 +05:00
parent d180f2a885
commit 118567491a
11 changed files with 316 additions and 309 deletions

View File

@@ -1,6 +1,6 @@
@extends('layouts.app')
<x-layout>
@section('meta')
<x-slot name="meta">
<title>{{$article->meta['title']}} | Karudhaas</title>
<meta name="description" content="Discover Stories,Daily news and inspiration for maldivian readers." />
@@ -15,9 +15,9 @@
<meta property="og:url" content="https://karudhaas.net/" />
<meta property="og:site_name" content="karudhaas.net" />
<meta property="og:image" content="{{$article->featured_image}}">
@endsection
</x-slot>
@section('content')
<div>
<div class="mb-4 md:mb-0 w-full max-w-screen-md mx-auto relative" style="height: 24em;">
<div class="absolute left-0 bottom-0 w-full h-full z-10"
@@ -94,4 +94,4 @@
</div>
</div>
</div>
@endsection
</x-layout>