Skip to content
Permalink
Browse files

Add demo.md

  • Loading branch information...
ziishaned committed Mar 16, 2017
1 parent 7ce3a22 commit bb6ebc2814a3031e3f11e6921e2f2189cc3cf3e6
@@ -63,17 +63,17 @@ public static function boot()
{
parent::boot();
static::created(function($page) {
(new Page)->notify(new CreatePageNotification($page));
});
// static::created(function($page) {
// (new Page)->notify(new CreatePageNotification($page));
// });
static::updated(function($page) {
(new Page)->notify(new UpdatePageNotification($page));
});
// static::updated(function($page) {
// (new Page)->notify(new UpdatePageNotification($page));
// });
static::deleting(function($page) {
(new Page)->notify(new DeletePageNotification($page));
});
// static::deleting(function($page) {
// (new Page)->notify(new DeletePageNotification($page));
// });
}
public function comments()
@@ -182,6 +182,7 @@
Cviebrock\EloquentSluggable\ServiceProvider::class,
Baum\Providers\BaumServiceProvider::class,
Intervention\Image\ImageServiceProvider::class
],
/*
20 demo.md
@@ -0,0 +1,20 @@
![Imgur](http://i.imgur.com/o9VcRdQ.png)
![Imgur](http://i.imgur.com/Bn0utms.png)
![Imgur](http://i.imgur.com/GI33qAi.png)
![Imgur](http://i.imgur.com/y0Zaq9h.png)
![Imgur](http://i.imgur.com/SbzPu8I.png)
![Imgur](http://i.imgur.com/SbzPu8I.png)
![Imgur](http://i.imgur.com/X4tOiqL.png)
![Imgur](http://i.imgur.com/kgkcYPj.png)
![Imgur](http://i.imgur.com/hjKmHXV.png)
![Imgur](http://i.imgur.com/U2UAKb5.png)
![Imgur](http://i.imgur.com/MXbdBp0.png)
![Imgur](http://i.imgur.com/FbxEEG5.png)
![Imgur](http://i.imgur.com/hjKmHXV.png)
![Imgur](http://i.imgur.com/x1ZXDhh.png)
![Imgur](http://i.imgur.com/ksNCp0Q.png)
![Imgur](http://i.imgur.com/v4XHqTp.png)
![Imgur](http://i.imgur.com/bbMUN2K.png)
![Imgur](http://i.imgur.com/7OVAHZd.png)
![Imgur](http://i.imgur.com/sY3O6Lf.png)
![Imgur](http://i.imgur.com/Cbftnth.png)
@@ -34,7 +34,7 @@
<div class="clearfix"></div>
</nav>
</div>
<div class="formated-wiki-description">
<div class="markdown-body">
{!! $page->description !!}
</div>
</div>
@@ -24,7 +24,7 @@
<div class="media">
<div class="pull-left profile-image-con">
@if(!empty($comment->user->profile_image))
<img class="media-object img-rounded profile-image" src="/img/{{ $comment->user->profile_image }}" alt="Image" width="44" height="44">
<img class="media-object img-rounded profile-image" src="/img/avatars/{{ $comment->user->profile_image }}" alt="Image" width="44" height="44">
@else
<img class="media-object img-rounded profile-image" src="/img/no-image.png" alt="Image" width="44" height="44">
@endif
@@ -3,7 +3,11 @@
@foreach($activities as $activity)
<div class="media event">
<a class="pull-left event-user-image" href="{{ route('users.show', [$team->slug, $activity->user->slug]) }}">
<img class="media-object" style="border-radius: 3px;" src="/img/no-image.png" width="42" height="42" alt="Image">
@if(!empty($user->profile_image))
<img class="media-object" style="border-radius: 3px;" src="/img/avatars/{{ $user->profile_image }}" width="42" height="42" alt="Image">
@else
<img class="media-object" style="border-radius: 3px;" src="/img/no-image.png" width="42" height="42" alt="Image">
@endif
</a>
<div class="media-body">
<div class="event-top">
@@ -7,7 +7,11 @@
<div class="row no-container">
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3 text-center">
<div class="user-image">
<img src="/img/no-image.png" width="180" height="180" style="border-radius: 3px;">
@if(!empty($user->profile_image))
<img src="/img/avatars/{{ $user->profile_image }}" alt="Image" width="180" height="180" style="border-radius: 3px;">
@else
<img src="/img/no-image.png" alt="Image" width="180" height="180" style="border-radius: 3px;">
@endif
</div>
<div class="user-detail">
<h1 class="header">John Doe</h1>

0 comments on commit bb6ebc2

Please sign in to comment.
You can’t perform that action at this time.