Skip to content

Commit

Permalink
Added youtube video previews to project thumbnail
Browse files Browse the repository at this point in the history
  • Loading branch information
jahir-raihan committed Dec 4, 2023
1 parent ece3892 commit 83d5251
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
2 changes: 2 additions & 0 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,8 @@ e {
.iframe-container {
width: 300px;
height: 100%;
position: relative;
z-index: 5;
}

.msg-pop-up {
Expand Down
2 changes: 1 addition & 1 deletion css/index.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion css/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,8 @@ e{
.iframe-container{
width:300px;
height:100%;
position: relative;
z-index:5;
}

// Message section
Expand Down Expand Up @@ -932,7 +934,7 @@ example{

.iframe-container{
width:100%;

}

.side-projects{
Expand Down
12 changes: 9 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@

<div class="title">

<h1 title="Profession">Jahir Raihan <span>- BackEnd Developer</span></h1>
<h1 title="Profession">Jahir Raihan <span>- Software Engineer</span></h1>

</div>

Expand Down Expand Up @@ -192,7 +192,9 @@ <h1 title="Profession">Jahir Raihan <span>- BackEnd Developer</span></h1>
<div class="experience-project">

<div class="project-or-company-image">
<img src="./img/calendar-generator.png" alt="Calendar Generator">
<div class="iframe-container">
<iframe class="iframe" style="width:100%; height:100%" src="https://www.youtube.com/embed/S_xDM-TWJaA?si=tGuc-VvPyoG-b1nR" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
</div>

<div class="project-or-company-work-details">
Expand All @@ -218,6 +220,7 @@ <h1 title="Profession">Jahir Raihan <span>- BackEnd Developer</span></h1>
<div class="iframe-container">
<iframe class="iframe" style="width:100%; height:100%" src="https://www.youtube.com/embed/JyzB11u2Ros?start=275&mute=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

</div>

<div class="project-or-company-work-details">
Expand All @@ -240,7 +243,10 @@ <h1 title="Profession">Jahir Raihan <span>- BackEnd Developer</span></h1>
<div class="experience-project">

<div class="project-or-company-image">
<img src="./img/ecommerce_site.png" alt="">

<div class="iframe-container">
<iframe class="iframe" style="width:100%; height:100%" src="https://www.youtube.com/embed/ZWOOBqdftT0?si=mfJXgpF-YvbQVFVb" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
</div>

<div class="project-or-company-work-details">
Expand Down

0 comments on commit 83d5251

Please sign in to comment.