[add] frontend layout and template