Nicola Sturgeon has resigned as Scotland’s first minister after 8 years in office