refactor(index): rewrite front-end display