Skip to content

Commit

Permalink
FINAL
Browse files Browse the repository at this point in the history
  • Loading branch information
Areeba-Imran committed Feb 18, 2022
1 parent b714783 commit cb7bed9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
7 changes: 1 addition & 6 deletions views/event/details.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,14 @@
{{#with event}}
<div class="event-details-box">
<div class="join-event">
<<<<<<< HEAD
<img src="{{cloudinaryResize this.img "c_fill,w_500,h_400"}}" alt="Image of the {{title}} event">
=======
{{#if img}}
<img src="{{cloudinaryResize this.img "c_fill,w_500,h_400"}}" alt="Image of the {{title}} event">
{{/if}}
>>>>>>> 8d6ce98b3693b41f2cfb20d5334e070114146c8f
<div>
<p>⏰{{startDate}}, {{startTime}} - {{endTime}}</p>
<h1>{{title}}</h1>
<p>Created by {{creater.name}}</p>
<span>-By <a href="/profile/{{creater._id}}">{{creater.name}}</a></span>
<button type="submit" class="read-more-event">Join this event</button>
<p class="participant">{{participant}} people are going</p>
</div>
</div>

Expand Down
4 changes: 0 additions & 4 deletions views/user/profile.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

{{/with}}

{{#if recipe}}
<h4 class="text-center">Check out my recipes below!</h4>
<div class="recipes-collection-div">
{{#each recipe}}
Expand All @@ -26,9 +25,7 @@

{{/each}}
</div>
{{/if}}

{{#if events}}
<h4 class="text-center">Events Hosted</h4>
<div class="recipes-collection-div">
{{#each event}}
Expand All @@ -38,6 +35,5 @@
</div>
{{/each}}
</div>
{{/if}}

</div>

0 comments on commit cb7bed9

Please sign in to comment.