Skip to content

Commit

Permalink
refactor: update README and modify testimonials section in HTML; comm…
Browse files Browse the repository at this point in the history
…ent out modal event listeners
  • Loading branch information
raiden-e committed Feb 13, 2025
1 parent 23f0404 commit 7f8655b
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 32 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Raiden Erdmann

This website serves as a virtual business card (vCard) for Raiden Erdmann, showcasing professional information and contact details.

Setting up Windows? [Notion](https://raiden-e.notion.site/Workflow-Windows-809c83f08feb464aab2884717f6ec9ce?pvs=4)
4 changes: 2 additions & 2 deletions assets/_sections/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ <h4 class="h4 service-item-title">Sales</h4>
<p class="service-item-text">
If psychology, business and marketing come together, you get ✨SALES✨.
Really, all these fields are interesting by themselves.
Combined, you get a very complex, though very //interesting// field of work.
Combined, you get a very complex, though very <em>interesting</em> field of work.
</p>
</div>
</li>
</ul>

</section>

<!-- {% include testimonials.html %} -->
{% comment %}{% include testimonials.html %}{% endcomment %}
</article>
48 changes: 22 additions & 26 deletions assets/_sections/testimonials.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,38 +85,34 @@ <h4 class="h4 testimonials-item-title" data-testimonials-title>Pernilla Cordes</
</ul>

</section>
<!--
- testimonials modal
-->

<div class="modal-container" data-modal-container>
<div class="overlay" data-overlay></div>
<section class="testimonials-modal">
<button class="modal-close-btn" data-modal-close-btn>
<ion-icon name="close-outline"></ion-icon>
</button>

<div class="modal-img-wrapper">
<figure class="modal-avatar-box">

<div class="modal-container" data-modal-container>
<div class="overlay" data-overlay></div>
<section class="testimonials-modal">
<button class="modal-close-btn" data-modal-close-btn>
<ion-icon name="close-outline"></ion-icon>
</button>

<div class="modal-img-wrapper">
<figure class="modal-avatar-box">
<img src="./assets/images/avatars/brandon-spann.png" alt="Jon Doe" width="80" data-modal-img>
</figure>
</figure>

<img src="./assets/images/icon-quote.svg" alt="quote icon">
</div>
<img src="./assets/images/icon-quote.svg" alt="quote icon">
</div>

<div class="modal-content">
<div class="modal-content">

<h4 class="h3 modal-title" data-modal-title>Jon Doe</h4>
<time datetime="2021-06-14">14 June, 2021</time>
<div data-modal-text>
<h4 class="h3 modal-title" data-modal-title>Jon Doe</h4>
<time datetime="2021-06-14">14 June, 2021</time>
<div data-modal-text>
<p>
Raiden ist ziemlich cool
Raiden ist ziemlich cool
</p>
</div>

</div>

</section>

</div>
</article>

</section>

</div>
4 changes: 2 additions & 2 deletions assets/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ for (let i = 0; i < testimonialsItem.length; i++) {
}

// add click event to modal close button
modalCloseBtn.addEventListener("click", testimonialsModalFunc);
overlay.addEventListener("click", testimonialsModalFunc);
// modalCloseBtn.addEventListener("click", testimonialsModalFunc);
// overlay.addEventListener("click", testimonialsModalFunc);



Expand Down

0 comments on commit 7f8655b

Please sign in to comment.