view mrjunejune/src/index.html @ 125:f236c895604e

[MrJuneJune] Added web socket for chat to this.
author June Park <parkjune1995@gmail.com>
date Thu, 08 Jan 2026 08:46:49 -0800
parents 3468e2fe8d88
children a6d8d32a0261
line wrap: on
line source

<!doctype html>
<html lang="en">
  <head>
    <title> MrJuneJune </title>
    {{//parts/base_head.html}}
    <style>
      .epi-photo {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
      }

      .epi-photo img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
      }

      @media (max-width: 720px) {
        .epi-photo {
          margin-bottom: 1.5em;
        }

        ul {
          padding-left: 1.5em;
        }

        li {
          margin-bottom: 0.75em;
        }
      }
    </style>
  </head>
  <body>
     {{/parts/header.html}}
     <main>
       <p>Hi, my name is Juntae, but most people call me June or MrJuneJune.</p>

       <p>I am a software engineer with experience spanning a wide range of companies, from small startups to FAANGs....</p>
       <p>I know it is lame to work for them, but I have a dog so I need to put foods on my table.</p>

       <div class="epi-photo">
         <img id="currentPhoto" style="opacity: 0; transition: opacity 0.2s;" />
       </div>

       <p>During my free time, I like to write codes mostly in C, Python, and Typescript; all in mono repo styles using bazel. (I know that is mentally ill...)</p>
       <p>Feel free to check it out my bad code!</p>

       <h2>Links</h2>
       <ul>
         <li><a href="https://zenbu.babocoder.com/file/tip">Repository</a> - Check out my code</li>
         <li><a href="/blog">Blogs</a> - My thoughts / Experiments </li>
         <li><a href="/resume">Resume</a> - My professional experiences </li>
         <li><a href="/tools">Tools</a> - Things I made for myself </li>
       </ul> 
     </main>
     {{/parts/footer.html}}
  </body>
  <script>
    let arr = Array.from({ length: 18 }, (_, i) => i+1);
    function setRandomImages() {
      const randomIndex = Math.floor(Math.random() * arr.length);
      const pos = arr[randomIndex];
      currentPhoto.src = `/public/epi-photos/webp/${pos}.webp`;
      currentPhoto.onload = () => {
        currentPhoto.style.opacity = "1";
      };
      setTimeout(() => setRandomImages(), 1000);
    }
    setRandomImages();
  </script>
</html>