Skip to content

Commit

Permalink
Merge pull request #1252 from abhivyakti2/feature/expand-sample-image
Browse files Browse the repository at this point in the history
Added expand button for sample images
  • Loading branch information
SurajPratap10 authored Oct 15, 2024
2 parents eeef049 + 566b656 commit 7b28fc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions views/home.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<h1>Horse</h1>
<p>Photograph of an astronaut riding a horse.</p>
<button class="btn" aria-label="Download" onclick="downloadImage('expImg1')"> Download</button>
<button class="btn" aria-label="Expand" onclick="openModal('1.webp')">Expand</button>
</div>
</div>
<div class="cardEx float-in" style="border-radius: 2rem;">
Expand All @@ -53,6 +54,7 @@
<h1>Capybara</h1>
<p>An oil painting of a capybara wearing a crown.</p>
<button class="btn" aria-label="Download" onclick="downloadImage('expImg2')">Download</button>
<button class="btn" aria-label="Expand" onclick="openModal('2.webp')">Expand</button>
</div>
</div>
<div class="cardEx float-in" style="border-radius: 2rem;">
Expand All @@ -61,6 +63,7 @@
<h1>Sports Car</h1>
<p>Synthwave sports car on a port road.</p>
<button class="btn" aria-label="Download" onclick="downloadImage('expImg3')"> Download </button>
<button class="btn" aria-label="Expand" onclick="openModal('3.webp')">Expand</button>
</div>
</div>
<div class="cardEx float-in" style="border-radius: 2rem;">
Expand All @@ -69,6 +72,7 @@
<h1>Astronaut</h1>
<p>An astronaut lounging in a resort in space, vaporwave.</p>
<button class="btn" aria-label="Download" onclick="downloadImage('expImg4')"> Download</button>
<button class="btn" aria-label="Expand" onclick="openModal('4.webp')">Expand</button>
</div>
</div>
</div>
Expand Down

0 comments on commit 7b28fc1

Please sign in to comment.