How did you get it to take a 30 seconds photo? I read this:
Use Night mode on your iPhone - Apple Support
On supported iPhone models, you can use Night mode to capture photos when the camera detects a low-light environment.
support.apple.com
Great photo!