---
import Win98Window from "./win98window.astro";
---

<Win98Window
  title="Top Languages"
  layout={{
    mobile:  { left: '2%', top: '5%', width: '96%', height: 'auto' },
    desktop: { left: "60px", top: "60px", width: "400px", height: '350px' }
  }}
>
  <div style="padding: 10px;">
    <iframe
      src="https://github-readme-stats.vercel.app/api/top-langs/?username=S1monlol&theme=github_dark"
      style="width: 100%; height: 300px; border: none; image-rendering: pixelated; image-rendering: -moz-crisp-edges; image-rendering: crisp-edges;"
      frameborder="0"
    ></iframe>
  </div>
</Win98Window>
