added code examples to portfolio page