Skip to content

Commit

Permalink
tanker stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
makon57 committed Jun 30, 2021
1 parent 79b20e4 commit e912969
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
12 changes: 11 additions & 1 deletion public/stylesheets/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,22 @@ h1 {
grid-gap: 15px;
} */

.wrapper {
display: grid;
grid-template-columns: 20% 60% 20%;
grid-gap: 10px;
margin: 30px;
}

.test {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 10px;
margin: 30px;
max-width: 700;
}

a {
text-decoration: none;
}

img {
Expand Down
18 changes: 10 additions & 8 deletions views/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ block content
h1 MixTrail
div(class="search")
input(type="text" id="search-bar" class="search-bar" placeholder="Find your next trail!")
div(class="test")
each trail in trails
div(class="trail-div")
a(class='btn btn-primary' href=`/trail/${trail.id}` role='button')
div(id=`trail-${trail.id}` class='trail-list-item')
p(class="name") #{trail.name}, #{trail.state}
img(src=`./trails/trail-${trail.id}.jpg` alt=`${trail.name}` class=`trail-image-${trail.id}`)

div(class="wrapper")
div
div(class="test")
each trail in trails
div(class="trail-div")
a(class='btn btn-primary' href=`/trail/${trail.id}` role='button')
div(id=`trail-${trail.id}` class='trail-list-item')
p(class="name") #{trail.name}, #{trail.state}
img(src=`./trails/trail-${trail.id}.jpg` alt=`${trail.name}` class=`trail-image-${trail.id}`)
div
//- div
//- table(class='table table-striped table-hover')
//- thead(class='thead-dark')
Expand Down

0 comments on commit e912969

Please sign in to comment.