Skip to content

Commit

Permalink
Add Js for popup
Browse files Browse the repository at this point in the history
  • Loading branch information
Talha-Hanif5666 committed Jul 10, 2023
1 parent 745f78c commit 0e97f85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ worksectiondesk.innerHTML = `

// Create generic card section for desktop
const deskworkdetailsSection = (content) => `
<div class="container-popup-desk">
<div class="pop-up-header-desk">
<h2>${deskcardDetails[content].title}</h2>
<span class="close-desk" id="close-desk-${content}">&times;</span>
Expand All @@ -435,7 +436,7 @@ const deskworkdetailsSection = (content) => `
<div class="popup-buttons-desk">
<a href="${deskcardDetails[content].live}" class="see-live">See Live <img src="./Images/mob-popup.png"></a>
<a href="${deskcardDetails[content].source}" class="see-source">See Source <img src="./Images/pop-icon-github.png"></a>
</div>
</div></div>
`;

const deskDetailButtons = document.querySelectorAll('.deskbutton');
Expand Down

0 comments on commit 0e97f85

Please sign in to comment.