notion.astro 905 B

123456789101112131415161718192021222324252627
  1. ---
  2. import Item from './item.astro';
  3. ---
  4. <Item title="Notion Canvas" projectName="notion" layout={{
  5. desktop: { width: '50%', height: 'auto' }
  6. }}>
  7. <div
  8. id="text206"
  9. style="font-size: 22px; resize: none; padding: 10px; height:90%; overflow-y: hidden; padding-top: 0px; padding-bottom: 20px;"
  10. >
  11. <a href="https://github.com/S1monlol/notionCanvas"><h1 style="width: fit-content;"><i><u><b>Notion Canvas</b></u></i></h1></a>
  12. <h2>
  13. This project allows for integration between a Canvas calendar and a Notion database. It makes it easy to import assignments into your notion assignment database
  14. </h2>
  15. <video id="vid" controls="true" src="/demo.mov" style="object-fit: fill; display: block;"></video>
  16. </div>
  17. </Item>
  18. <script>
  19. // if document is phone size, hide video
  20. if (window.innerWidth < 900) {
  21. document.getElementById("vid").style.display = "none";
  22. }
  23. </script>