Will you help me connect the remaining wires together so that the switches work correctly?
You can add extra wire if needed.
The important thing is to keep the switches the way they are.
In this situation, the white is acting as the hot and providing power to both switches via the pigtail.
Where does ceiling fan get neutral and ground?
The goal is for switch 1 to control the light fixture, and switch 2 to control the ceiling fan.