Could we create these spans with javascript too so that we just need a simple component to get the loading spinner working? I think that would make things more maintainable. These 3 empty spans are repeated in 3 places just in this file.