Skip to content

Commit

Permalink
Fix: improved template and corrected command names
Browse files Browse the repository at this point in the history
  • Loading branch information
ismael.velasco committed Feb 25, 2021
1 parent ac2eb10 commit e3873d9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 19 deletions.
23 changes: 7 additions & 16 deletions resources/views/publishable/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,15 @@
@foreach($posts as $post)

<article class="flex flex-col shadow my-4">
{{-- <!-- Article Image -->--}}
{{-- <a href="#" class="hover:opacity-75">--}}
{{-- <img src="{{ $post->featured_image }}">--}}
{{-- </a>--}}
<div class="bg-black-900 flex flex-col justify-start p-6">
<a href="#" class="text-blue-700 text-sm font-bold uppercase pb-4">{{ $post->tag }}</a>
<a href="/blog/{{ $post->slug }}"
class="text-green-500 text-3xl font-bold hover:text-pink-500 pb-3"> {{ $post->title }} </a>
<p href="#" class="text-sm pb-8">
By <a href="#" class="font-semibold hover:text-gray-800">{{ $author->name }}</a>, Published
on {{ $post->publish_date }}
<!-- Article Image -->
<a href="#" class="hover:opacity-75 pb-2">
<img src="{{ $post->featured_image }}">
</a>
<p href="#" class="text-purple-500 text-xs pb-5">
By <a href="#" class="font-semibold hover:text-gray-800">{{ $author->name }}, published {{ date('d-m-Y', strtotime($post->publish_date)) }}</a>
</p>
<a href="#" class="text-red-600 pb-3">{!! $post->body !!}</a>
<a href="#" class="uppercase text-yellow-600 hover:text-purple-700">Continue Reading <i
Expand All @@ -102,16 +100,9 @@ class="h-10 w-10 font-semibold text-red-500 hover:text-red-800 text-sm flex item
</div>

<div class="w-full bg-black shadow flex flex-col my-4 p-6">
<p class="text-xl text-red-600 font-semibold pb-5">Topics</p>
<div class="grid grid-cols-2 gap-1">
@foreach($tags as $tag)
<span class="text-green-500"> {{$tag->name}} </span>
<br>
@endforeach
</div>
<a href="#"
class="w-full bg-blue-800 text-white font-bold text-sm uppercase rounded hover:bg-blue-700 flex items-center justify-center px-2 py-3 mt-6">
<i class="fab fa-twitter mr-2"></i> Follow @ {{$author->slug}}
<i class="fab fa-twitter mr-2"></i> Follow @ {{$author->name}}
</a>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/Console/ControllerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ControllerCommand extends GeneratorCommand
*
* @var string
*/
protected $name = 'wink:controller';
protected $name = 'rapid:controller';

/**
* The name and signature of the console command.
Expand Down
2 changes: 1 addition & 1 deletion src/Console/RouteCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class RouteCommand extends Command
*
* @var string
*/
protected $name = 'wink:route';
protected $name = 'rapid:route';

/**
* The name and signature of the console command.
Expand Down
2 changes: 1 addition & 1 deletion src/Console/ViewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ViewCommand extends Command
*
* @var string
*/
protected $name = 'wink:view';
protected $name = 'rapid:view';

/**
* The name and signature of the console command.
Expand Down

0 comments on commit e3873d9

Please sign in to comment.