Every line of code has been audited by all security researchers. The implementation is language agnostic and extremely slim (0 LOC). It runs all the JavaScript I want (none).

  • voxel@sopuli.xyz
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    1 year ago

    dropout menus are actually pretty easy to do without js

    all you need is focus-within and friends.

    like i recently made one on my personal project (which fully works without js, which is only used for realtime chat functionality and some additional effects, like loading icons in forms and stuff)

    live deployment: https://fortum.pp.ua/
    recording: https://streamable.com/4ba0gg

    • newIdentity@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      That’s pretty impressive. I tried doing something similar a few months ago but couldn’t find anything. Are you using a framework or how do you render the site on the server?

      • voxel@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        about the menu - it’s just based on focus-within. no need for any terrible hacks.
        about the backend - it’s just some basic templates (tera+rocket)

    • shasta@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Pretty cool. Btw on your 404 page, the footer is in the center of my screen (vertical center). I am on android using Firefox. I hit the 404 error trying out the search bar. Just thought you might like to know.