Front-end code for deputy project