refactor: extracted sidebar from interior page