Commit 8c79c027 by Bagus Pambudi

share sosmed all language

parent 857e30dd
...@@ -65,6 +65,34 @@ ...@@ -65,6 +65,34 @@
</div> </div>
@if ($data->rSa) @if ($data->rSa)
{!! $data->rSa->content !!} {!! $data->rSa->content !!}
<p>
<i><b>Share It On:</b></i> </p>
<div class="social-icons">
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Facebook" href="https://www.facebook.com/sharer.php?u={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #1877f2;"><i class="fa fa-facebook" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Twitter" href="https://twitter.com/share?url={!! url('/') !!}&amp;text={!! url($data->rZh->title) !!}&amp;hashtags={!! $data->rCategory->rZh->name !!}" data-original-title="" style="background-color: #55acee;"><i class="fa fa-twitter" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Linkedin" href="http://www.linkedin.com/shareArticle?mini=true&amp;url={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #007bb5;"><i class="fa fa-linkedin" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Email" href="mailto:?Subject={!! $data->rCategory->rZh->name !!}&amp;Body={!! url($data->rZh->title) !!} {!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #0166ff;"><i class="fa fa-envelope" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Whatsapp" href="https://wa.me/?text={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #12af0a;"><i class="fa fa-phone" style="color: white;"></i></a>
</span>
<span class="last">
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="" href="https://telegram.me/share/url?url={!! url('post/'.$data->slug) !!}&amp;text={!! url($data->rZh->title) !!}" data-original-title="Telegram" style="background-color: #2ca5e0;"><i class="fa fa-location-arrow" style="color: white;"></i></a>
</span>
</div>
@endif @endif
</div> </div>
</div> </div>
......
...@@ -66,6 +66,34 @@ ...@@ -66,6 +66,34 @@
@if ($data->rDe) @if ($data->rDe)
{!! $data->rDe->content !!} {!! $data->rDe->content !!}
@endif @endif
<p>
<i><b>Share It On:</b></i> </p>
<div class="social-icons">
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Facebook" href="https://www.facebook.com/sharer.php?u={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #1877f2;"><i class="fa fa-facebook" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Twitter" href="https://twitter.com/share?url={!! url('/') !!}&amp;text={!! url($data->rDe->title) !!}&amp;hashtags={!! $data->rCategory->rDe->name !!}" data-original-title="" style="background-color: #55acee;"><i class="fa fa-twitter" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Linkedin" href="http://www.linkedin.com/shareArticle?mini=true&amp;url={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #007bb5;"><i class="fa fa-linkedin" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Email" href="mailto:?Subject={!! $data->rCategory->rDe->name !!}&amp;Body={!! url($data->rDe->title) !!} {!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #0166ff;"><i class="fa fa-envelope" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Whatsapp" href="https://wa.me/?text={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #12af0a;"><i class="fa fa-phone" style="color: white;"></i></a>
</span>
<span class="last">
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="" href="https://telegram.me/share/url?url={!! url('post/'.$data->slug) !!}&amp;text={!! url($data->rDe->title) !!}" data-original-title="Telegram" style="background-color: #2ca5e0;"><i class="fa fa-location-arrow" style="color: white;"></i></a>
</span>
</div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -69,6 +69,34 @@ ...@@ -69,6 +69,34 @@
</div> </div>
@if ($data->rEn) @if ($data->rEn)
{!! $data->rEn->content !!} {!! $data->rEn->content !!}
<p>
<i><b>Share It On:</b></i> </p>
<div class="social-icons">
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Facebook" href="https://www.facebook.com/sharer.php?u={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #1877f2;"><i class="fa fa-facebook" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Twitter" href="https://twitter.com/share?url={!! url('/') !!}&amp;text={!! url($data->rEn->title) !!}&amp;hashtags={!! $data->rCategory->rEn->name !!}" data-original-title="" style="background-color: #55acee;"><i class="fa fa-twitter" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Linkedin" href="http://www.linkedin.com/shareArticle?mini=true&amp;url={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #007bb5;"><i class="fa fa-linkedin" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Email" href="mailto:?Subject={!! $data->rCategory->rEn->name !!}&amp;Body={!! url($data->rEn->title) !!} {!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #0166ff;"><i class="fa fa-envelope" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Whatsapp" href="https://wa.me/?text={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #12af0a;"><i class="fa fa-phone" style="color: white;"></i></a>
</span>
<span class="last">
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="" href="https://telegram.me/share/url?url={!! url('post/'.$data->slug) !!}&amp;text={!! url($data->rEn->title) !!}" data-original-title="Telegram" style="background-color: #2ca5e0;"><i class="fa fa-location-arrow" style="color: white;"></i></a>
</span>
</div>
@endif @endif
</div> </div>
</div> </div>
......
@extends('webprofile.front.jollyany.master') @extends('webprofile.front.jollyany.master2')
<title>{{$data->rZh->title}}</title> <title>{!!$data->rZh->title!!}</title>
@section('meta') @section('meta')
<title>{{$setting['web_title']}}</title> <title>{{$setting['web_title']}}</title>
<meta name="{{ Str::slug($data->rZh->title) }}" content="custom"/> <meta name="{{ Str::slug($data->rZh->title) }}" content="custom"/>
<!-- <meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}"> --> <!-- <meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}"> -->
<meta name="description" content="{{$setting['web_title']}}"> <meta name="description" content="{{$setting['web_title']}}">
<meta name="keywords" content="{{ $data->rZhkeys }}"> <meta name="keywords" content="{{ $data->rZh->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}"> <meta name="author" content="{{ $setting['header_admin'] }}">
@endsection @endsection
@section('content') @section('content')
...@@ -68,7 +68,36 @@ ...@@ -68,7 +68,36 @@
</div> </div>
@if ($data->rZh) @if ($data->rZh)
{!! $data->rZh->content !!} {!! $data->rZh->content !!}
<p>
<i><b>Share It On:</b></i> </p>
<div class="social-icons">
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Facebook" href="https://www.facebook.com/sharer.php?u={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #1877f2;"><i class="fa fa-facebook" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Twitter" href="https://twitter.com/share?url={!! url('/') !!}&amp;text={!! url($data->rZh->title) !!}&amp;hashtags={!! $data->rCategory->rZh->name !!}" data-original-title="" style="background-color: #55acee;"><i class="fa fa-twitter" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Linkedin" href="http://www.linkedin.com/shareArticle?mini=true&amp;url={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #007bb5;"><i class="fa fa-linkedin" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Email" href="mailto:?Subject={!! $data->rCategory->rZh->name !!}&amp;Body={!! url($data->rZh->title) !!} {!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #0166ff;"><i class="fa fa-envelope" style="color: white;"></i></a>
</span>
<span>
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="Whatsapp" href="https://wa.me/?text={!! url('post/'.$data->slug) !!}" data-original-title="" style="background-color: #12af0a;"><i class="fa fa-phone" style="color: white;"></i></a>
</span>
<span class="last">
<a data-toggle="tooltip" data-placement="bottom" target="_blank" title="" href="https://telegram.me/share/url?url={!! url('post/'.$data->slug) !!}&amp;text={!! url($data->rZh->title) !!}" data-original-title="Telegram" style="background-color: #2ca5e0;"><i class="fa fa-location-arrow" style="color: white;"></i></a>
</span>
</div>
@endif @endif
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment