As New Zealand mourns the victims of Friday's shootings, people have shared messages of solidarity and hope.

An imam at the Linwood mosque, where the second attack took place, told reporters: "We have not lost our confidence."

Fifty people were killed in the rampage. The main suspect of the killings has appeared in court.