To leave a clan, please click on the wheel icon on the top right (it should be between the letter "i" and a question mark).
You can click "Leave Clan" to leave the clan.