add showreel

This commit is contained in:
andreyflat 2025-06-02 13:17:10 +08:00
parent 447a1eb071
commit e2c88001ec
2 changed files with 31 additions and 0 deletions

View file

@ -18,6 +18,20 @@
<p>I create visual effects and interactive 3D experiences using Houdini and Rust/Bevy.</p>
</section>
<section>
<h2>Showreel</h2>
<div class="video-container">
<iframe
src="https://www.youtube.com/embed/GwuMJhSXcj0"
title="Showreel by Andrey Flat"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen>
</iframe>
</div>
</section>
<section>
<h2>Contact</h2>
<p>Email: andrey.flat.post@gmail.com</p>

View file

@ -29,3 +29,20 @@ footer {
color: #888;
font-size: 0.9em;
}
.video-container {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
height: 0;
overflow: hidden;
max-width: 100%;
margin-bottom: 2em;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}