Notion Widget: Minimal Greetings

Life Preview
Embed URL

Add this widget to Notion

You can simply copy the embed link above and paste it in your Notion page and click “Create Embed”.
However, I recommend you follow this tutorial and create your own link. This way you can customize your widget and make sure that you’ll still have it even if I changed it or deleted it.

Customize it!

You can add your own name by modifying this part of the code and adding your name between the quotes

function dispalyGreetings(today){
        hrs = today.getHours();
        name="ADD YOUR NAME HERE"
        if (hrs < 12)
            greet = 'Good Morning  '+name;
        else if (hrs >= 12 && hrs <= 17)
            greet = 'Good Afternoon '+name;
        else if (hrs >= 17 && hrs <= 24)
            greet = 'Good Evening  '+name;
        document.getElementById('greet').innerHTML = greet;

    }