Create mixin for index panels