Поэтому мне нужно как-то проверить, есть ли я на домашней странице и что-то делать, а на других страницах этого не делают. Также этот компонент импортируется на всех страницах.
Как я могу обнаружить на этом компоненте, если я на главной странице???
Спасибо