add viewpage component
add palette component