-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a85461
commit 65fc476
Showing
27 changed files
with
272 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<?php | ||
|
||
namespace App\Policies; | ||
|
||
use App\User; | ||
use App\Profile; | ||
use Illuminate\Auth\Access\HandlesAuthorization; | ||
|
||
class ProfilePolicy | ||
{ | ||
use HandlesAuthorization; | ||
|
||
/** | ||
* Determine whether the user can view any profiles. | ||
* | ||
* @param \App\User $user | ||
* @return mixed | ||
*/ | ||
public function viewAny(User $user) | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Determine whether the user can view the profile. | ||
* | ||
* @param \App\User $user | ||
* @param \App\Profile $profile | ||
* @return mixed | ||
*/ | ||
public function view(User $user, Profile $profile) | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Determine whether the user can create profiles. | ||
* | ||
* @param \App\User $user | ||
* @return mixed | ||
*/ | ||
public function create(User $user) | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Determine whether the user can update the profile. | ||
* | ||
* @param \App\User $user | ||
* @param \App\Profile $profile | ||
* @return mixed | ||
*/ | ||
public function update(User $user, Profile $profile) | ||
{ | ||
return $user->id == $profile->user_id; | ||
} | ||
/** | ||
* Determine whether the user can delete the profile. | ||
* | ||
* @param \App\User $user | ||
* @param \App\Profile $profile | ||
* @return mixed | ||
*/ | ||
public function delete(User $user, Profile $profile) | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Determine whether the user can restore the profile. | ||
* | ||
* @param \App\User $user | ||
* @param \App\Profile $profile | ||
* @return mixed | ||
*/ | ||
public function restore(User $user, Profile $profile) | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Determine whether the user can permanently delete the profile. | ||
* | ||
* @param \App\User $user | ||
* @param \App\Profile $profile | ||
* @return mixed | ||
*/ | ||
public function forceDelete(User $user, Profile $profile) | ||
{ | ||
// | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
|
||
|
||
.homepage { | ||
background-image: url("mychili.jpg"); | ||
|
||
.primary_button { | ||
width: 350px; | ||
height: 80px; | ||
font-size: 32px; | ||
line-height: 64px; | ||
weight: 600; | ||
text-align: center; | ||
} | ||
|
||
.homepage_jumbotron_wrapper{ | ||
position:relative; | ||
height:100%; | ||
text-align: center; | ||
|
||
.homepage_jumbotron { | ||
position: absolute; | ||
top: 20%; | ||
left: 50%; | ||
transform: translateX(-50%); | ||
} | ||
|
||
img { | ||
width: 800px; | ||
display: block; | ||
margin-right: auto; | ||
margin-left: auto; | ||
margin-bottom: 50px; | ||
|
||
} | ||
|
||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,5 @@ $cyan: #6cb2eb; | |
|
||
// THEME | ||
$primary: #cf0c0c; | ||
|
||
$navbar-height: 80px !important; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.