add styling for the download badge
add conditional download link feature
clean up use ternary op syntax