feat(view): add view code