layout frontend