@extends('layouts.default')


@section('content')
<main class="container events">
	<hr />
	<h1>{{$day}}</h1>
	<hr />

	<div class="row">
		@foreach($events as $event)
			<div class="col s12 m6 l4">
				<div class="card hoverable">
					@if( $event->image )
						<div class="card-image">
							<a href="https://www.facebook.com/events/{{$event->facebook_id}}">
								<img src="{{$event->image}}">
							</a>
						</div>
					@endif
					<div class="card-content">
						<h4>{{$event->title}}</h5>
						<h5>{{$event->society()->first()->name}} Society</h5>
						<p>{{date('H:i, l j F', strtotime($event->time))}}@if($event->location), <strong>{{$event->location}}</strong>@endif</p>

						@if($event->description)
							<p>{{$event->description}}</p>
						@endif
					</div>
					<div class="card-action">
					  <a href="https://www.facebook.com/events/{{$event->facebook_id}}">
					  	Facebook Event
					  </a>
					 <a href="{{URL::to('/event/' . $event->id . '/calendar')}}" class="calendar-button">
					  	Add To Calendar
					 </a>

					</div>
				</div>
			</div>
		@endforeach
	</div>
</main>
@endsection
@extends('layouts.default')


@section('content')
<main class="container events">
	<hr />
	<h1>{{$day}}</h1>
	<hr />

	<div class="row">
		@foreach($events as $event)
			<div class="col s12 m6 l4">
				<div class="card">
					@if( $event->image )
						<div class="card-image">
							<a href="https://www.facebook.com/events/{{$event->facebook_id}}">
								<img src="{{$event->image}}">
							</a>
						</div>
					@endif
					<div class="card-content">
						<h4>{{$event->title}}</h5>
						<h5>{{$event->society()->first()->name}} Society</h5>
						<p>{{date('H:i, l j F', strtotime($event->time))}}@if($event->location), <strong>{{$event->location}}</strong>@endif</p>

						@if($event->description)
							<p>{{$event->description}}</p>
						@endif
					</div>
					<div class="card-action">
					  <a href="https://www.facebook.com/events/{{$event->facebook_id}}">
					  	Facebook Event
					  </a>
					 <a href="{{URL::to('/event/' . $event->id . '/calendar')}}" class="calendar-button">
					  	Add To Calendar
					 </a>

					</div>
				</div>
			</div>
		@endforeach
	</div>
</main>
@endsection
--- 
+++ 
@@ -10,7 +10,7 @@
 	<div class="row">
 		@foreach($events as $event)
 			<div class="col s12 m6 l4">
-				<div class="card">
+				<div class="card hoverable">
 					@if( $event->image )
 						<div class="card-image">
 							<a href="https://www.facebook.com/events/{{$event->facebook_id}}">
Make cards hoverable for dat ux
