Virus in subscribed calendar
So today I was browsing a website and accidentally clicked on an advertisement that created a pop up about creating an event on my calendar and I accidentally accepted it. Now it becomes a subscribed calendar which has links that direct to suspicious websites. I manage to delete it but I’m worried that it may have virus that will affect my phone. Can I know if such issues will install a virus on my phone. Thks
iPhone 6s