add frontend base layout