added design code to all pages