velsa / notehost

Free Hosting for Notion Sites!
MIT License
87 stars 8 forks source link

Optimal way to add footer #15

Closed zanhk closed 6 months ago

zanhk commented 6 months ago

This should be a discussion but discussions are not enabled on this repo.

Right now I'm appending the footer like that

// TODO: improve, right now I don't know if the notion app has been loaded
    setInterval(() => {
        let targetElement = document.querySelector(".notion-scroller.vertical");
        targetElement?.appendChild(footer);
    }, 1500);

https://majestico.dev/

that's obviusly not the right way to do so and it doesn't behave correctly all the time, how do you guys handle the footer?

Thanks

velsa commented 6 months ago

I've enabled discussions.

Hope this will help with your question :)

zanhk commented 6 months ago

Thanks, moved to discussions https://github.com/velsa/notehost/discussions/19