When you are designing an UI, you can use HTML tags function of shiny to write the html part. Use shortcut like h1 or p, or use tags$h1 and other inside thetags element.
If you replace your textOuput part with that, you can write your UI.
I was thinking perhaps there is a better, cleaner way of doing it. Like having some sort of .txt or .html ( one file per tabPanel like about.txt, people.txt) or whatever on the disk that R can read it off the disk, rather than typing a big chuck of text in the tabPanel.
Also, I am more than half way through the articles about UI.
Yes you can do that! You can load HTML file , a HTML template to complete, a markdown file to render as HTML , or surely store a shiny tag list in a rds to load when needed.
Don’t use text as you won’t be able to easily transform to HTML and apply css on it.