-
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.
Add Pug to project, plus some work on frontend.
- Loading branch information
1 parent
ad9ba6e
commit cb32598
Showing
9 changed files
with
212 additions
and
170 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
|
||
.title { | ||
font-size: 24px; | ||
font-weight: 600; | ||
text-transform: uppercase; | ||
} | ||
|
||
.sub-title { | ||
font-size: 18px; | ||
font-weight: 600; | ||
} |
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,50 @@ | ||
|
||
|
||
.user_header { | ||
border-bottom: 2px solid black; | ||
padding-bottom: 25px; | ||
|
||
.user_image { | ||
max-width: 100px; | ||
display: block; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
} | ||
|
||
.user_recipes { | ||
padding-top: 25px; | ||
|
||
|
||
} | ||
|
||
.user_recipe { | ||
padding: 10px; | ||
padding-right: 25px; | ||
border-bottom: 1px solid whitesmoke; | ||
|
||
.rating { | ||
font-weight: 600; | ||
font-size: 24px; | ||
color: $primary; | ||
text-align: right; | ||
} | ||
|
||
.user_chili_image { | ||
display: block; | ||
margin-left: auto; | ||
margin-right: auto; | ||
max-width: 150px; | ||
} | ||
|
||
p { | ||
// max-width: 400px; | ||
} | ||
|
||
.user_recipe_buttons { | ||
position: absolute; | ||
bottom: 0; | ||
right: 0; | ||
} | ||
|
||
} |
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 was deleted.
Oops, something went wrong.
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,30 @@ | ||
@extends('layouts.app') | ||
|
||
@section('content') | ||
|
||
.container | ||
.user_header | ||
.row | ||
.col-3 | ||
img(src='user.png' class="user_image") | ||
.col-9 | ||
.title USER NAME | ||
.sub-title x Recipes | ||
.user_recipes | ||
.user_recipe | ||
.row | ||
.col-3 | ||
img(src='userchili.jpg' class="user_chili_image") | ||
.col-6 | ||
.title NAME OF THE CHILI | ||
p Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. | ||
|
||
.col-3 | ||
.rating 9.77/10 | ||
.user_recipe_buttons | ||
button(type="button" class="btn btn-link") Edit | ||
button(type="button" class="btn btn-link") Delete | ||
|
||
|
||
|
||
@endsection |