layouting index and work page