If your app is really small, keeping the text in the pages might be ok, but as soon as the app and the team behind it grows, this might become a problem. Things like handing of text to a professional writer, translations, proofreading by a lawyer will be bothersome when text is mixed with your code
Storing the texts in simple text files should be just fine for most applications. The only problem here could be when part of the application actually change the text. In these cases storing them in a database might be a good idea.
Storing text in database is overkill most of the time. A database mainly offers the benefit of ACID transactions and indexes on structured data. But if your texts don't change through the application the ACID properties aren't of much use. And if these are just text pieces to be used in the application, you'll be able to specify the name of the piece/file directly, so indexing as done by the data doesn't do any good either. But a database has also costs: Large volumes of data might make the cache inefficient for the data which really belongs in the database. Transaction handling causes a performance hit. So if you don't have to, you shouldn't use a database.