adjust homepage layout
add compose function