Sounds like something was physically damaged causing an oil leak of this magnitude. Do not drive the vehicle, have it towed to a repair facility for an inspection to avoid any or further damage.
RepairPal Certified shops can diagnose and repair your 2012 Hyundai Santa Fe. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.