added code previews to frontpage