frontend layout